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"
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: | + | [[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:
- 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