Difference between revisions of "Template:Colored infobox header"

From blackwiki
Jump to navigation Jump to search
imported>Jay D. Easy
imported>Jay D. Easy
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly></td></tr>
+
<includeonly>
<tr><th colspan=2 style="text-align:center;line-height:normal;padding:0.2em 0.2em;background-color:{{{color|}}};">
+
<tr><th colspan=2 style="font-weight:{{{3|bold}}};text-align:center;line-height:normal;padding:0.2em 0.2em;background-color:{{{color|{{{2|}}}}}};">
  
 
     <div style="margin:0 4em">{{{1|Further information}}}</div>
 
     <div style="margin:0 4em">{{{1|Further information}}}</div>

Latest revision as of 16:57, 25 July 2019

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

Usage

A convenient way to insert a colored header at any location in an infobox.

{{colored infobox header|color=color name or hex code|Title}}

Example

Example
First title
BranchTemplates
Second title
Service years2001–2025
Third title
WarsEmu War

Template:Pre2