Difference between revisions of "Template:PageLink"
From DDO Compendium
MNDeveloper (talk | contribs) (Created page with "<noinclude>{{TemplateDocumentation |name = PageLink |description = This template is used in top level templates a link to another page, specifically when the title of the page...") |
MNDeveloper (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
|example1 = <nowiki>{{PageLink|Delera's Tomb|Delera's Tomb (Pack)}}</nowiki> | |example1 = <nowiki>{{PageLink|Delera's Tomb|Delera's Tomb (Pack)}}</nowiki> | ||
|example1output = {{PageLink|Delera's Tomb|Delera's Tomb (Pack)}} | |example1output = {{PageLink|Delera's Tomb|Delera's Tomb (Pack)}} | ||
|example2 = <nowiki>{{PageLink|White Plume Mountain and Other | |example2 = <nowiki>{{PageLink|White Plume Mountain and Other Tales}}</nowiki> | ||
|example2output = {{PageLink|White Plume Mountain and Other | |example2output = {{PageLink|White Plume Mountain and Other Tales}} | ||
|parameter1name = Link Text | |parameter1name = Link Text | ||
|parameter1description = This is the Name of the page as shown to viewers | |parameter1description = This is the Name of the page as shown to viewers | ||
Line 13: | Line 13: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#if: {{{2|}}}|[[{{{2}}}|{{{1}}}]]|[[{{{1}}}}}</onlyinclude> | <onlyinclude>{{#if: {{{2|}}}|[[{{{2}}}|{{{1}}}]]|[[{{{1}}}]]}}</onlyinclude> |
Latest revision as of 15:36, 23 September 2022
PageLink[edit]
This template is used in top level templates a link to another page, specifically when the title of the page is not the same as the name.
Example Usage | |
{{PageLink|Delera's Tomb|Delera's Tomb (Pack)}} | Delera's Tomb |
{{PageLink|White Plume Mountain and Other Tales}} | White Plume Mountain and Other Tales |
Usage[edit]
{{PageLink|(Link Text)|(link)}}
Parameter Documentation | |
Link Text | This is the Name of the page as shown to viewers |
link | This is the name of the page within the compendium |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[{{{1}}}]]