Template:ArgHeader: Difference between revisions

From Game Detectives Wiki
Jump to navigation Jump to search
Mattyb (talk | contribs)
damn brackets
m add list of investigations link back
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch:{{PAGENAME}}
<span id="argHeader" style="display: hidden">
|{{SUBPAGENAME}} = [[Main Page]] > [[List of Investigations]] > '''{{SUBPAGENAME}}'''
[[List of Investigations]]{{#if: {{#titleparts:{{FULLPAGENAME}}||1}} | &nbsp;> [[{{#titleparts:{{FULLPAGENAME}}|1}}|{{#titleparts:{{FULLPAGENAME}}|1|1}}]]}}{{#if: {{#titleparts:{{FULLPAGENAME}}||2}} | &nbsp;> [[{{#titleparts:{{FULLPAGENAME}}|2}}|{{#titleparts:{{FULLPAGENAME}}|1|2}}]]}}{{#if: {{#titleparts:{{FULLPAGENAME}}||3}} | &nbsp;> [[{{#titleparts:{{FULLPAGENAME}}|3}}|{{#titleparts:{{FULLPAGENAME}}|1|3}}]]}}{{#if: {{#titleparts:{{FULLPAGENAME}}||4}} | &nbsp;> [[{{#titleparts:{{FULLPAGENAME}}|4}}|{{#titleparts:{{FULLPAGENAME}}|1|4}}]]}}{{#if: {{#titleparts:{{FULLPAGENAME}}||5}} | &nbsp;> [[{{#titleparts:{{FULLPAGENAME}}|5}}|{{#titleparts:{{FULLPAGENAME}}|1|5}}]]}}
|{{ROOTPAGENAME}}/{{SUBPAGENAME}} = [[Main Page]] > [[List of Investigations]] > '''[[{{ROOTPAGENAME}}]]''' > '''{{SUBPAGENAME}}'''
<includeonly></includeonly><noinclude>{{documentation}}</noinclude>
|{{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}}|{{#show:{{PAGENAME}}|?argDescription}}|{{#show:{{ROOTPAGENAME}}|?argDescription}}}}{{lastEdit}}{{pageType}}{{Cat}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 22:09, 20 November 2025

List of Investigations > Template: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}}

List of Investigations > Template:ArgHeader