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 ifeq conditionals to test (via update-page on MediaWiki MCP Server)
Move #set to end of template like Show (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 {{#ifeq:{{{status|}}}|proposed|bot-proposal|{{#ifeq:{{{status|}}}|verified|show-verified|show-unverified}}}}" style="width: 22em; border: 1px solid #aaa; padding: 0.5em;">
<includeonly><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>
{{#ifeq:{{{status|}}}|verified|<div style="color: green;">✓ Verified</div>}}
{{#ifeq:{{{status|}}}|verified|<div style="color: green;">✓ Verified</div>}}
</div></includeonly><noinclude>Minimal show template test with ifeq</noinclude>
</div>
{{#set:Has venue={{{venue}}}}}
{{#set:Has artist={{{artists}}}}}
{{#set:At blockheight={{{blockheight}}}}}</includeonly><noinclude>Testing #set at end</noinclude>

Revision as of 20:40, 1 January 2026

Testing #set at end