Difference between revisions of "Template:Infobox/Row"

From Oldunreal-Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>|-
<includeonly>!style="font-weight: bold; background-color: {{{bgcolor_label}}}; color: {{{color_label}}}; width: 50%;"| {{{label}}}
!style="font-weight: bold; background-color: {{{bgcolor_label}}}; color: {{{color_label}}};"| {{{label}}}
!style="background-color: {{{bgcolor}}}; color: {{{color}}}; width: 50%;"| {{{value}}}
!style="background-color: {{{bgcolor}}}; color: {{{color}}};"| {{{value}}}
|-
</includeonly><noinclude>{{Infobox/doc}}</noinclude>
</includeonly><noinclude>{{Infobox/doc}}</noinclude>

Latest revision as of 01:38, 12 October 2020

Infobox templates
Infobox
Class Infobox

A set of templates used to create a rough infobox. We'll get something better eventually.

{{Infobox/Header
|title=
|image=
|color_border=
|bgcolor=
|color=
}}
{{Infobox/HeaderNoImage
|title=
|color_border=
|bgcolor=
|color=
}}
{{Infobox/Row
|label=
|value=
|bgcolor_label=
|color_label=
|bgcolor=
|color=
}}
{{Infobox/Footer}}

Here's a pair of use examples:

{{Infobox/Header|title=Riot|image=Riot.jpg|color_border=grey|bgcolor=white|color=black}}
{{Infobox/Row|label=Map name|value=Riot!|bgcolor_label=grey|color_label=black|bgcolor=grey|color=white}}
{{Infobox/Row|label=Ideal player count|value=2-3|bgcolor_label=grey|color_label=black|bgcolor=grey|color=white}}
{{Infobox/Row|label=Author|value=Hellkeeper|bgcolor_label=grey|color_label=black|bgcolor=grey|color=white}}
{{Infobox/Footer}}
Riot.jpg

Riot
Map name Riot!
Ideal player count 2-3
Author Hellkeeper
{{Infobox/HeaderNoImage|title=Riot|color_border=grey|bgcolor=white|color=black}}
{{Infobox/Row|label=Map name|value=Riot!|bgcolor_label=grey|color_label=black|bgcolor=grey|color=white}}
{{Infobox/Row|label=Ideal player count|value=2-3|bgcolor_label=grey|color_label=black|bgcolor=grey|color=white}}
{{Infobox/Row|label=Author|value=Hellkeeper|bgcolor_label=grey|color_label=black|bgcolor=grey|color=white}}
{{Infobox/Footer}}
Riot
Map name Riot!
Ideal player count 2-3
Author Hellkeeper