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:Rounded info box"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(added parameters for color)
Line 1: Line 1:
 
<div style="text-align:center;">
 
<div style="text-align:center;">
{| class="infobox" id="" style="background-color: #eef5ff; border: 1px solid #0088CC; font-size: 90%; margin: 1em 0em 0em; padding: 2px; text-align: center; width: 100%; border-top-left-radius:8px; -moz-border-radius-topleft:8px; -webkit-border-top-left-radius:8px; border-bottom-right-radius:8px; -moz-border-radius-bottomright:8px; -webkit-border-bottom-right-radius:8px;"
+
{| class="infobox" id="" style="color: {{{color|black}}}; background-color: {{{bgcolor|#eef5ff}}}; border: 1px solid {{{bordercolor|#0088CC}}}; font-size: 90%; margin: 1em 0em 0em; padding: 2px; text-align: center; width: 100%; border-top-left-radius:8px; -moz-border-radius-topleft:8px; -webkit-border-top-left-radius:8px; border-bottom-right-radius:8px; -moz-border-radius-bottomright:8px; -webkit-border-bottom-right-radius:8px;"
! colspan="2" style="border: 1px solid #0088CC; font-weight:bold; background-color: #8ce; padding-left: 1em; padding-right: 1em; text-align: center; border-top-left-radius:4px; -moz-border-radius-topleft:4px; -webkit-border-top-left-radius:4px; border-bottom-right-radius:4px; -moz-border-radius-bottomright:4px; -webkit-border-bottom-right-radius:4px;" |'''{{{1}}}'''
+
! colspan="2" style="color: {{{hcolor|black}}}; border: 1px solid {{{bordercolor|#0088CC}}}; font-weight:bold; background-color: {{{hbgcolor|#8ce}}}; padding-left: 1em; padding-right: 1em; text-align: center; border-top-left-radius:4px; -moz-border-radius-topleft:4px; -webkit-border-top-left-radius:4px; border-bottom-right-radius:4px; -moz-border-radius-bottomright:4px; -webkit-border-bottom-right-radius:4px;" |'''{{{1}}}'''
 
|-
 
|-
 
|
 
|
 
{{{2}}}
 
{{{2}}}
 
|}
 
|}
</div><noinclude>
+
</div>
 +
<noinclude>
 
{{rounded info box|test|{{{!}}  
 
{{rounded info box|test|{{{!}}  
 
{{!}} A  
 
{{!}} A  

Revision as of 22:37, 9 February 2013

{{{1}}}

{{{2}}}

test
A B
C D