Difference between revisions of "Template:ArgHeader"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][checked revision]
(Created page with "<includeonly>Main Page > List of Investigations > [[{{{arg|WRONG_PARAMETER}}}]]</includeonly><noinclude> A simple template to denote that the page belongs to an ARG a...")
 
(experimental)
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[Main Page]] > [[List of Investigations]] > [[{{{arg|WRONG_PARAMETER}}}]]</includeonly><noinclude>
+
<span id="argHeader" style="display: hidden">{{#switch:{{PAGENAME}}
 
+
|{{SUBPAGENAME}} = [[Main Page]] > [[List of Investigations]] > '''{{SUBPAGENAME}}'''
A simple template to denote that the page belongs to an ARG and add the navigation header.
+
|{{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}}'''
Usage: <nowiki>{{ArgHeader|arg=Eye Sigil ARG}}</nowiki>
+
|{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}/{{SUBPAGENAME}} = [[Main Page]] > [[List of Investigations]] > '''[[{{ROOTPAGENAME}}]]''' > '''[[{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}|{{#titleparts:{{PAGENAME}}|1|2}}]]''' > '''[[{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}|{{#titleparts:{{PAGENAME}}|1|3}}]]''' > '''{{SUBPAGENAME}}'''
 
+
|{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}/{{#titleparts:{{PAGENAME}}|1|4}}/{{SUBPAGENAME}} = [[Main Page]] > [[List of Investigations]] > '''[[{{ROOTPAGENAME}}]]''' > '''[[{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}|{{#titleparts:{{PAGENAME}}|1|2}}]]''' > '''[[{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}|{{#titleparts:{{PAGENAME}}|1|3}}]]''' > '''[[{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}/{{#titleparts:{{PAGENAME}}|1|4}}|{{#titleparts:{{PAGENAME}}|1|4}}]]''' > '''{{SUBPAGENAME}}'''
Produces: {{ArgHeader|arg=Eye Sigil ARG}}
+
|{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}/{{#titleparts:{{PAGENAME}}|1|4}}/{{#titleparts:{{PAGENAME}}|1|5}}/{{SUBPAGENAME}} = [[Main Page]] > [[List of Investigations]] > '''[[{{ROOTPAGENAME}}]]''' > '''[[{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}|{{#titleparts:{{PAGENAME}}|1|2}}]]''' > '''[[{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}|{{#titleparts:{{PAGENAME}}|1|3}}]]''' > '''[[{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}/{{#titleparts:{{PAGENAME}}|1|4}}|{{#titleparts:{{PAGENAME}}|1|4}}]]''' > '''[[{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}/{{#titleparts:{{PAGENAME}}|1|4}}/{{#titleparts:{{PAGENAME}}|1|5}}|{{#titleparts:{{PAGENAME}}|1|5}}]]''' > '''{{SUBPAGENAME}}'''
 
+
|{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}/{{#titleparts:{{PAGENAME}}|1|4}}/{{#titleparts:{{PAGENAME}}|1|5}}/{{#titleparts:{{PAGENAME}}|1|6}}/{{SUBPAGENAME}} = [[Main Page]] > [[List of Investigations]] > '''[[{{ROOTPAGENAME}}]]''' > '''[[{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}|{{#titleparts:{{PAGENAME}}|1|2}}]]''' > '''[[{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}|{{#titleparts:{{PAGENAME}}|1|3}}]]''' > '''[[{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}/{{#titleparts:{{PAGENAME}}|1|4}}|{{#titleparts:{{PAGENAME}}|1|4}}]]''' > '''[[{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}/{{#titleparts:{{PAGENAME}}|1|4}}/{{#titleparts:{{PAGENAME}}|1|5}}|{{#titleparts:{{PAGENAME}}|1|5}}]]''' > '''[[{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}|1|2}}/{{#titleparts:{{PAGENAME}}|1|3}}/{{#titleparts:{{PAGENAME}}|1|4}}/{{#titleparts:{{PAGENAME}}|1|5}}/{{#titleparts:{{PAGENAME}}|1|6}}|{{#titleparts:{{PAGENAME}}|1|6}}]]''' > '''{{SUBPAGENAME}}'''
 +
}}</span><includeonly>{{#if:{{#show:{{PAGENAME}}|?argName}}||{{#set:argName={{PAGENAME}}}}}}{{#if:{{#show:{{PAGENAME}}|?argDescription}}||{{#set:argDescription={{#show:{{ROOTPAGENAME}}|?argDescription}}}}}}{{#if:{{#show:{{PAGENAME}}|?argDiscoverDate}}||{{#set:argDiscoverDate={{#show:{{ROOTPAGENAME}}|?argDiscoverDate}}}}}}{{pageType}}{{Cat}}</includeonly><noinclude>{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:16, 17 October 2018

Main Page > List of Investigations > ArgHeader<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation[view] [edit] [history] [purge]
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