Difference between revisions of "Template:Rwbox/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m (Updated Documentation)
(Changed category.)
(2 intermediate revisions by one other user not shown)
Line 23: 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
 
{{rwbox
Line 54: Line 59:
 
| text  = type=<u>info</u>
 
| text  = type=<u>info</u>
 
}}
 
}}
<includeonly>
+
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<includeonly>[[Category:Mbox templates]]</includeonly>
[[Category:Template Mbox]]
+
<noinclude>[[Category:Template documentation]]</noinclude>
</includeonly>
 

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