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:TipBox"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (Created page with '<div style="width: {{{3|80}}}%; background: {{{4|#eee}}}; border: 5px solid {{{1|#0a0}}}; margin: auto;"><div style="border: 1px solid #aaa; padding: 0.5em">{{{2|Message}}}</div>…')
 
m (this is to avoid abusing notice boxes)
Line 1: Line 1:
<div style="width: {{{3|80}}}%; background: {{{4|#eee}}}; border: 5px solid {{{1|#0a0}}}; margin: auto;"><div style="border: 1px solid #aaa; padding: 0.5em">{{{2|Message}}}</div></div>
+
<div style="width: {{{3|80}}}%; background: {{{4|#eee}}}; border: 4px solid {{{1|#000}}}; margin: auto;"><div style="border: 1px solid #aaa; padding: 0.5em">{{{2|Text missing}}}</div></div>
 
<noinclude>
 
<noinclude>
{{TipBox|#a00|This is a tip box with a bunch of text in it.|50|#ee0}}
+
 
 +
= Usage =
 +
 
 +
<pre>{{TipBox|#0a0|Green tip box with default width and background.}}</pre>
 +
{{TipBox|#0a0|Green tip box with default width and background.}}
 +
<pre>{{TipBox|#a00|Narrow red tip box with pale yellow background.|50|#ee9}}</pre>
 +
{{TipBox|#a00|Narrow red tip box with pale yellow background.|50|#ee9}}
  
 
[[Category:Templates]][[Category:Formatting Templates]]
 
[[Category:Templates]][[Category:Formatting Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 08:40, 23 April 2011

Text missing


Usage

{{TipBox|#0a0|Green tip box with default width and background.}}
Green tip box with default width and background.
{{TipBox|#a00|Narrow red tip box with pale yellow background.|50|#ee9}}
Narrow red tip box with pale yellow background.