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 arg for multicolumn
No edit summary
(Added arg for multicolumn)
Line 7: Line 7:
|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"
|infobox_data_multicolumn=class="wwi-data-multicolumn"
}}</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.
Line 16: Line 17:
* <code><nowiki>{{Infobox style|infobox_data_label}}</nowiki></code>
* <code><nowiki>{{Infobox style|infobox_data_label}}</nowiki></code>
* <code><nowiki>{{Infobox style|infobox_data_value}}</nowiki></code>
* <code><nowiki>{{Infobox style|infobox_data_value}}</nowiki></code>
* <code><nowiki>{{Infobox style|infobox_data_multicolumn}}</nowiki></code>


[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>
patroller
1,981

edits