Difference between revisions of "Template:ArgHeader"

From Game Detectives Wiki
Jump to: navigation, search
[checked revision][checked revision]
(experimental)
 
Line 7: Line 7:
 
|{{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}}/{{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}}'''
 
|{{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>{{#set:argName={{PAGENAME}}}}{{#if:{{#show:{{PAGENAME}}|?argDescription}}||{{#set:argDescription={{#show:{{ROOTPAGENAME}}|?argDescription}}}}}}{{#set:argDiscoverDate={{#show:{{ROOTPAGENAME}}|?argDiscoverDate}}}}{{pageType}}{{Cat}}{{#if:{{{arg|}}}||}}</includeonly><noinclude>{{documentation}}
+
}}</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