Difference between revisions of "Template:Rwbox/doc"
Jump to navigation
Jump to search
m (Update Documentation) |
(no longer necessary) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | 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. | |
− | This is the | ||
− | === Type | + | == 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. | ||
+ | |||
+ | <pre> | ||
+ | {{rwbox | ||
+ | | type = speedy|delete|edit|warning|cleanup|move|protect|info | ||
+ | | text = <Insert Your Text Here> | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | Color can be specified by setting the type to manual and designating a color in an rbg code. | ||
+ | |||
+ | === Type previews === | ||
{{rwbox | {{rwbox | ||
− | |||
| type = speedy | | type = speedy | ||
| text = type=<u>speedy</u> | | text = type=<u>speedy</u> | ||
}} | }} | ||
{{rwbox | {{rwbox | ||
− | |||
| type = delete | | type = delete | ||
| text = type=<u>delete</u> | | text = type=<u>delete</u> | ||
}} | }} | ||
{{rwbox | {{rwbox | ||
− | | | + | | type = safe |
+ | | text = type=<u>safe</u> | ||
+ | }} | ||
+ | {{rwbox | ||
| type = edit | | type = edit | ||
| text = type=<u>edit</u> | | text = type=<u>edit</u> | ||
}} | }} | ||
{{rwbox | {{rwbox | ||
− | |||
| type = warning | | type = warning | ||
| text = type=<u>warning</u> | | text = type=<u>warning</u> | ||
}} | }} | ||
{{rwbox | {{rwbox | ||
− | |||
| type = cleanup | | type = cleanup | ||
| text = type=<u>cleanup</u>. | | text = type=<u>cleanup</u>. | ||
}} | }} | ||
{{rwbox | {{rwbox | ||
− | |||
| type = move | | type = move | ||
| text = type=<u>move</u> | | text = type=<u>move</u> | ||
}} | }} | ||
{{rwbox | {{rwbox | ||
− | |||
| type = protect | | type = protect | ||
| text = type=<u>protect</u> | | text = type=<u>protect</u> | ||
}} | }} | ||
{{rwbox | {{rwbox | ||
− | |||
| type = info | | type = info | ||
| text = type=<u>info</u> | | text = type=<u>info</u> | ||
}} | }} | ||
− | <includeonly> | + | {{rwbox |
− | < | + | | type = manual |
− | + | | color = #6bb6bb | |
− | [[Category:Template | + | | text = This example has been colored biotech teal. |
− | </ | + | }} |
+ | <includeonly>[[Category:Mbox templates]]</includeonly> | ||
+ | <noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 12:35, 10 December 2022
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. |