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 (Pluralizing the "Template" category. Categories should be plural)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<INCLUDEONLY>{| style = 'margin: -4em 0 1em auto; 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|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}|English]]
+
| class="language english" | [[{{{1|{{FULLPAGENAME}}}}}|English]]
| style="border-left: 1px solid #888; padding: 0 1em" | {{LanguagesTest/Lang|de|{{{1|}}}}}
+
| class="language"         | {{LanguagesTest/Lang|fr|{{{1|}}}}}
| style="border-left: 1px solid #888; padding: 0 1em" | {{LanguagesTest/Lang|fr|{{{1|}}}}}
 
| style="border-left: 1px solid #888; padding: 0 1em" | {{LanguagesTest/Lang|hu|{{{1|}}}}}
 
| style="border-left: 1px solid #888; padding: 0 1em" | {{LanguagesTest/Lang|tr|{{{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|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|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?)