Difference between revisions of "Template:Rwbox/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m (Update Documentation)
m (Updated Documentation)
Line 1: Line 1:
<noinclude>{{Documentation subpage}}</noinclude>
+
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 {{Tl|rwbox}} or '''Article message box''' meta-template.
 
  
=== Type preview ===
+
== 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 45: Line 56:
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
 
[[Category:Template Mbox]]
 
[[Category:Template Mbox]]
 
</includeonly>
 
</includeonly>

Revision as of 23:37, 26 May 2020

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