Styleguide: Difference between revisions

Content deleted Content added
Cbarr (talk | contribs)
Cbarr (talk | contribs)
Line 60:
</pre>
 
 
This part of the code pulls in the display method for the donation options and sets the values to be displayed. The "donate-amount-*" perimeters set the values that will be used in the country. These values are in the currency that has been set as the local currency.
[[Template:2012FR/Form-section/Processing/Default]]
<pre>
This template pulls in the payment processing
{{2011FR/Form-section-radiobuttons
 
| country = {{{country}}}
[[Template:2012FR/Form-section/Radiobuttons/Default]]
| uselang = {{{uselang}}}
This part of the codetemplate pulls in the display method for the donation options and sets the values to be displayed. The "donate-amount-*" perimeters set the values that will be used in the country. These values are in the currency that has been set as the local currency.
| currency = {{2011FR/core-currency-code|{{{country}}}}}
 
| donate-amount-0 = 5
Template:2012FR/Form-section/Paymentmethods/*
| donate-amount-1 = 10
These templates enable the various payment buttons that will be shown for the LPs for this country.
| donate-amount-2 = 20
| donate-amount-3 = 25
| donate-amount-4 = 50
| donate-amount-5 = 100
| donate-amount-6 = 250
}}
</pre>
 
==Helper Templates==