Difference between revisions of "Template:ArgHeader"
From Game Detectives Wiki
[checked revision] | [checked revision] |
(Experimental description conditional) |
(fix) |
||
Line 3: | Line 3: | ||
|{{ROOTPAGENAME}}/{{SUBPAGENAME}} = [[Main Page]] > [[List of Investigations]] > '''[[{{ROOTPAGENAME}}]]''' > '''{{SUBPAGENAME}}''' | |{{ROOTPAGENAME}}/{{SUBPAGENAME}} = [[Main Page]] > [[List of Investigations]] > '''[[{{ROOTPAGENAME}}]]''' > '''{{SUBPAGENAME}}''' | ||
|{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{SUBPAGENAME}} = [[Main Page]] > [[List of Investigations]] > '''[[{{ROOTPAGENAME}}]]''' > '''[[{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}|{{#titleparts:{{PAGENAME}}|1|2}}]]''' > '''{{SUBPAGENAME}}''' | |{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{SUBPAGENAME}} = [[Main Page]] > [[List of Investigations]] > '''[[{{ROOTPAGENAME}}]]''' > '''[[{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}|{{#titleparts:{{PAGENAME}}|1|2}}]]''' > '''{{SUBPAGENAME}}''' | ||
− | }}<includeonly>{{#set:argName={{PAGENAME}}}}{{#set:argDescription={{#if:{{#show:{{PAGENAME}}|?argDescription}}|{{PAGENAME}}|?argDescription}}|{{ROOTPAGENAME}}|?argDescription}}}}{{lastEdit}}{{pageType}}{{Cat}}</includeonly><noinclude>{{documentation}}</noinclude> | + | }}<includeonly>{{#set:argName={{PAGENAME}}}}{{#set:argDescription={{#if:{{#show:{{PAGENAME}}|?argDescription}}|{{#show:{{PAGENAME}}|?argDescription}}}}|{{#show:{{ROOTPAGENAME}}|?argDescription}}}}{{lastEdit}}{{pageType}}{{Cat}}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 21:35, 2 June 2018
Main Page > List of Investigations > ArgHeader<templatestyles src="Module:Documentation/styles.css"></templatestyles>
- Description
This is the {{ArgHeader}} or ARG Header meta-template.
It is an intelligent template used to add a navigation bar at the head of any ARG page. It is self-structuring and does not require any variable input.
- Usage
{{ArgHeader}}
Main Page > List of Investigations > ArgHeader