Template:Text: Difference between revisions
Jump to navigation
Jump to search
Documentation
(extend template to handle up to 3 languages (test)) |
(documentation added) |
||
Line 4: | Line 4: | ||
|default=<b><big>{{{2|[[Image:{{{1}}}.png]] }}}{{{1}}} text</big></b><br><includeonly>[[Category:{{{1}}} texts|{{{9|{{PAGENAME}}}}}]]</includeonly> | |default=<b><big>{{{2|[[Image:{{{1}}}.png]] }}}{{{1}}} text</big></b><br><includeonly>[[Category:{{{1}}} texts|{{{9|{{PAGENAME}}}}}]]</includeonly> | ||
}}<includeonly>[[Category:Texts-translations]]</includeonly><noinclude> | }}<includeonly>[[Category:Texts-translations]]</includeonly><noinclude> | ||
{{prot-temp}} | {{prot-temp}}<br> | ||
[[Category:Templates|{{PAGENAME}}]]</noinclude> | <div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #3399ff; padding: 1em 1em 1em 1em; background-color:#ddffdd"> | ||
<center><big>'''Documentation'''</big></center> | |||
'''Accepted syntaxes for this template:'''<br> | |||
:<tt><nowiki>{{Text|</nowiki>''Language''}}</tt> | |||
:<tt><nowiki>{{Text|</nowiki>''Language''|''9=Messiah, The''}}</tt> | |||
<br> | |||
:<tt><nowiki>{{Text|</nowiki>''2''|''Language1''|''Language2''}}</tt> | |||
:<tt><nowiki>{{Text|</nowiki>''2''|''Language1''|''Language2''|''9=Messiah, The''}}</tt> | |||
<br> | |||
:<tt><nowiki>{{Text|</nowiki>''3''|''Language1''|''Language2''|''Language3''}}</tt> | |||
:<tt><nowiki>{{Text|</nowiki>''3''|''Language1''|''Language2''|''Language3''|''9=Messiah, The''}}</tt> | |||
<br> | |||
The sort key parameter '''"9=..."''' is always optional. | |||
In all cases the template also inserts the page in the corresponding [[:Category:Language texts|Language texts]] category for each language. | |||
</div>[[Category:Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 12:19, 27 July 2008
[[Image:{{{1}}}.png]] {{{1}}} text
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |
Accepted syntaxes for this template:
- {{Text|Language}}
- {{Text|Language|9=Messiah, The}}
- {{Text|2|Language1|Language2}}
- {{Text|2|Language1|Language2|9=Messiah, The}}
- {{Text|3|Language1|Language2|Language3}}
- {{Text|3|Language1|Language2|Language3|9=Messiah, The}}
The sort key parameter "9=..." is always optional.
In all cases the template also inserts the page in the corresponding Language texts category for each language.