(Created page with "{{Template|Edit}} is used to create links similar to MediaWiki's standard heading links. ==Usage== It accepts one {{Parameter|mandatory|string}} and one {{Parameter|optional|string}}. * {{Code|1}} is the name of the target page. * {{Code|2}} (default: {{Code|edit}}) controls the text of the link. ==Returns== {{Code|<nowiki>{{Edit|Template:Edit}}</nowiki>}} returns: {{Return|{{Edit|Template:Edit}}}} {{Code|<nowiki>{{Edit|Template:Edit|modify}}</nowiki>}} returns: {{Retur...") |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>[[Category:Formatting Template]]</includeonly> | |||
{{Template|Edit}} is used to create links similar to MediaWiki's standard heading links. | {{Template|Edit}} is used to create links similar to MediaWiki's standard heading links. | ||
==Usage== | ==Usage== | ||
| Line 5: | Line 6: | ||
* {{Code|2}} (default: {{Code|edit}}) controls the text of the link. | * {{Code|2}} (default: {{Code|edit}}) controls the text of the link. | ||
==Returns== | ==Returns== | ||
The text supplied is always in lower case. | |||
{{Code|<nowiki>{{Edit|Template:Edit}}</nowiki>}} returns: {{Return|{{Edit|Template:Edit}}}} | {{Code|<nowiki>{{Edit|Template:Edit}}</nowiki>}} returns: {{Return|{{Edit|Template:Edit}}}} | ||
{{Code|<nowiki>{{Edit|Template:Edit| | {{Code|<nowiki>{{Edit|Template:Edit|Modify}}</nowiki>}} returns: {{Return|{{Edit|Template:Edit|Modify}}}} | ||
Latest revision as of 12:52, 23 October 2022
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.
1is the name of the target page.2(default:edit) controls the text of the link.
Returns
The text supplied is always in lower case.
{{Edit|Template:Edit}} returns:
[edit]
{{Edit|Template:Edit|Modify}} returns:
[modify]
