v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:TipBox2"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Created page with '<div style="float: {{{float|none}}}; border: 2px solid black; background: {{{textbg|white}}}; margin: {{#if:{{{float|}}}|1em|auto}}; width: {{#if:{{{float}}}|{{{width|80%}}}|{{{w…')
 
m
Line 1: Line 1:
<div style="float: {{{float|none}}}; border: 2px solid black; background: {{{textbg|white}}}; margin: {{#if:{{{float|}}}|1em|auto}}; width: {{#if:{{{float}}}|{{{width|80%}}}|{{{width|35%}}}}};">
+
<div style="float: {{{float|none}}}; border: 2px solid black; background: {{{textbg|white}}}; margin: {{#if:{{{float|}}}|1em|auto}}; width: {{#if:{{{float|}}}|{{{width|35%}}}|{{{width|80%}}}}};">
 
<div style="background: {{{titlebg|#0a0}}}; padding: 0.3em 0.5em; border-bottom: 1px solid black; text-align: center; font-size:120%; color:{{{textcolor|#ffffff}}}">'''{{{1|Title}}}'''</div>
 
<div style="background: {{{titlebg|#0a0}}}; padding: 0.3em 0.5em; border-bottom: 1px solid black; text-align: center; font-size:120%; color:{{{textcolor|#ffffff}}}">'''{{{1|Title}}}'''</div>
 
<div style="padding: 0.5em;">
 
<div style="padding: 0.5em;">

Revision as of 21:21, 30 April 2011

Title

Body text


Usage

{{TipBox2|Title|Body Text|
   float=[left/right/none]|
   textbg=[html color]|
   titlebg=[html color]|
   width=[css width]
}}
This is a title....


This is a title....


This is a title....