(fixed double redirect) |
m (1 révision importée) |
||
Ligne 1 : | Ligne 1 : | ||
# | {{:USA/CommonState/{{{1|Intro}}}|common}}<!-- Display common content of template seen by all states. When viewed directly, it will show the Intro subpage as a placeholder. --> | ||
{{#ifeq: {{#titleparts:{{PAGENAME}} | 2 }} | USA/CommonState<!-- Check if viewing template directly --> | |||
| {{:USA/CommonState/UniqueSectionMsg}}<!-- Say final page will show here --> | |||
| {{#ifexist: {{PAGENAME}}/{{{1|Intro}}}/Main<!-- Does unique state sec exist --> | |||
| <!-- On page Editing is currently disabled. See below. --> | |||
<div style="color:{{:{{PAGENAME}}/Settings|ColorOptional}}">{{:{{PAGENAME}}/{{{1|Intro}}}/Main}}</div><!-- Display state unique section --><!-- Color enhancement for illustration during testing phase. --> | |||
| <!-- On page Creating is currently disabled. See below. --> | |||
<div style="color:{{:{{PAGENAME}}/Settings|ColorUnique}}">{{:USA/CommonState/{{{1|Intro}}}|optional}}</div> | |||
<!-- Display optional content of template only because the state unique section is not present --><!-- Color enhancement for illustration during testing phase. --> | |||
}}<!-- end if state unique page exists or not --> | |||
}}<!-- end if viewing template directly or a transclusion --><noinclude>{{documentation|:USA/CommonState/doc}}</noinclude><!-- | |||
{{EditPage|text=[http://wiki.waze.com/wiki/index.php?title={{urlencode:{{PAGENAME}}/{{{1|Intro}}}/Main|WIKI}}&action=edit&preview=yes&summary=*/{{urlencode:{{{1|Intro}}}|WIKI}}*/ Edit the {{{1|Intro}}} unique content for {{PAGENAME}}]}} -- Link to edit unique page -- | |||
{{CreatePage|text=State unique page for {{{1|Intro}}}/Main not found. If needed, [http://wiki.waze.com/wiki/index.php?title={{urlencode:{{PAGENAME}}/{{{1|Intro}}}/Main|WIKI}}&action=edit&preview=yes&summary={{urlencode:Initial page creation from preload|PATH}}&preload=USA/CommonState/{{{1|Intro}}}/Preload Create the unique {{{1|Intro}}} content for {{PAGENAME}}]}} -- Link to add unique page -- | |||
--> |