Jump to content

Template:Verification: Difference between revisions

From ICE List Wiki
[unchecked revision][unchecked revision]
No edit summary
No edit summary
ย 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
{{Verification|Unverified}}
{{Verification|Unverified}}


Works in BOTH places:
Note:
- On the page: shows a banner
This template always outputs BOTH:
- Inside the infobox: shows a compact inline label (CSS controls which one is visible)
- an inline label (for infobox)
</noinclude><includeonly>
- a banner (for the page body)
{{#switch: {{{mode|both}}}
| inline =
ย  <span class="ic-verify-inline" data-status="{{{status|{{{1|Unverified}}}}}}">
ย  ย  {{{status|{{{1|Unverified}}}}}}
ย  </span>


| banner =
CSS decides which one is visible where.
ย  <div class="ic-verify-banner" data-status="{{{status|{{{1|Unverified}}}}}}">
</noinclude>
ย  ย  <strong>Verification status:</strong> {{{status|{{{1|Unverified}}}}}}
<includeonly>
ย  </div>
<span class="ic-verify-inline" data-status="{{{status|{{{1|Unverified}}}}}}">
ย 
{{{status|{{{1|Unverified}}}}}}
| both =
</span>
ย  <div class="ic-verify-banner" data-status="{{{status|{{{1|Unverified}}}}}}">
<div class="ic-verify-banner" data-status="{{{status|{{{1|Unverified}}}}}}">
ย  ย  <strong>Verification status:</strong> {{{status|{{{1|Unverified}}}}}}
<strong>Verification status:</strong> {{{status|{{{1|Unverified}}}}}}
ย  </div>
</div>
ย  <span class="ic-verify-inline" data-status="{{{status|{{{1|Unverified}}}}}}">
ย  ย  {{{status|{{{1|Unverified}}}}}}
ย  </span>
ย 
| #default =
ย  <div class="ic-verify-banner" data-status="{{{status|{{{1|Unverified}}}}}}">
ย  ย  <strong>Verification status:</strong> {{{status|{{{1|Unverified}}}}}}
ย  </div>
ย  <span class="ic-verify-inline" data-status="{{{status|{{{1|Unverified}}}}}}">
ย  ย  {{{status|{{{1|Unverified}}}}}}
ย  </span>
}}
</includeonly>
</includeonly>

Latest revision as of 18:59, 16 December 2025

Displays verification status.

Usage:


Verified

Verification status: Verified


Partially Verified

Verification status: Partially Verified


Unverified

Verification status: Unverified


Note: This template always outputs BOTH: - an inline label (for infobox) - a banner (for the page body)

CSS decides which one is visible where.