Misplaced Pages

Template:Submit an edit request/link: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Template:Submit an edit request Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 22:30, 3 March 2014 view sourceJackmcbarn (talk | contribs)31,380 edits simplify to use new core← Previous edit Revision as of 05:59, 11 June 2014 view source Mr. Stradivarius (talk | contribs)Edit filter managers, Administrators59,190 edits switch to Module:Submit an edit requestNext edit →
Line 1: Line 1:
<span class="plainlinks"></span><noinclude> {{#invoke:Submit an edit request|link}}<noinclude>
{{documentation}} {{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->

Revision as of 05:59, 11 June 2014

Submit an edit request

Template documentation[view] [edit] [history] [purge]
WarningThis template is used in MediaWiki:Titleblacklist-forbidden-edit.
Changes to it can cause immediate changes to the Misplaced Pages user interface.
To avoid major disruption, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them.
This template uses Lua:

This template adds a link to make a protected edit request. It does the same thing as its parent template, {{submit an edit request}}, only it is formatted as a link and not as a button.

Usage

{{submit an edit request/link
| type = 
| display = 
}}

The |type= parameter can be set to the following values:

Keyword Protection type
semi semi-protected
extended extended-confirmed protected
template template-protected
interface interface-protected
full fully-protected

If |type=manual, the template will just produce an link to edit the talk page with no preloaded text. If |type= is blank or set to any unrecognized value, the edit request is assumed to be to a fully protected page.

You can set a custom display value for the link with the |display= parameter. The default value is "Submit an edit request".

Examples

{{submit an edit request/link
| type = semi
}}

Submit an edit request

{{submit an edit request/link
| display = Edit request
}}

Edit request

{{submit an edit request/link
| type = template
| display = Submit a template-protected edit request
}}

Submit a template-protected edit request

The above documentation is transcluded from Template:Submit an edit request/link/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.