Editing Template:Rwbox/doc

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
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.
+
<noinclude>{{Documentation subpage}}</noinclude>
 +
This is the {{Tl|rwbox}} or '''Article message box''' meta-template.
  
== Use ==
+
=== Type preview ===
 
 
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
 +
|nocat=true
 
| type  = speedy
 
| type  = speedy
 
| text  = type=<u>speedy</u>
 
| text  = type=<u>speedy</u>
 
}}
 
}}
 
{{rwbox
 
{{rwbox
 +
|nocat=true
 
| type  = delete
 
| type  = delete
 
| text  = type=<u>delete</u>
 
| text  = type=<u>delete</u>
 
}}
 
}}
 
{{rwbox
 
{{rwbox
| type  = safe
+
|nocat=true
| text  = type=<u>safe</u>
+
| type  = warning
}}
+
| text  = type=<u>warning</u>
{{rwbox
 
| type  = edit
 
| text  = type=<u>edit</u>
 
 
}}
 
}}
 
{{rwbox
 
{{rwbox
| type  = warning
+
|nocat=true
| text  = type=<u>warning</u>
+
| type  = style
 +
| text  = type=<u>style</u>.
 
}}
 
}}
 
{{rwbox
 
{{rwbox
| type  = cleanup
+
|nocat=true
| text  = type=<u>cleanup</u>.
+
| type  = notice
 +
| text  = type=<u>notice</u>
 
}}
 
}}
 
{{rwbox
 
{{rwbox
 +
|nocat=true
 
| type  = move
 
| type  = move
 
| text  = type=<u>move</u>
 
| text  = type=<u>move</u>
 
}}
 
}}
 
{{rwbox
 
{{rwbox
| type  = protect
+
|nocat=true
| text  = type=<u>protect</u>
+
| type  = protection
}}
+
| text  = type=<u>protection</u>
{{rwbox
 
| type  = info
 
| text  = type=<u>info</u>
 
}}
 
{{rwbox
 
| type  = manual
 
| color = #6bb6bb
 
| text  = This example has been colored biotech teal.
 
 
}}
 
}}
<includeonly>[[Category:Mbox templates]]</includeonly>
+
<includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
+
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 +
{{languages}}
 +
[[Category:Mbox templates]]
 +
</includeonly>

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page: