Template:Infobox conditional data bar
Jump to navigation
Jump to search
{{{1}}} <div style="position:absolute;width:190px; background: linear-gradient(45deg,transparent Expression error: Unrecognized punctuation character "{".%,#000000d0 Expression error: Unrecognized punctuation character "{".%),linear-gradient(#00000080, transparent 35%,#ffffff80 50%,transparent 65%,#00000080),cyan;clip-path: polygon(0% 20%, 100% 20%, 100% 80%, 0% 80%);">
{{{value}}}
Example use:
<table class="infobox"> {{ Infobox default title | Strong man }} {{ Infobox conditional data bar | Level | value=43.2|color=yellow|text=storng|width=5000px}} {{ Infobox conditional data bar | Strongthness | value=75}} {{ Infobox conditional data bar | Sped | value=23}} {{ Infobox conditional data bar | Intelligonce | value=0}} </table>
becomes:
Strong man | |
---|---|
Level | storng |
Srongthness | 75 |
Sped | 23 |
Intelligonce | 0 |