Template:Text: Difference between revisions
Jump to navigation
Jump to search
Documentation
mNo edit summary |
(removing test) |
||
Line 2: | Line 2: | ||
|case: 2=<b><big>{{flag|{{{2}}}|show}} and {{flag|{{{3}}}|show}} text</big></b><br><includeonly>{{#ifeq:{{{cat|{{{Cat|yes}}}}}}|no||[[Category:{{{2}}} texts]][[Category:{{{3}}} texts]][[Category:Macaronic texts|2 {{PAGENAME}}]]}}</includeonly> | |case: 2=<b><big>{{flag|{{{2}}}|show}} and {{flag|{{{3}}}|show}} text</big></b><br><includeonly>{{#ifeq:{{{cat|{{{Cat|yes}}}}}}|no||[[Category:{{{2}}} texts]][[Category:{{{3}}} texts]][[Category:Macaronic texts|2 {{PAGENAME}}]]}}</includeonly> | ||
|case: 3=<b><big>{{flag|{{{2}}}|show}}, {{flag|{{{3}}}|show}} and {{flag|{{{4}}}|show}} text</big></b><br><includeonly>{{#ifeq:{{{cat|{{{Cat|yes}}}}}}|no||[[Category:{{{2}}} texts]][[Category:{{{3}}} texts]][[Category:{{{4}}} texts]][[Category:Macaronic texts|3 {{PAGENAME}}]]}}</includeonly> | |case: 3=<b><big>{{flag|{{{2}}}|show}}, {{flag|{{{3}}}|show}} and {{flag|{{{4}}}|show}} text</big></b><br><includeonly>{{#ifeq:{{{cat|{{{Cat|yes}}}}}}|no||[[Category:{{{2}}} texts]][[Category:{{{3}}} texts]][[Category:{{{4}}} texts]][[Category:Macaronic texts|3 {{PAGENAME}}]]}}</includeonly> | ||
|default=<b><big>{{flag|{{{1}}}}} {{{2|}}} {{{1}}} {{{3|}}} text</big></b><br><includeonly>{{#ifeq:{{{cat|{{{Cat|yes}}}}}}|no||[[Category:{{{1}}} texts | |default=<b><big>{{flag|{{{1}}}}} {{{2|}}} {{{1}}} {{{3|}}} text</big></b><br><includeonly>{{#ifeq:{{{cat|{{{Cat|yes}}}}}}|no||[[Category:{{{1}}} texts]]}}</includeonly> | ||
}}<includeonly>{{#ifeq:{{{cat|{{{Cat|yes}}}}}}|no||[[Category:Texts]]}}</includeonly><noinclude> | }}<includeonly>{{#ifeq:{{{cat|{{{Cat|yes}}}}}}|no||[[Category:Texts]]}}</includeonly><noinclude> | ||
{{prot-temp}}<br> | {{prot-temp}}<br> |
Revision as of 14:18, 29 March 2013
{{{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|2|Language1|Language2}}
- {{Text|3|Language1|Language2|Language3}}
- {{Text|Language|cat=no}}
- {{Text|2|Language1|Language2|cat=no}}
- {{Text|3|Language1|Language2|Language3|cat=no}}
In the first three cases the template also inserts the page in the corresponding Language texts category for each language, as well as in Macaronic texts. In the second three case, the page is not categorized any any of the Language texts categories (one may also use Cat=no with the same effect). The default value cat=yes (or Cat=yes) need not be entered).
Examples:
- {{Text|2|Latin|German}}
displays as:
- Latin and German text
- {{Text|Quenya}}
(for which there is no corresponding language flag) displays as:
- Quenya text