Difference between revisions of "Template:Rwbox"
Jump to navigation
Jump to search
(simplification. Template:Category handler does nothing if nocat=true. So it shouldn't be called in the first place in that case) |
(simplification. Turns out no page actually uses the category handler via this template. See Special:WhatLinksHere/Template:Category_handler) |
||
Line 27: | Line 27: | ||
}} | }} | ||
|info = {{{info|}}} | |info = {{{info|}}} | ||
− | + | }}<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> |
Revision as of 12:34, 10 December 2022
{{{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
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
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. |