Template:2012FR/Switch/AppealAmount: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#ifexist:Template:2012FR/ |
{{#ifexist:Template:2012FR/Switch/AppealAmount/{{{language}}}|{{2012FR/Switch/AppealAmount/{{{language}}}|{{{country}}}|{{{1}}}|amount={{{amount}}}}}|{{{1}}}}}<noinclude> |
||
== Documentation == |
== Documentation == |
||
This template checks if there is a subtemplate of this one for a given <tt>language</tt>. If there is, it uses parameters from that template to insert the right amounts into the appeal for the right <tt>country</tt>. |
This template checks if there is a subtemplate of this one for a given <tt>language</tt>. If there is, it uses parameters from that template to insert the right amounts into the appeal for the right <tt>country</tt>. |
||
Use: |
Use: |
||
:<tt><nowiki>{{2012FR/ |
:<tt><nowiki>{{2012FR/Switch/AppealAmount|</nowiki>language=<langcode>|country=<nowiki>{{{country}}}</nowiki>|amount=<amount>|<fallback><nowiki>}}</nowiki></tt> |
||
Parameters: |
Parameters: |
||
Line 17: | Line 17: | ||
== List of subtemplates == |
== List of subtemplates == |
||
{{Special:Prefixindex/Template:2012FR/ |
{{Special:Prefixindex/Template:2012FR/Switch/AppealAmount/}} |
||
</noinclude> |
</noinclude> |
Latest revision as of 20:57, 26 January 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:
- {{2012FR/Switch/AppealAmount|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
- 2012FR/Switch/AppealAmount/ar
- 2012FR/Switch/AppealAmount/bg
- 2012FR/Switch/AppealAmount/cs
- 2012FR/Switch/AppealAmount/da
- 2012FR/Switch/AppealAmount/de
- 2012FR/Switch/AppealAmount/el
- 2012FR/Switch/AppealAmount/en
- 2012FR/Switch/AppealAmount/es
- 2012FR/Switch/AppealAmount/fi
- 2012FR/Switch/AppealAmount/fr
- 2012FR/Switch/AppealAmount/he
- 2012FR/Switch/AppealAmount/it
- 2012FR/Switch/AppealAmount/ja
- 2012FR/Switch/AppealAmount/nl
- 2012FR/Switch/AppealAmount/no
- 2012FR/Switch/AppealAmount/pl
- 2012FR/Switch/AppealAmount/pt
- 2012FR/Switch/AppealAmount/ru
- 2012FR/Switch/AppealAmount/sq
- 2012FR/Switch/AppealAmount/sv