Template:Translationlink: Difference between revisions

Content deleted Content added
Cbarr (talk | contribs)
I think it is better to keep all formating out of switch templates
Cbarr (talk | contribs)
chang to uselang for consistancy. we can debate the wisdom of this later.
Line 1:
{{#switch:{{int:lang{uselang}}}
| en = {{ns:0}}<!-- show nothing -->
| #default = {{#ifexist:Template:2011FR/{{{1appeal}}}/text/{{int:lang{uselang}}}
| {{#switch:{{{1appeal}}}
| Appeal-default = [[m:Fundraising 2011/Jimmy Letter 002/{{int:lang{uselang}}}|{{int:donate interface-translate-bluelink}}]]
| Appeal-Alan = [[m:Fundraising 2011/Alan Letter/{{int:lang{uselang}}}|{{int:donate interface-translate-bluelink}}]]
| Appeal-Brandon = [[m:Fundraising 2011/Brandon Letter/{{int:lang{uselang}}}|{{int:donate interface-translate-bluelink}}]]
| Appeal-Kaldari = [[m:Fundraising 2011/Kaldari Letter/{{int:lang{uselang}}}|{{int:donate interface-translate-bluelink}}]]
| #default = {{ns:0}}<!-- show nothing -->
}}
| {{#switch:{{{1appeal}}}
| Appeal-default = [[m:Fundraising 2011/Jimmy Letter 002/en|{{int:donate interface-translate-redlink1}}]]<br />{{int:donate interface-translate-redlink2}}
| Appeal-Alan = [[m:Fundraising 2011/Alan Letter/en|{{int:donate interface-translate-redlink1}}]]<br />{{int:donate interface-translate-redlink2}}