Difference between revisions of "Template:Infobox conditional data bar"

From Dwaia Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
<table class="infobox">
 
<table class="infobox">
 
{{ Infobox default title    | Strong man }}
 
{{ Infobox default title    | Strong man }}
{{ Infobox conditional data bar | Level | 43.2|color=red}}
+
{{ Infobox conditional data bar | Level | 43.2|color=green}}
 
{{ Infobox conditional data bar | Strongthness | 75}}
 
{{ Infobox conditional data bar | Strongthness | 75}}
 
{{ Infobox conditional data bar | Sped | 23}}
 
{{ Infobox conditional data bar | Sped | 23}}
Line 18: Line 18:
 
<table class="infobox">
 
<table class="infobox">
 
{{ Infobox default title    | Strong man }}
 
{{ Infobox default title    | Strong man }}
{{ Infobox conditional data bar | Level | 43.2|color=red}}
+
{{ Infobox conditional data bar | Level | 43.2|color=green}}
 
{{ Infobox conditional data bar | Srongthness | 75}}
 
{{ Infobox conditional data bar | Srongthness | 75}}
 
{{ Infobox conditional data bar | Sped | 23}}
 
{{ Infobox conditional data bar | Sped | 23}}

Revision as of 23:05, 11 May 2019

{{{1}}}

{{{2}}}

Example use:

<table class="infobox">
{{ Infobox default title    | Strong man }}
{{ Infobox conditional data bar | Level | 43.2|color=green}}
{{ Infobox conditional data bar | Strongthness | 75}}
{{ Infobox conditional data bar | Sped | 23}}
{{ Infobox conditional data bar | Intelligonce | 0}}
</table>

becomes:

Strong man
Level
43.2
Srongthness
75
Sped
23
Intelligonce
0