A Wiki in the Desert
Log in

Difference between revisions of "Template:Link/doc"

From A Wiki in the Desert
(Created page with "''Creates a Link'' Usage: : '''<NOWIKI>{{link| Page To Link To}}</NOWIKI>''' : '''<NOWIKI>{{link| Sub Page | Main Page Name }}</NOWIKI>''' : '''<NOWIKI>{{link| Sub Page | Ma...")
 
m
 
Line 20: Line 20:
 
: {{link |Research||LinkDescription}}
 
: {{link |Research||LinkDescription}}
 
: The page linked to is Research, the link label name is LinkDescription
 
: The page linked to is Research, the link label name is LinkDescription
 +
 +
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 18:22, 17 May 2021

Creates a Link

Usage:

{{link| Page To Link To}}
{{link| Sub Page | Main Page Name }}
{{link| Sub Page | Main Page Name | Link Label }}
{{link| Page To Link To || Link Label }} (note the double pipe || between the two sets of data)

Example:

  • {{link | Research }} produces:
Research
The page linked to is Research, the label is Research
  • {{link | Research | Region}} produces:
Region
The page linked to is Research/Region, the label is just Region
  • {{link | Research | Region | LinkDescription}} produces:
LinkDescription
The page linked to is Research/Region, the link label name is LinkDescription
  • {{link | Research || LinkDescription}} produces:
LinkDescription
The page linked to is Research, the link label name is LinkDescription