Difference between revisions of "Template:EditOptions"

From blackwiki
Jump to navigation Jump to search
imported>Evolution and evolvability
({{button}} templates and links outs to help: pages)
imported>Codename Lisa
(A bit more resemblance wouldn't hurt, would it?)
Line 1: Line 1:
<div class="mw-summary" style="background-color:#eeeeee; padding:5px; {{#switch: {{{align|}}}
+
<div class="mw-summary" style="background-color:#F0F0F0; border: solid silver 1px; padding:1em 1em 1.5em; {{#switch: {{{align|}}}
 
         | center = margin: auto;
 
         | center = margin: auto;
 
         | left = float: left; clear: left; margin: 0.5em 1.4em 0.8em 0;
 
         | left = float: left; clear: left; margin: 0.5em 1.4em 0.8em 0;

Revision as of 19:24, 26 November 2015

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