Mr. Johnson (talk | contribs) (Created page with "{{Documentation}} <includeonly><onlyinclude><sup class="plainlinks" style="font-size: smaller;">[[{{fullurl:{{{1}}}|action=edit}} {{lc:{{{2|edit}}}}}]]</sup></onlyinclude></includeonly>\") |
Mr. Johnson (talk | contribs) No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude><sup class="plainlinks" style="font-size: smaller;">[[{{fullurl:{{{1}}}|action=edit}} {{lc:{{{2|edit}}}}}]]</sup></onlyinclude></includeonly> | <includeonly><onlyinclude><sup class="login-only plainlinks" style="font-size: smaller;">[ [{{fullurl:{{{1}}}|action=edit}} {{lc:{{{2|edit}}}}}] ]</sup></onlyinclude></includeonly> |
Latest revision as of 06:51, 19 November 2023
Template:Edit
Template:Edit
is used to create links similar to MediaWiki's standard heading links.
Usage
It accepts one mandatory string parameter and one optional string parameter.
1
is the name of the target page.2
(default:edit
) controls the text of the link.
Returns
If the user is logged in, a link to edit the document appears. Non-logged in users see nothing. The text supplied is always in lower case.
{{Edit|Template:Edit}}
returns: [ edit ]
{{Edit|Template:Edit|Modify}}
returns: [ modify ]
The documentation above was transcluded from Template:Edit/Documentation. [ edit ]