Template:EmbeddedSubpageLink: Difference between revisions

Created page with "<includeonly>[[{{{1}}}{{#switch:{{SUBPAGENAME}}|{{{2}}}=/|#}}{{{2}}}|{{{2}}}]]</includeonly><noinclude> Link to Patterns#Embedded Subpages nicely for Navboxes and other cases where showing if it is a link to the current page is important. Example: {{EmbeddedSubpageLink|Outer_Wilds|Echoes_of_the_Eye}} <templatedata> { "params": { "1": { "label": "Parent Page", "description": "The name of the parent page.", "type": "wiki-page-name", "required": tru..."
 
No edit summary
Line 3: Line 3:


Example:
Example:
{{EmbeddedSubpageLink|Outer_Wilds|Echoes_of_the_Eye}}
{{EmbeddedSubpageLink|Outer_Wilds|Echoes of the Eye}}


<templatedata>
<templatedata>