Difference between revisions of "Template:EditState"

From Wazeopedia
(fixed)
(Color coded pages)
Line 2: Line 2:
 
<!-- This template include the section heading and description to prevent alteration on individual pages -->
 
<!-- This template include the section heading and description to prevent alteration on individual pages -->
 
== Editing custom sections ==
 
== Editing custom sections ==
The {{PAGENAME}} 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 {{PAGENAME}}.
+
The {{BasePage2}} 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 {{BasePage2}}.
  
 
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.
 
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.
Line 9: Line 9:
  
 
{| class="wikitable"
 
{| class="wikitable"
|+ Edit Custom Pages for {{PAGENAME}}
+
|+ Edit Custom Pages for {{BasePage2}}
 
! <!--scope="col" width="33%" |-->Section
 
! <!--scope="col" width="33%" |-->Section
 
! <!--scope="col" width="33%" |-->Unique Portion
 
! <!--scope="col" width="33%" |-->Unique Portion
Line 15: Line 15:
 
|-
 
|-
 
| {{anchor|Overview}}Overview
 
| {{anchor|Overview}}Overview
| {{ModifyPage|Overview/Main}}
+
| style="background-color: #FFFFC0;" |{{ModifyPage|Overview/Main}}
| {{ModifyPage|Overview}}
+
| style="background-color: #FFC0DF;" |{{ModifyPage|Overview}}
 
|-
 
|-
 
| {{anchor|Notice}}Notice
 
| {{anchor|Notice}}Notice
| {{ModifyPage|Notice/Main}}
+
| style="background-color: #FFFFC0;" |{{ModifyPage|Notice/Main}}
| {{ModifyPage|Notice}}
+
| style="background-color: #FFC0DF;" |{{ModifyPage|Notice}}
 
|-
 
|-
 
| {{anchor|Introduction}}Introduction
 
| {{anchor|Introduction}}Introduction
| {{ModifyPage|Intro/Main}}
+
| style="background-color: #C0FFDF;" |{{ModifyPage|Intro/Main}}
| {{ModifyPage|Intro}}
+
| style="background-color: #FFC0DF;" |{{ModifyPage|Intro}}
 
|-
 
|-
 
| {{anchor|Resources}}Resources
 
| {{anchor|Resources}}Resources
| {{ModifyPage|Resources/Main}}
+
| style="background-color: #C0FFDF;" |{{ModifyPage|Resources/Main}}
| {{ModifyPage|Resources}}
+
| style="background-color: #FFFFC0;" |{{ModifyPage|Resources}}
 
|-
 
|-
 
| {{anchor|Forum}}Forum
 
| {{anchor|Forum}}Forum
| {{ModifyPage|Forum/Main}}
+
| style="background-color: #C0FFDF;" |{{ModifyPage|Forum/Main}}
| {{ModifyPage|Forum}}
+
| style="background-color: #FFFFC0;" |{{ModifyPage|Forum}}
 
|-
 
|-
 
| {{anchor|Cities and towns}}Cities and towns
 
| {{anchor|Cities and towns}}Cities and towns
| {{ModifyPage|Cities and towns/Main}}
+
| style="background-color: #FFFFC0;" |{{ModifyPage|Cities and towns/Main}}
| {{ModifyPage|Cities and towns}}
+
| style="background-color: #FFFFC0;" |{{ModifyPage|Cities and towns}}
 
|-
 
|-
 
| {{anchor|Major roads}}Major roads
 
| {{anchor|Major roads}}Major roads
| {{ModifyPage|Major roads/Main}}
+
| style="background-color: #FFFFC0;" |{{ModifyPage|Major roads/Main}}
| {{ModifyPage|Major roads}}
+
| style="background-color: #FFFFC0;" |{{ModifyPage|Major roads}}
 
|-
 
|-
 
| {{anchor|Places}}Places
 
| {{anchor|Places}}Places
| {{ModifyPage|Places/Main}}
+
| style="background-color: #FFFFC0;" |{{ModifyPage|Places/Main}}
| {{ModifyPage|Places}}
+
| style="background-color: #FFC0DF;" |{{ModifyPage|Places}}
 
|-
 
|-
 
| {{anchor|Construction}}Construction
 
| {{anchor|Construction}}Construction
| {{ModifyPage|Construction/Main}}
+
| style="background-color: #FFFFC0;" |{{ModifyPage|Construction/Main}}
| {{ModifyPage|Construction}}
+
| style="background-color: #FFFFC0;" |{{ModifyPage|Construction}}
 
|-
 
|-
 
| {{anchor|Cameras}}Cameras
 
| {{anchor|Cameras}}Cameras
| {{ModifyPage|Cameras/Main}}
+
| style="background-color: #C0FFDF;" |{{ModifyPage|Cameras/Main}}
| {{ModifyPage|Cameras}}
+
| style="background-color: #FFC0DF;" |{{ModifyPage|Cameras}}
 
|-
 
|-
 
| {{anchor|Special roads}}Special roads
 
| {{anchor|Special roads}}Special roads
| {{ModifyPage|Special roads/Main}}
+
| style="background-color: #FFFFC0;" |{{ModifyPage|Special roads/Main}}
| {{ModifyPage|Special roads}}
+
| style="background-color: #FFFFC0;" |{{ModifyPage|Special roads}}
 
|-
 
|-
 
| {{anchor|To do}}To do
 
| {{anchor|To do}}To do
| {{ModifyPage|To do/Main}}
+
| style="background-color: #C0FFDF;" |{{ModifyPage|To do/Main}}
| {{ModifyPage|To do}}
+
| style="background-color: #FFFFC0;" |{{ModifyPage|To do}}
 
|-
 
|-
 
| {{anchor|Area Managers}}Area Managers
 
| {{anchor|Area Managers}}Area Managers
| {{ModifyPage|Area Managers/Main}}
+
| style="background-color: #C0FFDF;" |{{ModifyPage|Area Managers/Main}}
| {{ModifyPage|Area Managers}}
+
| style="background-color: #FFC0DF;" |{{ModifyPage|Area Managers}}
 
|-
 
|-
 
| {{anchor|Other states and territories}}Other states and territories
 
| {{anchor|Other states and territories}}Other states and territories
| {{ModifyPage|Other states and territories/Main}}
+
| style="background-color: #FFC0DF;" |{{ModifyPage|Other states and territories/Main}}
| {{ModifyPage|Other states and territories}}
+
| style="background-color: #FFC0DF;" |{{ModifyPage|Other states and territories}}
 
|-
 
|-
 
| {{anchor|Other}}Other
 
| {{anchor|Other}}Other
| {{ModifyPage|Other/Main}}
+
| style="background-color: #FFC0DF;" |{{ModifyPage|Other/Main}}
| {{ModifyPage|Other}}
+
| style="background-color: #FFC0DF;" |{{ModifyPage|Other}}
 +
|}
 +
 
 +
{| class="wikitable"
 +
|+ Legend
 +
|-
 +
| style="background-color: #C0FFDF;" | Commonly created
 +
|-
 +
| style="background-color: #FFFFC0;" | Sometimes created
 +
|-
 +
| style="background-color: #FFC0DF;" | Not typically created
 +
|-
 
|}<noinclude>{{documentation|:USA/CommonState/doc}}</noinclude>
 
|}<noinclude>{{documentation|:USA/CommonState/doc}}</noinclude>

Revision as of 07:16, 19 July 2014

This table will only work on a page when transcluded.

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.

Edit Custom Pages for EditState
Section Unique Portion Unique Page
Overview Click here to create Click here to create
Notice Click here to create Click here to create
Introduction Edit Edit
Resources Click here to create Click here to create
Forum Click here to create Click here to create
Cities and towns Click here to create Click here to create
Major roads Click here to create Click here to create
Places Click here to create Click here to create
Construction Click here to create Click here to create
Cameras Click here to create Click here to create
Special roads Click here to create Click here to create
To do Click here to create Click here to create
Area Managers Click here to create Click here to create
Other states and territories Click here to create Click here to create
Other Click here to create Click here to create
Legend
Commonly created
Sometimes created
Not typically created
Documentation icon Template documentation[view] [edit] [history] [purge]

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

Primary template

The primary template, {{: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

{{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}} - This (Main namespace) template (not in the Template namespace) is called from the {{:USA/CommonState}} 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.

TalkTableElement

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.
https://wazeopedia.waze.com/wiki/Commons/index.php?title=Template:EditState&diff=prev&oldid=74649
wazeopedia.waze.com
crawl=CC-MAIN-2019-47
93662
application/http; msgtype=response
sha1:EXHTGGHYXIOUJAXW3OVVIBRICO4IYRR6
<urn:uuid:ca218fc2-76df-4739-be18-4115d59834cc>
2019-11-17T12:40:48Z
107.178.243.94
text/html
sha1:DMQUMW4WIWKIYWCTACPKHZ3HXIUQI7GU
<urn:uuid:d127b098-40aa-4a2c-81a9-bf678592ef2f>
https://wazeopedia.waze.com/wiki/Commons/index.php?title=Template:EditState&diff=prev&oldid=74649
response
<urn:uuid:9f702d22-fad1-43a6-ac7b-4c70706991a2>
isPartOf: CC-MAIN-2019-47
publisher: Common Crawl
description: Wide crawl of the web for November 2019
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-133.ec2.internal
software: Apache Nutch 1.16 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.1-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/