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
Jump to navigationJump to search
No edit summary |
No edit summary |
||
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="border-color: {{cc-color|{{{theme|allies}}}|dark}}; color: {{cc-color|{{{theme|allies}}}|text}};" | |infobox_header=class="wwi-header" colspan="2" style="border-color: {{cc-color|{{{theme|allies}}}|dark}}; color: {{cc-color|{{{theme|allies}}}|text}};" | ||
|infobox_image=class="wwi-image" | |infobox_image=class="wwi-image" colspan="2" | ||
|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" |
Revision as of 16:00, 3 July 2023
This template uses TemplateStyles:
This template generates the CSS class and styling for all infobox templates based on the parameter passed to it.
{{Infobox style|infobox}}
{{Infobox style|infobox_title}}
{{Infobox style|infobox_header}}
{{Infobox style|infobox_image}}
{{Infobox style|infobox_data_label}}
{{Infobox style|infobox_data_value}}