Difference between revisions of "Template:Colored infobox header/doc"
Jump to navigation
Jump to search
imported>Jay D. Easy (it appears shortcuts may be deprecated by some—no problem) |
imported>Jay D. Easy |
||
| Line 11: | Line 11: | ||
|width_style = person | |width_style = person | ||
|name = Example | |name = Example | ||
| − | {{colored infobox header|color=# | + | {{colored infobox header|color=#ffa07a|First title}} |
|branch_label = Branch | |branch_label = Branch | ||
|branch = Templates | |branch = Templates | ||
| Line 17: | Line 17: | ||
|serviceyears_label = Service years | |serviceyears_label = Service years | ||
|serviceyears = 2001–2019 | |serviceyears = 2001–2019 | ||
| − | {{colored infobox header|color=# | + | {{colored infobox header|color=#c3d6ef|Third title}} |
|battles_label = Wars | |battles_label = Wars | ||
|battles = [[Emu War]] | |battles = [[Emu War]] | ||
}} | }} | ||
<pre style=overflow:auto;>{{Infobox military person|name=Example | <pre style=overflow:auto;>{{Infobox military person|name=Example | ||
| − | {{colored infobox header|color=# | + | {{colored infobox header|color=#ffa07a|First title}} |
|branch = Template Department | |branch = Template Department | ||
{{colored infobox header|color=#ffe4c4|Second title}} | {{colored infobox header|color=#ffe4c4|Second title}} | ||
|serviceyears = 2001–2019 | |serviceyears = 2001–2019 | ||
| − | {{colored infobox header|color=# | + | {{colored infobox header|color=#c3d6ef|Third title}} |
|battles = [[Emu War]] | |battles = [[Emu War]] | ||
}}</pre><!-- | }}</pre><!-- | ||
Revision as of 00:34, 10 May 2019
| This is a documentation subpage for Template:Colored infobox header. It contains usage information, categories and other content that is not part of the original template page. |
Usage
A convenient way to insert a colored header at any location in an infobox.
{{colored infobox header|color = color hex code or name|Title}}
Example
Example
| |
|---|---|
|
First title
| |
| Branch | Templates |
|
Second title
| |
| Service years | 2001–2019 |
|
Third title
| |
| Wars | Emu War |
{{Infobox military person|name=Example
{{colored infobox header|color=#ffa07a|First title}}
|branch = Template Department
{{colored infobox header|color=#ffe4c4|Second title}}
|serviceyears = 2001–2019
{{colored infobox header|color=#c3d6ef|Third title}}
|battles = [[Emu War]]
}}