Template:Translationlink: Difference between revisions

From Donate
Jump to navigation Jump to search
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: Line 1:
{{#switch:{{int:lang}}
{{#switch:{{{uselang}}}
| en = {{ns:0}}<!-- show nothing -->
| en = {{ns:0}}<!-- show nothing -->
| #default = {{#ifexist:Template:2011FR/{{{1}}}/text/{{int:lang}}
| #default = {{#ifexist:Template:2011FR/{{{appeal}}}/text/{{{uselang}}}
| {{#switch:{{{1}}}
| {{#switch:{{{appeal}}}
| Appeal-default = [[m:Fundraising 2011/Jimmy Letter 002/{{int:lang}}|{{int:donate interface-translate-bluelink}}]]
| Appeal-default = [[m:Fundraising 2011/Jimmy Letter 002/{{{uselang}}}|{{int:donate interface-translate-bluelink}}]]
| Appeal-Alan = [[m:Fundraising 2011/Alan Letter/{{int:lang}}|{{int:donate interface-translate-bluelink}}]]
| Appeal-Alan = [[m:Fundraising 2011/Alan Letter/{{{uselang}}}|{{int:donate interface-translate-bluelink}}]]
| Appeal-Brandon = [[m:Fundraising 2011/Brandon Letter/{{int:lang}}|{{int:donate interface-translate-bluelink}}]]
| Appeal-Brandon = [[m:Fundraising 2011/Brandon Letter/{{{uselang}}}|{{int:donate interface-translate-bluelink}}]]
| Appeal-Kaldari = [[m:Fundraising 2011/Kaldari Letter/{{int:lang}}|{{int:donate interface-translate-bluelink}}]]
| Appeal-Kaldari = [[m:Fundraising 2011/Kaldari Letter/{{{uselang}}}|{{int:donate interface-translate-bluelink}}]]
| #default = {{ns:0}}<!-- show nothing -->
| #default = {{ns:0}}<!-- show nothing -->
}}
}}
| {{#switch:{{{1}}}
| {{#switch:{{{appeal}}}
| Appeal-default = [[m:Fundraising 2011/Jimmy Letter 002/en|{{int:donate interface-translate-redlink1}}]]<br />{{int:donate interface-translate-redlink2}}
| 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}}
| Appeal-Alan = [[m:Fundraising 2011/Alan Letter/en|{{int:donate interface-translate-redlink1}}]]<br />{{int:donate interface-translate-redlink2}}

Revision as of 16:42, 5 November 2011