USA/CommonState/doc: Difference between revisions View history

(added template)
(description)
Line 12: Line 12:
* {{tlm|USA/CommonState/TalkTableElement}} - Helps build the [[Talk:USA/CommonState#Subpage maintenance|subpage edit table]].
* {{tlm|USA/CommonState/TalkTableElement}} - Helps build the [[Talk:USA/CommonState#Subpage maintenance|subpage edit table]].


* {{tl|EditState}}
* {{tl|EditState}} - Placed on the talk page of a state or territory to edit the customized content for that state.


<includeonly>
<includeonly>

Revision as of 22:09, 15 July 2014

This is a documentation subpage for [[::USA/CommonState]].
It contains usage information, categories and other content that is not part of the original article.

This template is part of the CommonState template suite. It is currently only set up to work on the United States and its territories.

Usage

The primary template, Template:Tlm, is placed on each state page. It includes both code and displayed text that is used to combine the common guidance and the individual state unique guidance.

Related templates

This (Main namespace) template (not in the Template namespace) is called from the Template:Tlm template. It is the common logic used on the {{:USA/CommonState}} template to determine if the universal content should come before or be displaced by the unique state content, and if the unique content subpage is not present, it provides a link to generate a unique content page. It has one required parameter with the name of the subpage for the section.
  • {{EditState}} - Placed on the talk page of a state or territory to edit the customized content for that state.