Template:EditOptions: Difference between revisions
Template page
More actions
Created page with "<div class="mw-summary" style="color: var(--color-base, #202122); background-color: var(--background-color-neutral, #eaecf0); border: 1px solid var(--border-color-subtle,#c8ccd1); padding:1em 1em 1.5em; {{#switch: {{{align|}}} | center = margin: auto; | left = float: left; clear: left; margin: 0.5em 1.4em 0.8em 0; | none = | right = float: right; clear: right; margin: 0.5em 0 0.8em 1.4em; | }} {{#if: {{{font-size|}}}|font-size..." |
(No difference)
|
Latest revision as of 23:59, 23 February 2025
This template uses HTML to replicate the edit options that are displayed below the edit window.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Alignment | align | Set the position of the quote box on the page—left, right, center or none
| Unknown | optional |
| Text size | font-size | Set the font size in em or as a percentage
| String | optional |
| Box width | width | Set how wide the quote box to be in em or as a percentage
| String | optional |
| Style | style | no description | Unknown | deprecated |
| Edit summary | summary | Note to show in the 'edit summary' text box. | Content | optional |
| Boldsave | boldsave | no description | Unknown | deprecated |
| Caption | caption | Text to show at the bottom of the box | Content | optional |
NB: MediaWiki interface pages are transcluded so the template is always current.
Examples
| Markup | Renders as |
|---|---|
{{ EditOptions }} |
|
| Markup | Renders as |
|---|---|
{{EditOptions
| align = center
| width = 35em
| font-size = 105%
| summary = /* Later life */ Added references
| caption = Click SHOW PREVIEW to check your work!
}} |
Summary: /* Later life */ Added references
⧼Wikimedia-copyrightwarning⧽
Cancel
Click SHOW PREVIEW to check your work! |