Difference between revisions of "Template:l/same"
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: | ||
− | {{ | + | [[../{{{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
Parameter | Description | Type | Status | |
---|---|---|---|---|
subpage name, also displayed in link | 1 | name of subpage at the same level as the current page | Unknown | required |
optional prefix for the actual target page | pfx | actual target page is pfx + display | String | optional |