A Wiki in the Desert
Log in

Template:Link/doc

From A Wiki in the Desert
< Template:Link
Revision as of 18:22, 17 May 2021 by Brad (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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