Template:Text: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(remove param 3 detection)
(extend template to handle up to 3 languages (test))
Line 1: Line 1:
<b><big>{{{2|[[Image:{{{1}}}.png]] }}}{{{1}}} text</big></b><br>
{{switch|{{{1}}}
 
|case: 2=<b><big>[[Image:{{{2}}}.png]] {{{2}}} and [[Image:{{{3}}}.png]] {{{3}}} text</big></b><br><includeonly>[[Category:{{{2}}} texts|{{{9|{{PAGENAME}}}}}]][[Category:{{{3}}} texts|{{{9|{{PAGENAME}}}}}]]</includeonly>
<includeonly>[[Category:Texts-translations]][[Category:{{{1}}} texts|{{{9|{{PAGENAME}}}}}]]</includeonly><noinclude>
|case: 3=<b><big>[[Image:{{{2}}}.png]] {{{2}}}, [[Image:{{{3}}}.png]] {{{3}}} and [[Image:{{{4}}}.png]] {{{4}}} text</big></b><br><includeonly>[[Category:{{{2}}} texts|{{{9|{{PAGENAME}}}}}]][[Category:{{{3}}} texts|{{{9|{{PAGENAME}}}}}]][[Category:{{{4}}} 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>
{{prot-temp}}
{{prot-temp}}
[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 21:12, 13 June 2008

[[Image:{{{1}}}.png]] {{{1}}} text