Module:Main/doc: Difference between revisions

Content deleted Content added
 
(2 intermediate revisions by the same user not shown)
Line 21:
 
Replaces {{tl|2012FR/Switch/Appeal}}
 
=== get_infobox ===
 
Does basically the same thing for subpages of [[Template:Infobox]]
 
Replaces {{tl|2012FR/Switch/Infobox}}
 
=== get_tax_message ===
 
Code should be fairly self explanatory. Allows overriding the default message for certain countries.
 
=== page_language ===
 
Return the language code of the current subpage. If it isn't a subpage, or isn't a valid language code, return 'en'.