Difference between revisions of "Template:l/same"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(Created page with "{{link/subpage|pfx=../|{{{1}}}}}<!-- action: link to a subpage at the same level as this one -->")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{link/subpage|pfx=../|{{{1}}}}}<!-- action: link to a subpage at the same level as this one -->
+
[[../{{{pfx|}}}{{{1}}}|{{{1}}}]]<noinclude>
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"label": "subpage name, also displayed in link",
 +
"description": "name of subpage at the same level as the current page",
 +
"required": true
 +
},
 +
"pfx": {
 +
"label": "optional prefix for the actual target page",
 +
"description": "actual target page is pfx + display",
 +
"type": "string"
 +
}
 +
},
 +
"description": "link to a subpage at the same level as this one"
 +
}
 +
</templatedata>
 +
</noinclude>

Latest revision as of 14:34, 9 August 2021

[[../{{{1}}}|{{{1}}}]]

link to a subpage at the same level as this one

Template parameters

ParameterDescriptionTypeStatus
subpage name, also displayed in link1

name of subpage at the same level as the current page

Unknownrequired
optional prefix for the actual target pagepfx

actual target page is pfx + display

Stringoptional