The Wiki for Tale 8 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "Template:Languages"

From A Wiki in the Desert
Jump to navigation Jump to search
m (Improved positionining of the Language bar on pages (page titles can now be clicked for things like copy/paste))
(Cleaned up the language bar code a bit)
Line 1: Line 1:
<INCLUDEONLY>{| style = 'position: relative; top: -4em; float: right; border: 1px solid black; border-spacing: 0'
+
<includeonly>{| class="language-bar"
 
|-
 
|-
| colspan = '0' style = 'height: 0.2em; background: #aaa; border-bottom: 1px solid #888' |
+
| colspan="0" class="top" |
 
|-
 
|-
| style="border-left: none;          padding: 0 1em" | [[{{{1|{{FULLPAGENAME}}}}}|English]]
+
| class="language english" | [[{{{1|{{FULLPAGENAME}}}}}|English]]
| style="border-left: 1px solid #888; padding: 0 1em" | {{LanguagesTest/Lang|fr|{{{1|}}}}}
+
| class="language"         | {{LanguagesTest/Lang|fr|{{{1|}}}}}
| style="border-left: 1px solid #888; padding: 0 1em" | {{LanguagesTest/Lang|hu|{{{1|}}}}}
+
| class="language"         | {{LanguagesTest/Lang|hu|{{{1|}}}}}
 
|-
 
|-
| colspan = '0' style = 'height: 0.2em; background: #aaa; border-top: 1px solid #888' |
+
| colspan="0" class="bottom" |
|}
+
|}</includeonly><noinclude>
<noinclude>
+
Usage:  
<!--
+
 
{{LanguagesTest/Lang|af|{{{1|}}}}}
+
<nowiki>{{Languages}}</nowiki>
{{LanguagesTest/Lang|ar|{{{1|}}}}}
 
{{LanguagesTest/Lang|az|{{{1|}}}}}
 
{{LanguagesTest/Lang|bcc|{{{1|}}}}}
 
{{LanguagesTest/Lang|bg|{{{1|}}}}}
 
{{LanguagesTest/Lang|br|{{{1|}}}}}
 
{{LanguagesTest/Lang|ca|{{{1|}}}}}
 
{{LanguagesTest/Lang|cs|{{{1|}}}}}
 
{{LanguagesTest/Lang|da|{{{1|}}}}}
 
{{LanguagesTest/Lang|de|{{{1|}}}}}
 
{{LanguagesTest/Lang|el|{{{1|}}}}}
 
{{LanguagesTest/Lang|es|{{{1|}}}}}
 
{{LanguagesTest/Lang|fa|{{{1|}}}}}
 
{{LanguagesTest/Lang|fi|{{{1|}}}}}
 
{{LanguagesTest/Lang|gl|{{{1|}}}}}
 
{{LanguagesTest/Lang|gu|{{{1|}}}}}
 
{{LanguagesTest/Lang|he|{{{1|}}}}}
 
{{LanguagesTest/Lang|id|{{{1|}}}}}
 
{{LanguagesTest/Lang|it|{{{1|}}}}}
 
{{LanguagesTest/Lang|ja|{{{1|}}}}}
 
{{LanguagesTest/Lang|ko|{{{1|}}}}}
 
{{LanguagesTest/Lang|ksh|{{{1|}}}}}
 
{{LanguagesTest/Lang|mr|{{{1|}}}}}
 
{{LanguagesTest/Lang|ms|{{{1|}}}}}
 
{{LanguagesTest/Lang|nl|{{{1|}}}}}
 
{{LanguagesTest/Lang|no|{{{1|}}}}}
 
{{LanguagesTest/Lang|oc|{{{1|}}}}}
 
{{LanguagesTest/Lang|pl|{{{1|}}}}}
 
{{LanguagesTest/Lang|pt|{{{1|}}}}}
 
{{LanguagesTest/Lang|ro|{{{1|}}}}}
 
{{LanguagesTest/Lang|ru|{{{1|}}}}}
 
{{LanguagesTest/Lang|si|{{{1|}}}}}
 
{{LanguagesTest/Lang|sq|{{{1|}}}}}
 
{{LanguagesTest/Lang|sr|{{{1|}}}}}
 
{{LanguagesTest/Lang|sv|{{{1|}}}}}
 
{{LanguagesTest/Lang|th|{{{1|}}}}}
 
{{LanguagesTest/Lang|tr|{{{1|}}}}}
 
{{LanguagesTest/Lang|uk|{{{1|}}}}}
 
{{LanguagesTest/Lang|vi|{{{1|}}}}}
 
{{LanguagesTest/Lang|yue|{{{1|}}}}}
 
{{LanguagesTest/Lang|zh|{{{1|}}}}}
 
{{LanguagesTest/Lang|zh-hans|{{{1|}}}}}
 
{{LanguagesTest/Lang|zh-hant|{{{1|}}}}}</INCLUDEONLY><NOINCLUDE>Usage:  
 
<NOWIKI>{{Languages}}</NOWIKI>
 
  
 
Use this on every page to add a Language Bar at the top of the page.
 
Use this on every page to add a Language Bar at the top of the page.
  
[[Category:Templates]] {{DEFAULTSORT:Languages}}  
+
[[Category:Templates]]
</NOINCLUDE>
+
{{DEFAULTSORT:Languages}}  
 +
</noinclude>

Revision as of 12:16, 12 January 2019

Usage:

{{Languages}}

Use this on every page to add a Language Bar at the top of the page.