Difference between revisions of "Template:Infobox conditional data bar"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
<tr> | <tr> | ||
<td>{{{1}}}</td> | <td>{{{1}}}</td> | ||
− | <td style="width:66%"><div style="position:absolute;width:{{{width|190px}}}; background: linear-gradient( | + | <td style="width:66%"><div style="position:absolute;width:{{{width|190px}}}; background: linear-gradient(90deg,transparent {{Scaled number|{{{value}}}}}%,#000000d0 {{Scaled number|{{{value|0}}}}}%),linear-gradient(#00000080, transparent 35%,#ffffff80 50%,transparent 65%,#00000080),{{{color|cyan}}};clip-path: polygon(0% 10%, 100% 10%, 100% 90%, 0% 90%);"><div class="contrasted" style="font-weight:bold;margin:2px">{{{text|{{{value|0}}}}}}</div></div></td> |
</tr>| error}} | </tr>| error}} | ||
</onlyinclude><noinclude> | </onlyinclude><noinclude> |
Revision as of 07:09, 13 June 2019
{{{1}}}
0
Example use:
<table class="infobox"> {{ Infobox default title | Strong man }} {{ Infobox conditional data bar | Level | value=101|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}} {{ Infobox conditional data bar | Shitting Ability | value=1}} {{ Infobox conditional data bar | Candor | value=2}} {{ Infobox conditional data bar | Spiciness | value=3}} {{ Infobox conditional data bar | Constipation | value=4}} ... etc. </table>
becomes:
Strong man | |
---|---|
Level | storng |
Srongthness | 75 |
Sped | 23 |
Intelligonce | 0 |
Shitting Ability | 1 |
Candor | 2 |
Spiciness | 3 |
Constipation | 4 |
Rhodesia | 5 |
Passive-Aggressiveness | 6 |
Smegma Culture | 7 |
Lepton Count | 8 |
Fractal Dimension | 9 |
Saturation | 10 |
Finesse | 11 |
Wrists | 12 |
Maximum Cognitive Recursion | 13 |
Primacy | 14 |
Dog Lover - Cat Lover | dog |
Auspiciousness | 16 |
RAM | 129kb |
Ogle Factor | 18 |
Remaining Mana as of Tuesday | 19 |
Idiosyncrasy | 20 |
Metabolism | 21 |
Autism Spectrum | 22 |
Born Probability | 23% |
Impersonation | 24 |
Asshole Conductivity in Supercooled state | 25 |
Conscientiousness | 26 |
Hand Size | 27 |
Layers | 28 |
Gumption | 29 |
Quaternionic Conjugate | 30 |
Ken of the Great Causal Mist | 31 |
ok-ness | 32 |
Shoe size | 33 |
Cardinality | 34 |
Computational Complexity | 35 |
Lambda Calculi | 36 |
Organelles | 37 |
Number of Cremations Survived | 38 |
Armpit Inventory Capacity | 39 |
YouTube Subscribers | 40 |
Absolute Pitch | 41 |
meme number | 42 |
Permeability to Gamers | 43 |
Indiscretion | 44 |
Moisture | 45 |
Inkling of a Doubt | 46 |
Calories Burnt (THIS WEEK) | 47 |
Opioid Consumption | 48 |
Vernal Hymns | 49 |
Sentences Spoken | 50 |
Sentences Served | 51 |
Veridicality | 52 |
Hubris | 53 |
Folly | 54 |
Gas | 55 |
Intricacy | 56 |
Fine Structure Constant | 57 |
Eminence | 58 |
Evanescence | 59 |
Tetris High Score | 60 |
Naivete | 61 |
Lust | 62 |
Borborygmus Volume (dB) | 63 |
Veneer | 64 |
Snideness | 65 |
Erdos Number | 66 |
Airmiles | 67 |
Power of Friendship | 68 |
Power of Friendship with Benefits | 69 |
Rimming Speed (Hypothetical) | 70 |
Intestine Length (Nether) | 71 |
Humanity | 72 |
Oligarchic Tendency | 73 |
Thesis Length | 74 |
Hipness | 75 |
Polygon Count | 76 |
Gamer Hole Diameter | 77 |
Blood Type | 78 |
Personality | 79 |
Laxativity | 80 |
Asymmetry | 81 |
Crust | 82 |
Pineapple on Pizza Affinity Quotient | 82 |
Temperature at Room Temperature | 83 |
Solve Rate | 84 |
Cringe Limit | 85 |
Orbital Period | 86 |
Replication Speed | 87 |
Baplio Ability | 88 |
Piss | 89 |
Blood Tobacco Content | 90% |
Hemorrhage | 91 |
Aptness | 92 |
Correlation with Reality | 92 |
Hamburger | 93 |
Suspciousness | 94 |
Hem | 95 |
Spit Production | 96 |
Cloaca per Square Inch | 97 |
Halting Time | 98 |
Obsequiousness | 99 |
Spackle | 100 |