Difference between revisions of "Template:Translation Notice"
Jump to navigation
Jump to search
Njosefbeck (talk | contribs) (Add usage) |
Njosefbeck (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly><div style="text-align: center;">'''Read this article in the following language(s):'''</div> | <includeonly><div style="text-align: center;">'''Read this article in the following language(s):'''</div> | ||
{| class="wikitable" style="text-align: center; margin-left: auto; margin-right: auto; margin-top:5px;" | {| class="wikitable" style="text-align: center; margin-left: auto; margin-right: auto; margin-top:5px;" | ||
{{ #if: {{{pt|}}} | | {{#if: {{{pt|}}} | | ||
{{!}} '''[[{{PAGENAME}}/pt|Português]]''' }} | {{!}} '''[[{{PAGENAME}}/pt|Português]]'''}} | ||
{{ #if: {{{es|}}} | | {{#if: {{{es|}}} | | ||
{{!}} '''[[{{PAGENAME}}/es|Español | {{!}} '''[[{{PAGENAME}}/es|Español]]'''}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
== Description == | == Description == | ||
Line 26: | Line 24: | ||
{{Translation Notice | {{Translation Notice | ||
|pt=true | |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 |