Difference between revisions of "Template:EditOptions/sandbox"
Jump to navigation
Jump to search
imported>Mathglot (Link Publish button to Help:Editing#Edit screens. (Note: for some reason the font goes black; wrong class?)) |
imported>Mathglot (Restore font color in button text.) |
||
| Line 12: | Line 12: | ||
<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}}]] | ||
<div style="font-size: 90%">{{MediaWiki:Wikimedia-copyrightwarning}}</div> | <div style="font-size: 90%">{{MediaWiki:Wikimedia-copyrightwarning}}</div> | ||
| − | {{Clickable button|[[Help:Editing#Edit screen(s)|{{MediaWiki:Publishchanges}}]]|format={{#ifeq:{{{boldsave|yes}}}|yes|bold|normal}}|color=blue}} {{Clickable button|[[Help:show preview|{{MediaWiki:showpreview}}]]}} {{Clickable button|[[Help:Diff|{{MediaWiki:showdiff}}]]}} <span style="position:relative; bottom:-2px;">{{font color | #d33 | '''Cancel''' }}</span> | + | {{Clickable button|[[Help:Editing#Edit screen(s)|{{white|{{MediaWiki:Publishchanges}}}}]]|format={{#ifeq:{{{boldsave|yes}}}|yes|bold|normal}}|color=blue}} {{Clickable button|[[Help:show preview|{{MediaWiki:showpreview}}]]}} {{Clickable button|[[Help:Diff|{{MediaWiki:showdiff}}]]}} <span style="position:relative; bottom:-2px;">{{font color | #d33 | '''Cancel''' }}</span> |
{{#if: {{{caption|}}}|<div>{{{caption}}}</div>}}</div><noinclude> | {{#if: {{{caption|}}}|<div>{{{caption}}}</div>}}</div><noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Revision as of 21:32, 13 May 2020
| This is the template sandbox page for Template:EditOptions (diff). |
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
| 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. |