Difference between revisions of "Template:Rwbox"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "{{#ifeq:{{{subst}}}|SUBST |{{#if:{{{name|}}} |{{Error|Template {{tlx|{{{name}}}}} has been incorrectly substituted.}} }}Category:Pages with incorrectly substituted templ...")
 
m
Line 9: Line 9:
 
  |imageright = {{{imageright|}}}
 
  |imageright = {{{imageright|}}}
 
  |smallimageright = {{#if:{{{smallimageright|}}}|{{{smallimageright}}}|{{{imageright|}}}}}
 
  |smallimageright = {{#if:{{{smallimageright|}}}|{{{smallimageright}}}|{{{imageright|}}}}}
  |class = rwbox-{{#switch:{{{type|}}}
+
  |class = ambox-{{#switch:{{{type|}}}
 
   |speedy = speedy
 
   |speedy = speedy
 
   |delete = delete
 
   |delete = delete

Revision as of 08:51, 15 November 2013

Documentation icon Template documentation[view] [edit] [history] [purge]

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
 | 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