Jump to content

Template:StatusBadge: Difference between revisions

From SankoQuest Wiki
m Seed Sanko wiki page
 
m Seed Sanko wiki page
 
Line 1: Line 1:
<includeonly><span class="sanko-status-badge">{{#if:{{{status|}}}|{{{status}}}|{{#if:{{{1|}}}|{{{1}}}|Needs verification}}}}</span></includeonly><noinclude>
<includeonly>{{#switch: {{lc:{{{status|{{{1|}}}}}}}}
Displays a compact verification/status badge.
| verified | player-verified | gameplay-verified | player verified | gameplay verified = <span class="sanko-status-badge sanko-status-verified" title="Confirmed in-game by a contributor">Verified</span>
| schema-placeholder =
| #default = <span class="sanko-status-badge sanko-status-unverified" title="Seeded from official data — not yet confirmed in-game">Unverified</span>
}}</includeonly><noinclude>
Renders the verification state of a row as a compact chip. Accepts the raw
<code>verification_status</code> value and normalises it to one of two states:
 
* '''Verified''' — a contributor confirmed the fact in-game (values: <code>verified</code>, <code>player-verified</code>, <code>gameplay-verified</code>).
* '''Unverified''' — anything else (e.g. <code>unverified</code>, or a legacy seeded note). This is the default for freshly seeded data.
 
<code>schema-placeholder</code> renders nothing. Set the field to <code>verified</code> once a fact is confirmed; the seed bot preserves that value on re-seed.
</noinclude>
</noinclude>

Latest revision as of 18:55, 2 July 2026

Renders the verification state of a row as a compact chip. Accepts the raw verification_status value and normalises it to one of two states:

  • Verified — a contributor confirmed the fact in-game (values: verified, player-verified, gameplay-verified).
  • Unverified — anything else (e.g. unverified, or a legacy seeded note). This is the default for freshly seeded data.

schema-placeholder renders nothing. Set the field to verified once a fact is confirmed; the seed bot preserves that value on re-seed.