Template:Show: Difference between revisions
From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search
Fix #replace - strip single brackets instead of double to avoid parser issues (via update-page on MediaWiki MCP Server) |
Add official_poster, doors_time, show_time, ensemble fields (with backward-compat image alias) |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<!-- |status=proposed -- bot verification marker (kept in noinclude so it doesn't transclude) --> | |||
'''Show''' - Structured data template for performances/concerts. | '''Show''' - Structured data template for performances/concerts. | ||
| Line 10: | Line 12: | ||
|venue=The Station Inn | |venue=The Station Inn | ||
|blockheight=24140272 | |blockheight=24140272 | ||
| | |official_poster=Show-poster.jpg | ||
|doors_time=7:30 PM | |||
|show_time=8:00 PM | |||
|ensemble=Billy Strings; Jarrod Walker; Royal Masat; Alex Hargreaves | |||
|status=proposed | |status=proposed | ||
|by=Tea | |by=Tea | ||
| Line 22: | Line 27: | ||
=== Parameters === | === Parameters === | ||
* '''artists''' (required) - Performing artist(s) | * '''artists''' (required) - Performing artist(s); the headlining name as it appears on the poster | ||
* '''venue''' (required) - Venue name (should match a venue page) | * '''venue''' (required) - Venue name (should match a venue page) | ||
* '''blockheight''' (required) - Ethereum block height when the show started/starts | * '''blockheight''' (required) - Ethereum block height when the show started/starts | ||
* ''' | * '''official_poster''' (optional) - Filename of the official show poster (e.g., "Show-poster.jpg"). Takes priority over <code>image</code>. | ||
* '''image''' (optional, deprecated) - Older alias for <code>official_poster</code>. Use <code>official_poster</code> on new pages. | |||
* '''doors_time''' (optional) - Door time as displayed text (e.g., "7:30 PM") | |||
* '''show_time''' (optional) - Show start time as displayed text (e.g., "8:00 PM") | |||
* '''ensemble''' (optional) - Semicolon-separated list of performer names. Each becomes a Performer SMW property for queries and backlinks. | |||
* '''title''' (optional) - Custom title for social sharing (defaults to "artists at venue - PickiPedia") | * '''title''' (optional) - Custom title for social sharing (defaults to "artists at venue - PickiPedia") | ||
* '''status''' (optional) - "proposed" for bot-proposed, "verified" for human-verified, blank for unverified | * '''status''' (optional) - "proposed" for bot-proposed, "verified" for human-verified, blank for unverified | ||
| Line 39: | Line 48: | ||
* <code>Venue</code> - The venue | * <code>Venue</code> - The venue | ||
* <code>Blockheight</code> - The block height timestamp | * <code>Blockheight</code> - The block height timestamp | ||
* <code>Performer</code> - One per ensemble member (multi-valued) | |||
* <code>Verification status</code> - proposed/verified/unverified | * <code>Verification status</code> - proposed/verified/unverified | ||
| Line 58: | Line 68: | ||
|site_name=PickiPedia | |site_name=PickiPedia | ||
|type=article | |type=article | ||
|image={{#if:{{{image|}}}|{{filepath:{{{image}}}}}|}}}}<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|}}}"> | |image={{#if:{{{official_poster|{{{image|}}}}}}|{{filepath:{{{official_poster|{{{image|}}}}}}}}|}}}}<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;">{{{artists}}} at {{{venue}}}</div> | <div style="background: #98b; font-size: 1.1em; padding: 0.3em; text-align: center; margin: -0.5em -0.5em 0.5em -0.5em;">{{{artists}}} at {{{venue}}}</div> | ||
{{#if:{{{image|}}}|<div style="text-align: center; margin: 0.5em 0;">[[File:{{{image}}}|220px]]</div>|}}<div><strong>Artists:</strong> {{{artists}}}</div> | {{#if:{{{official_poster|{{{image|}}}}}}|<div style="text-align: center; margin: 0.5em 0;">[[File:{{{official_poster|{{{image|}}}}}}|220px]]</div>|}}<div><strong>Artists:</strong> {{{artists}}}</div> | ||
<div><strong>Venue:</strong> [[{{{venue}}}]]</div> | <div><strong>Venue:</strong> [[{{{venue}}}]]</div> | ||
<div><strong>Showtime:</strong> [https://etherscan.io/block/{{{blockheight}}} {{{blockheight}}}]</div>{{#if:{{{price|}}}|<div><strong>Price:</strong> ${{{price}}}</div>|}}{{#if:{{{tickets|}}}|<div><strong>Tickets:</strong> [{{{tickets}}} Buy tickets]</div>|}}{{#if:{{{ages|}}}|<div><strong>Ages:</strong> {{{ages}}}</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>|}}</div>{{#set:Artist={{#replace:{{#replace:{{{artists}}}|]|}}|[|}}}}{{#set:Venue={{{venue}}}}}{{#set:Blockheight={{{blockheight}}}}}{{#set:Verification status={{#ifeq:{{{status|}}}|verified|verified|{{#ifeq:{{{status|}}}|proposed|proposed|unverified}}}}}}</includeonly> | <div><strong>Showtime:</strong> [https://etherscan.io/block/{{{blockheight}}} {{{blockheight}}}]</div>{{#if:{{{doors_time|}}}|<div><strong>Doors:</strong> {{{doors_time}}}</div>|}}{{#if:{{{show_time|}}}|<div><strong>Show:</strong> {{{show_time}}}</div>|}}{{#if:{{{ensemble|}}}|<div><strong>Ensemble:</strong> {{#arraymap:{{{ensemble}}}|;|x|x|, }}</div>|}}{{#if:{{{price|}}}|<div><strong>Price:</strong> ${{{price}}}</div>|}}{{#if:{{{tickets|}}}|<div><strong>Tickets:</strong> [{{{tickets}}} Buy tickets]</div>|}}{{#if:{{{ages|}}}|<div><strong>Ages:</strong> {{{ages}}}</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>|}}</div>{{#set:Artist={{#replace:{{#replace:{{{artists}}}|]|}}|[|}}}}{{#set:Venue={{{venue}}}}}{{#set:Blockheight={{{blockheight}}}}}{{#if:{{{ensemble|}}}|{{#arraymap:{{{ensemble}}}|;|x|{{#set:Performer=x}}|}}|}}{{#set:Verification status={{#ifeq:{{{status|}}}|verified|verified|{{#ifeq:{{{status|}}}|proposed|proposed|unverified}}}}}}</includeonly> | ||
Revision as of 19:47, 2 June 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
|official_poster=Show-poster.jpg
|doors_time=7:30 PM
|show_time=8:00 PM
|ensemble=Billy Strings; Jarrod Walker; Royal Masat; Alex Hargreaves
|status=proposed
|by=Tea
|source=stationinn.com
}}
[[Category:Shows]]
Note: You must manually add [[Category:Shows]] to pages using this template (SMW bug workaround).
Parameters
- artists (required) - Performing artist(s); the headlining name as it appears on the poster
- venue (required) - Venue name (should match a venue page)
- blockheight (required) - Ethereum block height when the show started/starts
- official_poster (optional) - Filename of the official show poster (e.g., "Show-poster.jpg"). Takes priority over
image. - image (optional, deprecated) - Older alias for
official_poster. Useofficial_posteron new pages. - doors_time (optional) - Door time as displayed text (e.g., "7:30 PM")
- show_time (optional) - Show start time as displayed text (e.g., "8:00 PM")
- ensemble (optional) - Semicolon-separated list of performer names. Each becomes a Performer SMW property for queries and backlinks.
- title (optional) - Custom title for social sharing (defaults to "artists at venue - PickiPedia")
- 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")
- description (optional) - Short description for social sharing cards
SMW Properties Set
Artist- The artist(s)Venue- The venueBlockheight- The block height timestampPerformer- One per ensemble member (multi-valued)Verification status- proposed/verified/unverified
Page naming
Show pages should be named: Show:ArtistName-blockheight
Examples:
Show:BillyStrings-24140272Show:BillyStrings_DelMcCouryBand-24140500