Styleguide: Difference between revisions

Content deleted Content added
Cbarr (talk | contribs)
m Socialmedia template no longer needed
 
(8 intermediate revisions by 3 users not shown)
Line 1:
'''Note: some of this documentation needs to be updated'''
 
==Introduction==
In order to get an better picture of how the templates on donate.wiki relate to one another review the images below. The Landing Page is chopped up into many templates so that we can change and test individual pieces of the page without changing core functional pieces of the page. This provides us with more stability for a broader range of users.
Line 11 ⟶ 13:
 
==Banner==
Banner settings completely determine which landing page is displayed, in which language, and where the page runs. All banners call the [[Template:Lp-layout-default]] template and pass it the names of 4 templates. The default values follow:
*[[Template:2011FR/Appeal-template-default]]
*"Appeal-default"
Line 74 ⟶ 76:
 
===Payment Methods===
There is a list of all the payment methods that can be added to a country at [[Template:2012FR/Form-section/Paymentmethods]].
These templates enable the various payment buttons that will be shown for the LPs for this country.
Currently, the available buttons are:
*[[Template:2012FR/Form-section/Paymentmethods/Creditcard | credit card]]
*[[Template:2012FR/Form-section/Paymentmethods/Banktransfer | bank transfer]]
*[[Template:2012FR/Form-section/Paymentmethods/Directdebit | direct debit]]
*[[Template:2012FR/Form-section/Paymentmethods/EWallet/PayPal | PayPal]]
*[[Template:2012FR/Form-section/Paymentmethods/EWallet/Skrill | Skill]]
*[[Template:2012FR/Form-section/Paymentmethods/EWallet/Webmoney | WebMoney]]
*[[Template:2012FR/Form-section/Paymentmethods/EWallet/Yandex | Yandex]]
*[[Template:2012FR/Form-section/Paymentmethods/Realtime/Sofort | Sofort]]
*[[Template:2012FR/Form-section/Paymentmethods/Realtime/EPS | EPS]]
*[[Template:2012FR/Form-section/Paymentmethods/Realtime/Ideal | IDeal]]
*[[Template:2012FR/Form-section/Paymentmethods/OnlineBT/BPay | BPay]]
*[[Template:2012FR/Form-section/Paymentmethods/Link/PayPalUSD | a link to a USD PayPal page]]
*[[Template:2012FR/Form-section/Paymentmethods/Link/PayPalEUR | a link to a EUR PayPal page]]
With a few that are waiting to be enabled:
*[[Template:2012FR/Form-section/Paymentmethods/EWallet/Alipay | Alipay]]
*[[Template:2012FR/Form-section/Paymentmethods/EWallet/Nordea | Nordea]]
*[[Template:2012FR/Form-section/Paymentmethods/Realtime/Enets | Enets]]
*[[Template:2012FR/Form-section/Paymentmethods/Realtime/Giropay | Giropay]]
*[[Template:2012FR/Form-section/Paymentmethods/Cash/Westernunion | Western Union]]
*[[Template:2012FR/Form-section/Paymentmethods/Cash/Boletos | Boletos]]
 
==Helper Templates==
Line 117 ⟶ 97:
 
===Payment method templates===
ThisThere is a list of all the payment methods that can be added to a country at [[Template:2012FR/Form-section/Paymentmethods]].
The following template is used to turn on and off payment methods by toggling the "display" value stored inside the template between "block"(on) and "none"(off).
*[[Template:2012FR/Form-section/Paymentmethods/Status]]
 
This is a list of all the payment methods that can be added to a country:
*[[Template:2012FR/Form-section/Paymentmethods/Banktransfer]]
*[[Template:2012FR/Form-section/Paymentmethods/Cash/Boletos]]
*[[Template:2012FR/Form-section/Paymentmethods/Cash/Westernunion]]
*[[Template:2012FR/Form-section/Paymentmethods/Creditcard]]
*[[Template:2012FR/Form-section/Paymentmethods/Directdebit]]
*[[Template:2012FR/Form-section/Paymentmethods/EWallet/Alipay]]
*[[Template:2012FR/Form-section/Paymentmethods/EWallet/Nordea]]
*[[Template:2012FR/Form-section/Paymentmethods/EWallet/PayPal]]
*[[Template:2012FR/Form-section/Paymentmethods/EWallet/Skrill]]
*[[Template:2012FR/Form-section/Paymentmethods/EWallet/Webmoney]]
*[[Template:2012FR/Form-section/Paymentmethods/EWallet/Yandex]]
*[[Template:2012FR/Form-section/Paymentmethods/Link/PayPalEUR]]
*[[Template:2012FR/Form-section/Paymentmethods/Link/PayPalUSD]]
*[[Template:2012FR/Form-section/Paymentmethods/OnlineBT/BPay]]
*[[Template:2012FR/Form-section/Paymentmethods/Realtime/EPS]]
*[[Template:2012FR/Form-section/Paymentmethods/Realtime/Enets]]
*[[Template:2012FR/Form-section/Paymentmethods/Realtime/Giropay]]
*[[Template:2012FR/Form-section/Paymentmethods/Realtime/Ideal]]
*[[Template:2012FR/Form-section/Paymentmethods/Realtime/Sofort]]
 
===Misc. Templates===
*[[Template:Numstaff]] - Controls the # we display for our staff count.
*[[Template:2012FR/Lp-header/Socialmedia]]
 
==F.A.Q.==
Line 172 ⟶ 130:
 
===How do I customize Landing Pages for a country?===
To customize the donation forms for each country changes need to be made to the corresponding "Form-countryspecific-*" and "Form-template-*" templates.
 
===How do I add new payment methods?===