Template:EditOptions/doc

From MOASSpedia
Jump to navigation Jump to search

This template uses HTML to replicate the edit options that are displayed below the edit window.

Template parameters

ParameterDescriptionTypeStatus
Alignmentalign

Set the position of the quote box on the page—left, right, center or none

Suggested values
left center right none
Default
none
Example
left
Unknownoptional
Text sizefont-size

Set the font size in em or as a percentage

Example
75%
Stringoptional
Box widthwidth

Set how wide the quote box to be in em or as a percentage

Default
50em
Example
60em
Stringoptional
Stylestyle

no description

Unknowndeprecated
Edit summarysummary

Note to show in the 'edit summary' text box.

Contentoptional
Boldsaveboldsave

no description

Unknowndeprecated
Captioncaption

Text to show at the bottom of the box

Contentoptional

NB: MediaWiki interface pages are transcluded so the template is always current.

Examples

Basic example
Markup Renders as
{{ EditOptions }}

Edit summary (Briefly describe your changes)

 

This is a minor edit Watch this page

Publish changes Show preview Show changes Cancel

An example using parameters
Markup Renders as
{{ EditOptions
 | align = center
 | width = 35em
 | font-size = 105%
 | summary = /* Later life */ Added references
 | caption = Click SHOW PREVIEW to check your work!
 }}

Edit summary (Briefly describe your changes)

/* Later life */ Added references

This is a minor edit Watch this page

Publish changes Show preview Show changes Cancel

Click SHOW PREVIEW to check your work!