Difference between revisions of "Template:RenderLink"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 15: | Line 15: | ||
|parameter1name = Link Text | |parameter1name = Link Text | ||
|parameter1description = This is what the template was given for the link | |parameter1description = This is what the template was given for the link | ||
}} | }}</noinclude><onlyinclude>{{#ifeq: {{padleft:|1|{{{1|}}}}}|[|{{{1}}}|{{#ifeq: {{padleft:|1|{{{1|}}}}}|*|{{{1}}}|[[{{{1}}}]]}}}}</onlyinclude> | ||
</noinclude> | |||
<onlyinclude>{{#ifeq: {{padleft:|1|{{{1|}}}}}|[|{{{1}}}|{{#ifeq: {{padleft:|1|{{{1|}}}}}|*|{{{1}}}|[[{{{1}}}]]}}}}</onlyinclude> |
Latest revision as of 21:09, 5 November 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)}} | Ruins of Gianthold (Pack) |
{{RenderLink|{{PageLink|Ruins of Gianthold|Ruins of Gianthold (Pack)}}}} | Ruins of Gianthold |
{{RenderLink| * {{PageLink|Ruins of Gianthold|Ruins of Gianthold (Pack)}} * {{PageLink|Ruins of Gianthold|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}}}]]