Template:CountrySwitch: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Pgehres (WMF) (talk | contribs)
Created page with "{{#ifexist: Template:{{{1}}}/{{{2}}} |{{ {{{1}}}/{{{2}}} }} |{{ {{{1}}} }} }}<noinclude> ---- Automatically selects the best localized subpage for various fundraiser templates..."
 
Cbarr (talk | contribs)
No edit summary
Line 1: Line 1:
{{#ifexist: Template:{{{1}}}/{{{2}}}
{{#ifexist: Template:{{{1}}}/{{{2}}}
|{{ {{{1}}}/{{{2}}} }}
|{{{{{1}}}/{{{2}}}}}
|{{ {{{1}}} }}
|{{{{{1}}}}}
}}<noinclude>
}}<noinclude>
----
----

Revision as of 01:26, 25 October 2011

{{{{{1}}}}}


Automatically selects the best localized subpage for various fundraiser templates, based on the country passed to the template. e.g. {{CountryLocalize|appeal-title}} when passed country=CA

  • Will display Template:appeal-title/CA if it exists, else
  • Falls back to Template:appeal-title