Template:Show: Difference between revisions

From PickiPedia: A knowledge base of bluegrass, old time, and other traditional and public domain music
Jump to navigationJump to search
Simplify #set - remove nested conditionals to debug (via update-page on MediaWiki MCP Server)
Move #set calls to end of template on separate lines (via update-page on MediaWiki MCP Server)
Line 45: Line 45:


[[Category:Show templates]]
[[Category:Show templates]]
</noinclude><includeonly>{{#set:Has artist={{{artists}}}}}{{#set:Has venue={{{venue}}}}}{{#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; margin: 0 0 1em 1em; float: right; clear: right; {{#ifeq:{{{status|}}}|proposed|background: #fff3cd; border-left: 3px solid #ffc107;|background: #f9f9f9;}}" data-source="{{{source|}}}" data-proposed-by="{{{by|}}}">
</noinclude><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; margin: 0 0 1em 1em; float: right; clear: right; {{#ifeq:{{{status|}}}|proposed|background: #fff3cd; border-left: 3px solid #ffc107;|background: #f9f9f9;}}" data-source="{{{source|}}}" data-proposed-by="{{{by|}}}">
<div style="background: #98b; font-size: 1.1em; padding: 0.3em; text-align: center; margin: -0.5em -0.5em 0.5em -0.5em;">'''Show @ block {{{blockheight}}}'''</div>
<div style="background: #98b; font-size: 1.1em; padding: 0.3em; text-align: center; margin: -0.5em -0.5em 0.5em -0.5em;">'''Show @ block {{{blockheight}}}'''</div>
<div><strong>Artists:</strong> [[{{{artists}}}]]</div>
<div><strong>Artists:</strong> [[{{{artists}}}]]</div>
Line 55: Line 55:
{{#ifeq:{{{status|}}}|proposed|<div style="font-size: 0.85em; margin-top: 0.5em; color: #856404;">Proposed by {{{by|bot}}} via {{{source|unknown}}}</div>}}
{{#ifeq:{{{status|}}}|proposed|<div style="font-size: 0.85em; margin-top: 0.5em; color: #856404;">Proposed by {{{by|bot}}} via {{{source|unknown}}}</div>}}
{{#ifeq:{{{status|}}}|verified|<div style="font-size: 0.85em; margin-top: 0.5em; color: #228b22;">✓ Verified{{#if:{{{by|}}}| by {{{by}}}|}}</div>}}
{{#ifeq:{{{status|}}}|verified|<div style="font-size: 0.85em; margin-top: 0.5em; color: #228b22;">✓ Verified{{#if:{{{by|}}}| by {{{by}}}|}}</div>}}
</div>[[Category:Shows]]</includeonly>
</div>
{{#set:Has artist={{{artists}}}}}
{{#set:Has venue={{{venue}}}}}
{{#set:At blockheight={{{blockheight}}}}}
[[Category:Shows]]</includeonly>

Revision as of 20:37, 1 January 2026

Show - Structured data template for performances/concerts.

Uses Ethereum blockheight as the canonical timestamp anchor.

Usage

{{Show
|artists=Billy Strings
|venue=The Station Inn
|blockheight=24140272
|status=proposed
|by=Tea
|source=stationinn.com
}}

Parameters

  • artists (required) - Performing artist(s)
  • venue (required) - Venue name (should match a venue page)
  • blockheight (required) - Ethereum block height when the show started/starts
  • status (optional) - "proposed" for bot-proposed, "verified" for human-verified, blank for unverified
  • by (optional) - Who proposed/verified this
  • source (optional) - Source for verification
  • price (optional) - Ticket price
  • tickets (optional) - Ticket purchase URL
  • ages (optional) - Age restriction (e.g., "21+", "All ages")

SMW Properties Set

  • Has artist - The artist(s)
  • Has venue - The venue
  • At blockheight - The block height timestamp
  • Has verification status - proposed/verified/unverified

Page naming

Show pages should be named: Show:ArtistName-blockheight

Examples:

  • Show:BillyStrings-24140272
  • Show:BillyStrings_DelMcCouryBand-24140500

See also