Difference between revisions of "Template:ArgHeader"

From Game Detectives Wiki
Jump to: navigation, search
[checked revision][checked revision]
(small change to description)
(Experimental description conditional)
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={{#show:{{PAGENAME}}|?argDescription}}}}{{lastEdit}}{{pageType}}{{Cat}}</includeonly><noinclude>{{documentation}}</noinclude>
+
}}<includeonly>{{#set:argName={{PAGENAME}}}}{{#set:argDescription={{#if:{{#show:{{PAGENAME}}|?argDescription}}|{{PAGENAME}}|?argDescription}}|{{ROOTPAGENAME}}|?argDescription}}}}{{lastEdit}}{{pageType}}{{Cat}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 21:34, 2 June 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