Difference between revisions of "Template:RenderLink"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 11: | Line 11: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{padleft:|1|{{{1|}}}}}{{#ifeq: {{padleft:|1|{{{1|}}}}}| | <onlyinclude>{{padleft:|1|{{{1|}}}}}{{#ifeq: {{padleft:|1|{{{1|}}}}}|[|{{{1}}}|[[{{{1}}}]]}}</onlyinclude> |
Revision as of 16:54, 9 September 2019
RenderLink[edit]
This template is used in top level templates to render a link. It handles determinging if the value sent in is Template:PageLink or not, and does the appropriate action
Example Usage | |
{{RenderLink|Ruins of Gianthold (Pack)}} | RRuins of Gianthold (Pack) |
{{RenderLink|{{PageLink|Ruins of Gianthold|Ruins of Gianthold (Pack)}}}} | [[[Ruins of Gianthold (Pack)|Ruins of Gianthold]] |
Usage[edit]
{{RenderLink|(Link Text)}}
Parameter Documentation | |
Link Text | This is what the template was given for the link |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[{{{1}}}]]