Difference between revisions of "Template:EditOptions/doc"

From blackwiki
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:
Asish PV
+
{{Documentation subpage}}
From Pazhayakada
+
<!-- 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

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

Summary:

 

This is a minor edit Watch this page

Publish changes Show preview Show changes Cancel

Template:Pre2

Summary:

 

This is a minor edit Watch this page

Publish changes Show preview Show changes Cancel

See also