Welcome to Wars Wiki! |
---|
Welcome to Wars Wiki. Please log in or create an account to make changes. |
Template:Infobox style: Difference between revisions
From Wars Wiki
Jump to navigationJump to search
(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" |