Welcome to Wars Wiki!
Welcome, new users! For help on where to start, look at our getting started page and our manual of style. Need more help? Ask a staff member!

Template:Infobox style: Difference between revisions

From Wars Wiki
Added style parameter for image
(Added background color to headers)
(Added style parameter for image)
Line 3: Line 3:
|infobox_title=class="wwi-title" colspan="2" style="background-color: {{cc-color|{{{theme|allies}}}|}}; color: {{cc-color|{{{theme|allies}}}|text}};"
|infobox_title=class="wwi-title" colspan="2" style="background-color: {{cc-color|{{{theme|allies}}}|}}; color: {{cc-color|{{{theme|allies}}}|text}};"
|infobox_header=class="wwi-header" colspan="2" style="background-color: {{cc-color|{{{theme|allies}}}|}}; border-color: {{cc-color|{{{theme|allies}}}|dark}}; color: {{cc-color|{{{theme|allies}}}|text}};"
|infobox_header=class="wwi-header" colspan="2" style="background-color: {{cc-color|{{{theme|allies}}}|}}; border-color: {{cc-color|{{{theme|allies}}}|dark}}; color: {{cc-color|{{{theme|allies}}}|text}};"
|infobox_image=class="wwi-image" colspan="2"
|infobox_image=class="wwi-image" colspan="2" {{#if:{{{style|}}}|style="{{{style|}}}"|}}
|infobox_data_label=class="wwi-data-label" style="background-color: {{cc-color|{{{theme|allies}}}|light}};"
|infobox_data_label=class="wwi-data-label" style="background-color: {{cc-color|{{{theme|allies}}}|light}};"
|infobox_data_value=class="wwi-data-value"
|infobox_data_value=class="wwi-data-value"
patroller
1,981

edits