Template:Edit: Difference between revisions
More actions
aha, found it! this was what caused the potd to display wrong: a carriage return = a space in MW, so when you have {{edit|...}} text it breaks anyway (2 spaces = 1 sp. and breaking wins) |
No edit summary |
||
| Line 1: | Line 1: | ||
<small class="plainlinks">[{{fullurl:{{{1}}}|action=edit}} +/−]</small><noinclude>{{documentation}}</noinclude> | <small class="plainlinks">[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|action=edit}} +/−]</small><noinclude>{{documentation}}</noinclude> | ||
Revision as of 20:35, 24 September 2010
This template gives a link in a uniform style to change a specific page, mostly used for changing language links.
Usage
{{Edit |1= }}
{{edit|the page to edit}}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | Pagename | complete pagename with namespace | {{FULLPAGENAME}} | optional |
preload | Preload | source code, which is preloaded by default | empty | optional |
editintro | Editintro | text that appears before the edit box | empty | optional |
|
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information This template gives a link in a uniform style to change a specific page, mostly used for changing language links.
| ||||||||||||||||||||
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Example
{{Edit|Template:Edit/doc}}
renders as:
See also
Localization
This template is not intended to be localized.