Difference between revisions of "Template:Rwbox/doc"
Jump to navigation
Jump to search
(Created page with "<noinclude>{{Documentation subpage}}</noinclude> This is the {{Tl|rwbox}} or '''Article message box''' meta-template. === Type preview === {{rwbox |nocat=true | type = speed...") |
(Changed category.) |
||
(6 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 | ||
+ | |nocat=true | ||
+ | | type = speedy|delete|edit|warning|cleanup|move|protect|info | ||
+ | | text = <Insert Your Text Here> | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | === Type previews === | ||
{{rwbox | {{rwbox | ||
|nocat=true | |nocat=true | ||
Line 12: | Line 23: | ||
| type = delete | | type = delete | ||
| text = type=<u>delete</u> | | text = type=<u>delete</u> | ||
+ | }} | ||
+ | {{rwbox | ||
+ | |nocat=true | ||
+ | | type = safe | ||
+ | | text = type=<u>safe</u> | ||
+ | }} | ||
+ | {{rwbox | ||
+ | |nocat=true | ||
+ | | type = edit | ||
+ | | text = type=<u>edit</u> | ||
}} | }} | ||
{{rwbox | {{rwbox | ||
Line 20: | Line 41: | ||
{{rwbox | {{rwbox | ||
|nocat=true | |nocat=true | ||
− | | type = | + | | type = cleanup |
− | | text = type=<u> | + | | text = type=<u>cleanup</u>. |
}} | }} | ||
{{rwbox | {{rwbox | ||
|nocat=true | |nocat=true | ||
− | | type = | + | | type = move |
− | | text = type=<u> | + | | text = type=<u>move</u> |
}} | }} | ||
{{rwbox | {{rwbox | ||
|nocat=true | |nocat=true | ||
− | | type = | + | | type = protect |
− | | text = type=<u> | + | | text = type=<u>protect</u> |
}} | }} | ||
{{rwbox | {{rwbox | ||
|nocat=true | |nocat=true | ||
− | | type = | + | | type = info |
− | | text = type=<u> | + | | text = type=<u>info</u> |
}} | }} | ||
− | <includeonly> | + | |
− | < | + | <includeonly>[[Category:Mbox templates]]</includeonly> |
− | + | <noinclude>[[Category:Template documentation]]</noinclude> | |
− | [[Category: | ||
− | </ |
Revision as of 21:26, 17 January 2021
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 |nocat=true | type = speedy|delete|edit|warning|cleanup|move|protect|info | text = <Insert Your Text Here> }}
Type previews
![]() | type=speedy |
![]() | type=delete |
![]() | type=safe |
![]() | type=edit |
![]() | type=warning |
![]() | type=cleanup. |
![]() | type=move |
![]() | type=protect |
![]() | type=info |