Template:AppealAmountSwitch 2019

From Donate
Revision as of 15:02, 25 November 2019 by SPatton (talk | contribs) (Created page with "{{#ifeq:{{{amount|}}}|all|<span class="consider-amounts">}}{{#ifexist:Template:AppealAmountSwitch/{{{language}}}|{{AppealAmountSwitch/{{{language}}}|{{{country}}}|{{{1}}}|amou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{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|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 doesn't exist or it does, but there is no localization for the given country.

List of subtemplates