Difference between revisions of "Template:EditOptions/doc"
Jump to navigation
Jump to search
imported>Gadget850 (caption) |
imported>Gadget850 (ce) |
||
| Line 5: | Line 5: | ||
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. | 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: | + | Options: |
* '''font-size''': Set to the desired size in % or em. | * '''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. | + | * '''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. | * '''width''': The width of the quote box in % or em. Defaults to 50em. | ||
* '''copyrightwarning''': Set to <var>y</var> to show the copyright warning above the edit summary. | * '''copyrightwarning''': Set to <var>y</var> to show the copyright warning above the edit summary. | ||
| Line 14: | Line 14: | ||
Examples: | Examples: | ||
| − | {{pre2|<nowiki>{{EditOptions|align=right|width=50em|font-size= | + | {{pre2|<nowiki>{{EditOptions|align=right|width=50em|font-size=80%}}</nowiki>}} |
| − | {{EditOptions|align=right|width=50em|font-size= | + | {{EditOptions|align=right|width=50em|font-size=80%}} |
| − | {{ | + | {{clear}} |
| − | {{pre2|<nowiki>{{EditOptions|width=70em|font-size= | + | {{pre2|<nowiki>{{EditOptions|width=70em|font-size=80%|copyrightwarning=y|tos-summary=y}}</nowiki>}} |
| − | {{EditOptions|width=70em|font-size= | + | {{EditOptions|width=70em|font-size=80%|copyrightwarning=y|tos-summary=y}} |
== See also == | == See also == | ||
Revision as of 13:32, 5 February 2012
| 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.
- copyrightwarning: Set to y to show the copyright warning above the edit summary.
- tos-summary: Set to y to show the terms of service summary below the edit summary.
- caption: Caption
Examples: Template:Pre2