Template:ArgHeader: Difference between revisions

From Game Detectives Wiki
Jump to navigation Jump to search
Mattyb (talk | contribs)
div -> span for ID assignment
Mattyb (talk | contribs)
No edit summary
Line 1: Line 1:
<span id="argHeader">{{#switch:{{PAGENAME}}
<span id="argHeader" style="display: hidden">{{#switch:{{PAGENAME}}
|{{SUBPAGENAME}} = [[Main Page]] > [[List of Investigations]] > '''{{SUBPAGENAME}}'''
|{{SUBPAGENAME}} = [[Main Page]] > [[List of Investigations]] > '''{{SUBPAGENAME}}'''
|{{ROOTPAGENAME}}/{{SUBPAGENAME}} = [[Main Page]] > [[List of Investigations]] > '''[[{{ROOTPAGENAME}}]]''' > '''{{SUBPAGENAME}}'''
|{{ROOTPAGENAME}}/{{SUBPAGENAME}} = [[Main Page]] > [[List of Investigations]] > '''[[{{ROOTPAGENAME}}]]''' > '''{{SUBPAGENAME}}'''

Revision as of 13:27, 18 August 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{{#set:argName=ArgHeader}}{{#set:argDiscoverDate={{#show:ArgHeader|?argDiscoverDate}}}}