Difference between revisions of "Template:EditOptions/doc"
Jump to navigation
Jump to search
imported>Gadget850 (add) |
imported>Gadget850 (→Usage: exp) |
||
| Line 11: | Line 11: | ||
* '''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. | ||
* '''tos-summary''': Set to <var>y</var> to show the terms of service summary below the edit summary. | * '''tos-summary''': Set to <var>y</var> to show the terms of service summary below the edit summary. | ||
| + | |||
| + | Examples: | ||
| + | {{pre2|<nowiki>{{EditOptions|align=right|width=50em|font-size=70%}}</nowiki>}} | ||
| + | {{EditOptions|align=right|width=50em|font-size=70%}} | ||
| + | |||
| + | {{-}} | ||
| + | {{pre2|<nowiki>{{EditOptions|width=70em|font-size=70%|copyrightwarning=y|tos-summary=y}}</nowiki>}} | ||
| + | {{EditOptions|width=70em|font-size=70%|copyrightwarning=y|tos-summary=y}} | ||
== See also == | == See also == | ||
Revision as of 04:22, 14 December 2011
| 40px | 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 40em.
- 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.
Examples: Template:Pre2