Template:P-link: Difference between revisions

From RetroMC
Jump to navigation Jump to search
Bawhoppen (talk | contribs)
No edit summary
Bawhoppen (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{{1}}}|{{{2}}}</includeonly>
<includeonly>{{{1}}}|{{{2}}}</includeonly>
<noinclude> This is a helper template used for cases where you need a link inside a parameter to display a different name, such as in an infobox. This is in cases where the parameter is automatically using a <nowiki>[[link]]</nowiki> and <nowiki>[[link|name]]</nowiki> will thus not work
<noinclude> This is a helper template used for cases where you need a link inside a parameter to display a different name, such as in an infobox. This is in cases where the parameter is automatically applied with a <nowiki>[[link]]</nowiki> due to a template and <nowiki>[[link|name]]</nowiki> will thus not work. For example: Page:Awesome you may want to have display as AwesomeSauce in a param. So you would do <nowiki>{{p-link|Awesome|AwesomeSauce</nowiki>}}.</noinclude>
For example: Page:Awesome you may want to have display as AwesomeSauce in a param. So you would do <nowiki>{{p-link|Awesome|AwesomeSauce</nowiki>.</noinclude>

Latest revision as of 04:31, 2 September 2026

This is a helper template used for cases where you need a link inside a parameter to display a different name, such as in an infobox. This is in cases where the parameter is automatically applied with a [[link]] due to a template and [[link|name]] will thus not work. For example: Page:Awesome you may want to have display as AwesomeSauce in a param. So you would do {{p-link|Awesome|AwesomeSauce}}.