The Wiki for Tale 8 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "Template:Link"

From A Wiki in the Desert
Jump to navigation Jump to search
(Created template)
 
m (Pluralizing the "Template" category. Categories should be plural)
 
Line 25: Line 25:
 
</noinclude><includeonly>[[{{{1}}}{{#ifeq:{{{2|}}}.|.||/{{{2}}}}}|{{#ifeq:{{{3|}}}.|.|{{#ifeq:{{{2|}}}.|.|{{{1}}}|{{{2}}}}}|{{{3}}}}}]]
 
</noinclude><includeonly>[[{{{1}}}{{#ifeq:{{{2|}}}.|.||/{{{2}}}}}|{{#ifeq:{{{3|}}}.|.|{{#ifeq:{{{2|}}}.|.|{{{1}}}|{{{2}}}}}|{{{3}}}}}]]
 
</includeonly><noinclude>
 
</includeonly><noinclude>
[[Category: Template]] {{DEFAULTSORT:{{SUBPAGENAME}}}}
+
[[Category:Templates]] {{DEFAULTSORT:{{SUBPAGENAME}}}}
 
</noinclude>
 
</noinclude>

Latest revision as of 09:30, 7 August 2018

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