Difference between revisions of "Template:Link"
From A Wiki in the Desert
m (Moving docs to /doc subpage) |
(No difference)
|
Latest revision as of 15:59, 17 May 2021
Template documentation (for the above template, sometimes hidden or invisible)
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:
- The page linked to is Research, the label is Research
- {{link | Research | Region}} produces:
- The page linked to is Research/Region, the label is just Region
- {{link | Research | Region | LinkDescription}} produces:
- The page linked to is Research/Region, the link label name is LinkDescription
- {{link | Research || LinkDescription}} produces:
- The page linked to is Research, the link label name is LinkDescription
Visit Template:Link/doc to edit this text! (How does this work?)