Difference between revisions of "Template:Rwbox"
Jump to navigation
Jump to search
m |
m (Reverted edits by Ceddin Deden (talk) to last revision by Hordes) Tag: Rollback |
||
(21 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Rwbox/core |
− | |||
− | |||
− | |||
− | |||
|type = {{{type|}}} | |type = {{{type|}}} | ||
+ | |color = {{{color|}}} | ||
|image = {{{image|}}} | |image = {{{image|}}} | ||
− | |||
|imageright = {{{imageright|}}} | |imageright = {{{imageright|}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|style = {{{style|}}} | |style = {{{style|}}} | ||
|textstyle = {{{textstyle|}}} | |textstyle = {{{textstyle|}}} | ||
− | |||
|talk = {{#switch:{{{talk|¬}}} | |talk = {{#switch:{{{talk|¬}}} | ||
|¬ = <!-- No talk link used --> | |¬ = <!-- No talk link used --> | ||
Line 31: | Line 15: | ||
| = This article | | = This article | ||
|This {{{sect}}} | |This {{{sect}}} | ||
− | }} {{{issue<includeonly>|</includeonly> | + | }} {{{text|}}} {{{issue<includeonly>|</includeonly>}}} |
|fix = {{{fix<includeonly>|</includeonly>}}} | |fix = {{{fix<includeonly>|</includeonly>}}} | ||
|date = {{#switch:{{{date|¬}}} | |date = {{#switch:{{{date|¬}}} | ||
Line 39: | Line 23: | ||
}} | }} | ||
|info = {{{info|}}} | |info = {{{info|}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 19:10, 27 January 2023
{{{issue}}} |
This template is the core for all of the Modal templates. It allows easier use of these modals and it's styles from the AMBox Template.
Use[edit]
In order to use the below types, you can look at the edit page of this page for examples. However use can be simplified by the following code.
{{rwbox | type = speedy|delete|edit|warning|cleanup|move|protect|info | text = <Insert Your Text Here> }}
Color can be specified by setting the type to manual and designating a color in an rbg code.
Type previews[edit]
type=speedy |
type=delete |
type=safe |
type=edit |
type=warning |
type=cleanup. |
type=move |
type=protect |
type=info |
This example has been colored biotech teal. |
The above documentation is transcluded from Template:Rwbox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |