Template:L: Difference between revisions
Content added Content deleted
(Template for linking to page with same parent) Tag: 2017 source edit |
(redlink?) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Preload|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{ROOTPAGENAME}}/{{{1}}}|{{{2|{{{1}}}}}}|Wiki:Page Structure/Puzzles|color=#c00}}<noinclude> |
|||
{{documentation}}</noinclude> |
Latest revision as of 23:31, 4 October 2022
[{{fullurl:Template:L/{{{1}}}|action=edit&preload=Wiki:Page_Structure/Puzzles}} {{{1}}}]
This template allows editors to link pages under the same subpage. Takes two parameters, one for the target of the link and the second optional for the text of the link.
For example, on the page A/B
, {{L|C}}
would yield a link to A/C
with the text C
. {{L|C|D}}
would yield a link to A/C
with the text D
.
The same links would generate on the pages A/B/C
and A
; it uses the root page.