Difference between revisions of "Template:EditOptions/doc"

From blackwiki
Jump to navigation Jump to search
imported>Gadget850
(Removed 2 sitelinks migrated to an item on Wikidata)
imported>Lam-ang
m (extra div to fix layout of transcluded doc)
Line 12: Line 12:
 
== Examples ==  
 
== Examples ==  
 
{{pre2|<nowiki>{{EditOptions|align=right|width=50em|font-size=80%}}</nowiki>}}
 
{{pre2|<nowiki>{{EditOptions|align=right|width=50em|font-size=80%}}</nowiki>}}
{{EditOptions|align=right|width=50em|font-size=80%}}
+
<div>{{EditOptions|align=right|width=50em|font-size=80%}}
  
 
<includeonly>
 
<includeonly>

Revision as of 17:07, 4 August 2014

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

Examples

Template:Pre2

Summary:

 

This is a minor edit Watch this page

Publish changes Show preview Show changes Cancel