Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Custom edit/doc: Difference between revisions

Template page
fix
parameters
Line 2: Line 2:
|1=1
|1=1
|1d=wikilink of page to be edited
|1d=wikilink of page to be edited
|1def=
|1def=<nowiki>{{FULLPAGENAME}}</nowiki>
|1stat=required
|1stat=
|2=section
|2=2
|2d=section name on target page
|2d=text of edit link
|2def=
|2def=edit
|2stat=optional
|2stat=
|3=text
|3=section
|3d=text of edit link
|3d=section name on target page
|3def=
|3def=
|3stat=required
|3stat=
|4=editintro
|4d=editintro name
|4def=
|4stat=
|5=preload
|5d=preload name
|5def=
|5stat=
|6=preloadtitle
|6d=preloadtitle name
|6def=
|6stat=
|7=oldid
|7d=oldid #
|7def=
|7stat=
|name=
|name=
|desc={{mld|en=Provides a custom link for editing a page}}
|desc={{mld|en=Provides a custom link for editing a page}}
Line 17: Line 33:
|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=<nowiki>{{support}}</nowiki>}} gives {{custom edit|Commons:Sandbox|text={{support}}}}.
|usage-notes=Example: {{tlx|custom edit|Commons:Sandbox|<nowiki>'''Play in the sandbox'''</nowiki>}} gives {{custom edit|Commons:Sandbox|'''Play in the sandbox'''}}. Note you ''can'' use an internationalised text template like {{tl|support}}: {{tlx|custom edit|Commons:Sandbox|<nowiki>{{support}}</nowiki>}} gives {{custom edit|Commons:Sandbox|{{support}}}}.
|type=
|type=
|example=
|example=
|i18n-method=-
|i18n-method=-
|i18n-desc=
|i18n-desc=
|seealso={{tl|Edit}}
|seealso={{tl|edit}}
|setscats=
|setscats=
|lines=one
|lines=one
|shorthand=
|shorthand=
|relieson=
|relieson=
}}
}}<includeonly>
<includeonly>
[[Category:Internal link templates|{{PAGENAME}}]]<includeonly>
[[Category:Internal link templates|{{PAGENAME}}]]
<includeonly>

Revision as of 21:37, 29 April 2012

English: Provides a custom link for editing a page

Usage

{{Custom edit/doc |1= |2= |section= |editintro= |preload= |preloadtitle= |oldid= }}

Example: {{custom edit|Commons:Sandbox|'''Play in the sandbox'''}} gives Play in the sandbox. Note you can use an internationalised text template like {{Support}}: {{custom edit|Commons:Sandbox|{{support}}}} gives Template:Support.

Template parameters

ParameterDescriptionDefaultStatus
1wikilink of page to be edited{{FULLPAGENAME}}optional
2text of edit linkeditoptional
sectionsection name on target pageemptyoptional
editintroeditintro nameemptyoptional
preloadpreload nameemptyoptional
preloadtitlepreloadtitle nameemptyoptional
oldidoldid #emptyoptional

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

See also

Localization

This template is not intended to be localized.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.