Template:Toc: Difference between revisions
From The Official Visionaire Studio: Adventure Game Engine Wiki
mNo edit summary |
mNo edit summary |
||
| Line 42: | Line 42: | ||
{{i18n| <html><script> | {{i18n| <html><script> | ||
var array = [_(日本語), _(正體中文), _(한국어), _(Dansk), _(Deutsch), _( Español), _(Français), _(Italiano), _(Nederlands), _(Polski), _(Português), _(Svenska), _(Русский)]; | var array = [_(日本語), _(正體中文), _(한국어), _(Dansk), _(Deutsch), _( Español), _(Français), _(Italiano), _(Nederlands), _(Polski), _(Português), _(Svenska), _(Русский)]; | ||
string = | string = {{BASEPAGENAME}}; | ||
array.forEach(function( word ) { | array.forEach(function( word ) { | ||
string = string.replace( new RegExp( word, 'g' ), '' ); | string = string.replace( new RegExp( word, 'g' ), '' ); | ||
Revision as of 19:50, 30 October 2014
Generates a floating Table of contents menu in a fixed position on the left hand side of the screen.