Styleguide

From Donate
Revision as of 12:09, 10 January 2012 by Cbarr (talk | contribs)
Jump to navigation Jump to search

Templates

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.
Flow cart showing how information goes from banner to template to template generating a Landing Page.
Fig. 2: A flow cart showing how information goes from banner to template to template generating a Landing Page.

Layouts

Banners

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:

Appeals

The "2011FR/Appeal-default" is used by Template:2011FR/Appeal-template-default to call the following 2 templates:

Payment

The template that mainly forms the payment form is Template:2011FR/Form-template-default with the country specific details being set by the template Template:2011FR/Form-countryspecific-control.