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))
 
(4 intermediate revisions by the same user not shown)
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|}}}}}
 
 
|-
 
|-
| colspan = '0' style = 'height: 0.2em; background: #aaa; border-top: 1px solid #888' |
+
| colspan="0" class="bottom" |
|}
+
|}</includeonly><noinclude>
<noinclude>
+
{{Documentation}}
<!--
+
[[Category:Utility templates]]
{{LanguagesTest/Lang|af|{{{1|}}}}}
+
</noinclude>
{{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.
 
 
 
[[Category:Templates]] {{DEFAULTSORT:Languages}}
 
</NOINCLUDE>
 

Latest revision as of 02:35, 7 August 2019

Template documentation (for the above template, sometimes hidden or invisible)

{{Languages}} creates a Language bar that can be used to visit translated versions of a page. This template should be included at the top of every page.

Usage

{{Languages|1}}
Parameter 1
The first parameter should only be used on non-English pages. On those pages, this parameter should be set to the English title of the current page. All other formatting and linking is done by the template automatically.

Visit Template:Languages/doc to edit this text! (How does this work?)