Kentsmith9 (talk | contribs) (Temp fix for confusion on Area Manager table) |
Kentsmith9 (talk | contribs) (Moved to Closures) |
||
Line 46: | Line 46: | ||
| style="background-color: #FFFFC0;" |{{ModifyPage|Special roads}} | | style="background-color: #FFFFC0;" |{{ModifyPage|Special roads}} | ||
|- | |- | ||
| {{anchor|Construction}} | | {{anchor|Construction}}Closures | ||
| style="background-color: #FFFFC0;" |{{ModifyPage| | | style="background-color: #FFFFC0;" |{{ModifyPage|Closures/Main}} | ||
| style="background-color: #FFFFC0;" |{{ModifyPage| | | style="background-color: #FFFFC0;" |{{ModifyPage|Closures}} | ||
|- | |- | ||
| {{anchor|Places}}Places | | {{anchor|Places}}Places |
Revision as of 06:12, 8 August 2014
This table will only work on a page when transcluded. |
This page serves as a common template to over 50 other pages. Do not make modifications to this page before reviewing the proposed changes in this Waze forum thread first. |
Editing custom sections
The EditState page is controlled by a template that automatically integrates common and unique content. The table below provides links to all the possible customizable sections and pages under EditState.
If a Unique Portion page is cleared or blanked, it will still exist and prevent the optional guidance from the CommonState page as designed. Be sure that is the intended outcome, otherwise the Unique Portion page must be fully deleted to enable the optional content to appear. A future release of the template may be able to fix that issue.
Resist creating pages using the red links visible on the main page. Use these links on the talk page to ensure the preload text is added to the page to help set it up properly.
Section | Unique Portion | Unique Page |
---|---|---|
Overview | ||
Notice | ||
Introduction | ||
Mapping resources | ||
Forum | ||
Cities and towns | ||
Major roads | ||
Special roads | ||
Closures | ||
Places | ||
Cameras | ||
To do list | ||
Area Managers1 | 1 | |
Other Area Editors | N/A | |
Other states and territories | ||
Other | ||
Other links to custom EditState pages | ||
Testing | N/A |
- 1.^ ^ Once the Area Manager table is created, all edits can be made directly from the main page using the links below the section headings in the table itself (not this talk page). This link will only provide access to the Country and State manager section of the Area Manager table.
Commonly created |
Sometimes created |
Not typically created |
Usage
Primary template
The primary template, {{[[::USA/CommonState|:USA/CommonState]]}}
, 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.
Supporting templates
Start
{{[[::USA/CommonState/Start|:USA/CommonState/Start]]}}
- This template is used on new state pages as the only code on the page:
{{subst::USA/CommonState/Start}}
- Once that page is saved it will automatically display the required template and supporting comments preventing users for editing the wrong content.
- Alternately copy and paste this code below into the browser. Change the STATENAME at the end of the line to the name of the state or territory being created. Use the name as spelled in the Template:USA_Navbox
https://wiki.waze.com/wiki/index.php?action=submit&summary=Create%20new%20state&preload=USA/CommonState/Start&preview=yes&title=STATENAME
SectionProcess
{{[[::USA/CommonState/SectionProcess|:USA/CommonState/SectionProcess]]}}
- This (Main namespace) template (not in the Template namespace) is called from the{{[[::USA/CommonState|:USA/CommonState]]}}
template. It is the common logic used on the{{[[::USA/CommonState|: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.
TalkTableElement
{{[[::USA/CommonState/TalkTableElement|:USA/CommonState/TalkTableElement]]}}
- Helps build the subpage edit table.
Related templates
EditState
- {{EditState}} - Placed on the talk page of a state or territory to edit the customized content for that state and use the preloads linked on Talk:USA/CommonState. That is also the best place from which to edit them as well.
The above documentation is transcluded from USA/CommonState/doc. Subpages of this template. |