Template:Show2: Difference between revisions

From PickiPedia: A knowledge base of bluegrass, old time, and other traditional and public domain music
Jump to navigationJump to search
Add div structure to test (via update-page on MediaWiki MCP Server)
Add ifeq conditionals to test (via update-page on MediaWiki MCP Server)
Line 1: Line 1:
<includeonly>{{#set:Has venue={{{venue}}}}}{{#set:Has artist={{{artists}}}}}{{#set:At blockheight={{{blockheight}}}}}<div class="show-infobox" style="width: 22em; border: 1px solid #aaa; padding: 0.5em;">
<includeonly>{{#set:Has venue={{{venue}}}}}{{#set:Has artist={{{artists}}}}}{{#set:At blockheight={{{blockheight}}}}}<div class="show-infobox {{#ifeq:{{{status|}}}|proposed|bot-proposal|{{#ifeq:{{{status|}}}|verified|show-verified|show-unverified}}}}" style="width: 22em; border: 1px solid #aaa; padding: 0.5em;">
<div>'''Show @ block {{{blockheight}}}'''</div>
<div>'''Show @ block {{{blockheight}}}'''</div>
<div><strong>Artists:</strong> [[{{{artists}}}]]</div>
<div><strong>Artists:</strong> [[{{{artists}}}]]</div>
<div><strong>Venue:</strong> [[{{{venue}}}]]</div>
<div><strong>Venue:</strong> [[{{{venue}}}]]</div>
</div></includeonly><noinclude>Minimal show template test with div</noinclude>
{{#ifeq:{{{status|}}}|verified|<div style="color: green;">✓ Verified</div>}}
</div></includeonly><noinclude>Minimal show template test with ifeq</noinclude>

Revision as of 20:39, 1 January 2026

Minimal show template test with ifeq