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
Line 1: Line 1:
<noinclude>'''action''': link to a subpage at the same level as this one</noinclude>
 
 
[[../{{{pfx|}}}{{{1}}}|{{{1}}}]]
 
[[../{{{pfx|}}}{{{1}}}|{{{1}}}]]
 +
<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>

Revision as of 14:32, 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