Difference between revisions of "Template:EditOptions/doc"
Jump to navigation
Jump to search
imported>Lam-ang m (extra div to fix layout of transcluded doc) |
imported>John of Reading (Added the "summary" parameter) |
||
| Line 9: | Line 9: | ||
* '''width''': The width of the quote box in % or em. Defaults to 50em. | * '''width''': The width of the quote box in % or em. Defaults to 50em. | ||
* '''caption''': Caption | * '''caption''': Caption | ||
| + | * '''summary''': Text to appear within the edit summary box | ||
== Examples == | == Examples == | ||
| − | {{pre2|<nowiki>{{EditOptions|align=right|width=50em|font-size=80%}}</nowiki>}} | + | {{pre2|<nowiki>{{EditOptions|align=right|width=50em|font-size=80%|summary=/* Later life */ Added references}}</nowiki>}} |
| − | <div>{{EditOptions|align=right|width=50em|font-size=80%}} | + | <div>{{EditOptions|align=right|width=50em|font-size=80%|summary=/* Later life */ Added references}} |
<includeonly> | <includeonly> | ||
Revision as of 08:16, 4 February 2017
| This is a documentation subpage for Template:EditOptions. It contains usage information, categories and other content that is not part of the original template page. |
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