Template:Onyx Row: Difference between revisions
From The Jadnix Codex
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude>This is the row formatter for the Onyx Registry.</noinclude> | <noinclude> | ||
This is the row formatter for the Onyx Registry. It is designed to work within a Wikitext table. | |||
{| class="onyx-ledger" | |||
! ENTITY !! CR !! STATS !! INTEL | |||
{{Onyx Row|Name=Preview Entity|Class=B|CR=85000|STR=14377|DEF=10647|SPD=18332|ACU=16636|SOL=25008|Description=This is a preview description.}} | |||
|} | |||
</noinclude><includeonly> | |||
|- class="onyx-row row-class-{{{Class|}}}" data-cr="{{{CR|0}}}" | |- class="onyx-row row-class-{{{Class|}}}" data-cr="{{{CR|0}}}" | ||
| style="font-weight:bold; color:var(--void-accent);" | [[{{{Name|}}}]] | | style="font-weight:bold; color:var(--void-accent);" | [[{{{Name|}}}]] | ||
| style="text-align:center;" | {{{CR|0}}} | | style="text-align:center;" | {{#formatnum:{{{CR|0}}}}} | ||
| | | | ||
<div class="stat-container"> | <div class="stat-container"> | ||
<div class="stat-label">STR</div> | <div class="stat-label">STR</div> | ||
<div class="stat-bar-container"><div class="stat-bar-fill" style="width:{{#expr: ({{{STR|0}}} / | <div class="stat-bar-container"><div class="stat-bar-fill" style="width:{{#expr: ({{{STR|0}}} / 100000) * 100 round 0}}%;"></div></div> | ||
<div class="stat-label">DEF</div> | <div class="stat-label">DEF</div> | ||
<div class="stat-bar-container"><div class="stat-bar-fill" style="width:{{#expr: ({{{DEF|0}}} / | <div class="stat-bar-container"><div class="stat-bar-fill" style="width:{{#expr: ({{{DEF|0}}} / 100000) * 100 round 0}}%;"></div></div> | ||
<div class="stat-label">SPD</div> | <div class="stat-label">SPD</div> | ||
<div class="stat-bar-container"><div class="stat-bar-fill" style="width:{{#expr: ({{{SPD|0}}} / | <div class="stat-bar-container"><div class="stat-bar-fill" style="width:{{#expr: ({{{SPD|0}}} / 100000) * 100 round 0}}%;"></div></div> | ||
<div class="stat-label">ACU</div> | <div class="stat-label">ACU</div> | ||
<div class="stat-bar-container"><div class="stat-bar-fill" style="width:{{#expr: ({{{ACU|0}}} / | <div class="stat-bar-container"><div class="stat-bar-fill" style="width:{{#expr: ({{{ACU|0}}} / 100000) * 100 round 0}}%;"></div></div> | ||
<div class="stat-label">SOL</div> | <div class="stat-label">SOL</div> | ||
<div class="stat-bar-container"><div class="stat-bar-fill" style="width:{{#expr: ({{{SOL|0}}} / | <div class="stat-bar-container"><div class="stat-bar-fill" style="width:{{#expr: ({{{SOL|0}}} / 100000) * 100 round 0}}%;"></div></div> | ||
</div> | </div> | ||
| style="font-size:0.85em; color:#888;" | {{{Description|}}} | | style="font-size:0.85em; color:#888;" | {{{Description|}}} | ||
</includeonly> | |||
Revision as of 13:56, 13 February 2026
This is the row formatter for the Onyx Registry. It is designed to work within a Wikitext table.
| ENTITY | CR | STATS | INTEL |
|---|---|---|---|
| Preview Entity | {{#formatnum:85000}} |
STR
DEF
SPD
ACU
SOL
|
This is a preview description. |