Difference between revisions of "Template:Translation Notice"
Jump to navigation
Jump to search
Njosefbeck (talk | contribs) |
Njosefbeck (talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" style="text-align: center; margin-left: auto; margin-right: auto;" | <includeonly><div style="text-align: center;">'''Read this article in the following language(s):'''</div> | ||
{{ #if: {{{pt|}}} | | {| class="wikitable" style="text-align: center; margin-left: auto; margin-right: auto; margin-top:5px;" | ||
{{!}} | {{#if: {{{pt|}}} | | ||
{{!}} '''[[{{PAGENAME}}/pt|Português]]'''}} | |||
{{#if: {{{es|}}} | | |||
{{!}} '''[[{{PAGENAME}}/es|Español]]'''}} | |||
{{ #if: {{{es|}}} | | |||
{{!}} [[{{PAGENAME}}/es|Español]] }} | |||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
== Description == | |||
Use this template on any page that has corresponding translation sub-pages. The sub-pages will use the language code for that language (ex: Portuguese = pt, German = de, Spanish = es). | |||
== Usage == | |||
Add parameters using the language code. For example, if the page has a Portuguese translation, add a |pt=true parameter. If a page has a Spanish and Portuguese translation add both paramaters |pt=true |es=true. | |||
Currently the languages supported are Portuguese (pt), Spanish (es), and German (de). | |||
<pre> | |||
{{Translation Notice | {{Translation Notice | ||
|pt=true | |pt=true | ||
|es=true | |es=true | ||
}} | |||
</pre> | |||
== Example == | |||
{{Translation Notice | |||
|pt=true | |||
}} | }} | ||
[[Category:Templates|Translation Notice]] | [[Category:Templates|Translation Notice]] | ||
</noinclude> | </noinclude> |
Latest revision as of 17:45, 26 May 2018
Description
Use this template on any page that has corresponding translation sub-pages. The sub-pages will use the language code for that language (ex: Portuguese = pt, German = de, Spanish = es).
Usage
Add parameters using the language code. For example, if the page has a Portuguese translation, add a |pt=true parameter. If a page has a Spanish and Portuguese translation add both paramaters |pt=true |es=true.
Currently the languages supported are Portuguese (pt), Spanish (es), and German (de).
{{Translation Notice |pt=true |es=true }}
Example
Read this article in the following language(s):
Português |