Template:AppealAmountSwitch-v1: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Created page with "{{#ifexist:Template:AppealAmountSwitch-v1/{{{language}}}|{{AppealAmountSwitch-v1/{{{language}}}|{{{country}}}|{{{1}}}|amount={{{amount}}}}}|{{{1}}}}}<noinclude> == Documentati..."
 
(No difference)

Latest revision as of 01:17, 2 February 2012

{{{1}}}

Documentation

This template checks if there is a subtemplate of this one for a given language. If there is, it uses parameters from that template to insert the right amounts into the appeal for the right country.

Use:

{{AppealAmountSwitch-v1|language=<langcode>|country={{{country}}}|amount=<amount>|<fallback>}}

Parameters:

language
The language code of the appeal.
country
Should always be {{{country}}}.
amount
Either $5, $10 or all.
{{{1}}}
The fallback if the language subtemplate exists or it does, but there is no localization for the given country.

List of subtemplates