Styleguide: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
[[Image:Default-LP.png|frame|center|alt=Landing Page example with template areas highlighted.|'''Fig. 1:''' An example of a Landing Page with boxed areas added in order to highlight the different templates that set the look and functionality of various areas.]] |
[[Image:Default-LP.png|frame|center|alt=Landing Page example with template areas highlighted.|'''Fig. 1:''' An example of a Landing Page with boxed areas added in order to highlight the different templates that set the look and functionality of various areas.]] |
||
⚫ | |||
==Banner== |
==Banner== |
||
Line 10: | Line 8: | ||
*[[Template:2011FR/Form-countryspecific-control]] |
*[[Template:2011FR/Form-countryspecific-control]] |
||
==Appeal |
==Appeal== |
||
The "2011FR/'''Appeal-default'''" is used by [[Template:2011FR/Appeal-template-default]] to call the following 2 templates: |
The "2011FR/'''Appeal-default'''" is used by [[Template:2011FR/Appeal-template-default]] to call the following 2 templates: |
||
*[[Template:2011FR/Appeal-default/text/en]] |
*[[Template:2011FR/Appeal-default/text/en]] |
||
Line 45: | Line 43: | ||
*[[Template:RT-status]] |
*[[Template:RT-status]] |
||
*[[Template:YD-status]] |
*[[Template:YD-status]] |
||
==Flow== |
|||
⚫ |
Revision as of 12:31, 10 January 2012
Banner
Banner settings completely determine which landing page is displayed, in which language, and where the page runs. All banners call the Lp-layout-default template and pass it the names of 4 templates. The default values follow:
- Template:2011FR/Appeal-template-default
- 2011FR/Appeal-default
- Template:2011FR/Form-template-default
- Template:2011FR/Form-countryspecific-control
Appeal
The "2011FR/Appeal-default" is used by Template:2011FR/Appeal-template-default to call the following 2 templates:
Payment
The template that mainly ties together the payment form on the right is Template:2011FR/Form-template-default. The country specific details are set by the template Template:2011FR/Form-countryspecific-control.
Helper Templates
- Template:2011FR/core-country-region
- Template:2011FR/core-currency-code
- Template:2011FR/core-currency-symbol
Switch templates
The following is a list of templates templates that are used to change page content based on language, country, etc.
- Template:AppealAmountSwitch
- Template:AppealAmountSwitch/en
- Template:AppealSwitch
- Template:CountrySwitch
- Template:FallbackSwitch
- Template:Ltr-direction
Payment method status
The following is a list of templates that can be use to turn off their respective payment methods.
- Template:BP-status
- Template:BT-status
- Template:CC-status
- Template:DD-status
- Template:MB-status
- Template:PP-status
- Template:RT-status
- Template:YD-status