Difference between revisions of "Template:EditOptions"

From blackwiki
Jump to navigation Jump to search
imported>Hildeoc
(removed, to my mind, misleading link)
imported>Hildeoc
(as per relevant HD recommendation courtesy of User:PrimeHunter: https://en.wikipedia.org/w/index.php?title=Wikipedia:Help_desk&oldid=894290932#Template:EditOptions)
 
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|{{MediaWiki:Publishchanges}}|format={{#ifeq:{{{boldsave|yes}}}|yes|bold|normal}}|color=blue}} {{Clickable button|[[Help:show preview|{{MediaWiki:showpreview}}]]}} {{Clickable button|[[Help:Diff|{{MediaWiki:showdiff}}]]}} {{MediaWiki:cancel}}
+
{{Clickable button|{{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>

Latest revision as of 22:28, 26 April 2019

Summary:

 

This is a minor edit Watch this page

Publish changes Show preview Show changes Cancel

Template documentation[view] [edit] [history] [purge]

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

Template:Pre2

Summary:

/* Later life */ Added references

This is a minor edit Watch this page

Publish changes Show preview Show changes Cancel