Difference between revisions of "Template:EditOptions"

From blackwiki
Jump to navigation Jump to search
imported>Deeday-UK
('Save page' is in bold, on the real thing)
imported>Pppery
(Allow the save page button not to be shown in bold)
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}}]]
 
<span style="font-size: 90%">{{MediaWiki:Wikimedia-copyrightwarning}}</span>
 
<span style="font-size: 90%">{{MediaWiki:Wikimedia-copyrightwarning}}</span>
{{button|'''{{MediaWiki:savearticle}}'''}}{{button|[[Help:show preview|{{MediaWiki:showpreview}}]]}} {{button|[[Help:Diff|{{MediaWiki:showdiff}}]]}} [[Help:Editing|{{MediaWiki:cancel}}]]
+
{{button|{{#ifeq:{{{boldsave|yes}}}|yes|'''{{MediaWiki:savearticle}}'''|{{MediaWiki:savearticle}}}}}}{{button|[[Help:show preview|{{MediaWiki:showpreview}}]]}} {{button|[[Help:Diff|{{MediaWiki:showdiff}}]]}} [[Help:Editing|{{MediaWiki:cancel}}]]
 
{{#if: {{{caption|}}}|<div>{{{caption}}}}}</div></div><noinclude>
 
{{#if: {{{caption|}}}|<div>{{{caption}}}}}</div></div><noinclude>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 19:03, 27 August 2016

Summary:

 

This is a minor edit Watch this page MediaWiki:Wikimedia-copyrightwarning Save pageShow 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

Template:Pre2

Summary:

 

This is a minor edit Watch this page MediaWiki:Wikimedia-copyrightwarning Save pageShow preview Show changes Cancel