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! |
Editing Template:Infobox style
From Wars Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
|infobox=class="infobox ww-infobox" style="background-color: {{cc-color|{{{theme|allies}}}|dark}}; border: 3px solid {{cc-color|{{{theme|allies}}}|}};" | |infobox=class="infobox ww-infobox" style="background-color: {{cc-color|{{{theme|allies}}}|dark}}; border: 3px solid {{cc-color|{{{theme|allies}}}|}};" | ||
|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=" | |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" | ||
|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" | ||
}}</includeonly><noinclude>{{TemplateStyles|Template:Infobox style/styles.css}} | }}</includeonly><noinclude>{{TemplateStyles|Template:Infobox style/styles.css}} | ||
This template generates the CSS class and styling for all infobox templates based on the parameter passed to it. | This template generates the CSS class and styling for all infobox templates based on the parameter passed to it. | ||
* <code> | * <code><nowiki>{{Infobox style|infobox}}</nowiki></code> | ||
* <code> | * <code><nowiki>{{Infobox style|infobox_title}}</nowiki></code> | ||
* <code> | * <code><nowiki>{{Infobox style|infobox_header}}</nowiki></code> | ||
* <code> | * <code><nowiki>{{Infobox style|infobox_image}}</nowiki></code> | ||
* <code><nowiki>{{Infobox style|infobox_data_label}}</nowiki></code> | |||
* <code> | * <code><nowiki>{{Infobox style|infobox_data_value}}</nowiki></code> | ||
* <code> | |||
[[Category:Formatting templates]]</noinclude> | [[Category:Formatting templates]]</noinclude> |