Difference between revisions of "Template:EditOptions"
Jump to navigation
Jump to search
imported>Pppery |
imported>John of Reading (Added a "summary" parameter to display text within the edit summary box) |
||
| Line 9: | Line 9: | ||
{{{style|}}}"> | {{{style|}}}"> | ||
{{MediaWiki:summary}} | {{MediaWiki:summary}} | ||
| − | {{Inputbox| }} | + | {{Inputbox|{{#if:{{{summary|}}}|{{{summary}}}| }}}} |
<span style="font-size: 115%">☐</span> {{MediaWiki:minoredit}} <span style="font-size: 115%">☑</span> [[Help:watchlist|{{MediaWiki:watchthis}}]] | <span style="font-size: 115%">☐</span> {{MediaWiki:minoredit}} <span style="font-size: 115%">☑</span> [[Help:watchlist|{{MediaWiki:watchthis}}]] | ||
<span style="font-size: 90%">{{MediaWiki:Wikimedia-copyrightwarning}}</span> | <span style="font-size: 90%">{{MediaWiki:Wikimedia-copyrightwarning}}</span> | ||
Revision as of 08:13, 4 February 2017
Summary:
☐ This is a minor edit ☑ Watch this page MediaWiki:Wikimedia-copyrightwarning Save page Show preview Show changes Cancel
Usage
This template uses HTML to replicate the edit options that are displayed below the edit window. MediaWiki interface pages are transcluded so that the template is always current.
Options:
- font-size: Set to the desired size in % or em.
- align: Alignment of the quote box on the page- left/right/center/none. Defaults to none.
- width: The width of the quote box in % or em. Defaults to 50em.
- caption: Caption
- summary: Text to appear within the edit summary box
Examples
Summary:
☐ This is a minor edit ☑ Watch this page MediaWiki:Wikimedia-copyrightwarning Save page Show preview Show changes Cancel
| The above documentation is transcluded from Template:EditOptions/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |