Difference between revisions of "Template:EditOptions/doc"
Jump to navigation
Jump to search
imported>Asishpv123 (←Replaced content with 'Asish PV From Pazhayakada') |
imported>The wub m (Reverted edits by Asishpv123 (talk) to last revision by Gadget850 (HG)) |
||
| Line 1: | Line 1: | ||
| − | + | {{Documentation subpage}} | |
| − | + | <!-- Categories and interwikis go at the bottom of this 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 <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. | ||
| + | |||
| + | 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 == | ||
| + | |||
| + | <includeonly> | ||
| + | <!-- Categories and interwikis go here: --> | ||
| + | |||
| + | </includeonly> | ||
Revision as of 12:34, 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.
Examples: Template:Pre2