Template:Custom edit/doc: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
|usergroup=all | |usergroup=all | ||
|placement= | |placement= | ||
|usage-notes=Example: {{tlx|1=custom edit|2=Commons:Sandbox|3=text=<nowiki>'''Play in the sandbox'''</nowiki>}} gives {{custom edit|Commons:Sandbox|text='''Play in the sandbox'''}}. Note you ''can'' use an internationalised text template like {{tl|support}}: {{tlx|1=custom edit|2=Commons:Sandbox|3=text={{support}}}} gives {{custom edit|Commons:Sandbox|text={{support}}}}. | |usage-notes=Example: {{tlx|1=custom edit|2=Commons:Sandbox|3=text=<nowiki>'''Play in the sandbox'''</nowiki>}} gives {{custom edit|Commons:Sandbox|text='''Play in the sandbox'''}}. Note you ''can'' use an internationalised text template like {{tl|support}}: {{tlx|1=custom edit|2=Commons:Sandbox|3=text=<nowiki>{{support}}</nowiki>}} gives {{custom edit|Commons:Sandbox|text={{support}}}}. | ||
|type= | |type= | ||
|example= | |example= | ||
| Line 28: | Line 28: | ||
|relieson= | |relieson= | ||
}} | }} | ||
<includeonly> | |||
[[Category:Formatting templates]] | |||
<includeonly> | |||
Revision as of 22:23, 17 June 2011
English: Provides a custom link for editing a page
Usage
{{Custom edit/doc |1= |section= |text= }}
Example: {{custom edit|Commons:Sandbox|text='''Play in the sandbox'''}} gives . Note you can use an internationalised text template like {{Support}}: {{custom edit|Commons:Sandbox|text={{support}}}} gives .
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | wikilink of page to be edited | empty | required | |
section | section name on target page | empty | optional | |
text | text of edit link | empty | optional | |
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
Localization
This template is not intended to be localized.