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
Magent (talk | contribs)
Create Show infobox template with semantic properties for event listings (via create-page on MediaWiki MCP Server)
 
Magent (talk | contribs)
Add 'date' field (human-readable date string, alongside blockheight as canonical)
 
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
== Show Infobox ==
<!-- |status=proposed -- bot verification marker (kept in noinclude so it doesn't transclude) -->
Template for documenting individual performances/concerts. Sets semantic properties for querying upcoming shows by venue, band, scene, or date.


=== Usage ===
'''Show''' - Structured data template for performances/concerts.
 
Uses Ethereum blockheight as the canonical timestamp anchor.
 
== Usage ==
<pre>
<pre>
{{Show
{{Show
|name=Show Title (optional)
|artists=Billy Strings
|date=2025-01-15
|venue=The Station Inn
|time=8:00 PM
|blockheight=24140272
|venue=The Floridian Social Club
|official_poster=Show-poster.jpg
|bands=Band One, Band Two
|doors_time=7:30 PM
|scene=St. Petersburg
|show_time=8:00 PM
|price=15
|ensemble=Billy Strings; Jarrod Walker; Royal Masat; Alex Hargreaves
|tickets=https://example.com/tickets
|status=proposed
|ages=21+
|by=Tea
|source=stationinn.com
}}
}}
[[Category:Shows]]
</pre>
</pre>
'''Note:''' You must manually add <nowiki>[[Category:Shows]]</nowiki> to pages using this template (SMW bug workaround).


=== Parameters ===
=== Parameters ===
* '''name''' - Show title (defaults to "bands @ venue")
* '''artists''' (required) - Performing artist(s); the headlining name as it appears on the poster
* '''date''' - Date in YYYY-MM-DD format (for sorting/querying)
* '''venue''' (required) - Venue name (should match a venue page)
* '''time''' - Start time
* '''blockheight''' (required) - Ethereum block height when the show started/starts
* '''venue''' - Venue name (links to venue page)
* '''official_poster''' (optional) - Filename of the official show poster (e.g., "Show-poster.jpg"). Takes priority over <code>image</code>.
* '''bands''' - Performing bands (comma-separated, links to band pages)
* '''image''' (optional, deprecated) - Older alias for <code>official_poster</code>. Use <code>official_poster</code> on new pages.
* '''scene''' - Local music scene
* '''date''' (optional) - Human-readable date string (e.g., "Friday, June 5, 2026"). The <code>blockheight</code> is the canonical anchor; <code>date</code> is what humans want to read.
* '''price''' - Ticket price
* '''doors_time''' (optional) - Door time as displayed text (e.g., "7:30 PM")
* '''tickets''' - Ticket purchase URL
* '''show_time''' (optional) - Show start time as displayed text (e.g., "8:00 PM")
* '''ages''' - Age restriction (e.g., "21+", "All ages")
* '''poster_artist''' (optional) - Credit for the graphic designer who made the official poster
 
For listing the musicians, use {{tl|Ensemble}} as a separate block on the page (one per band — headliner, openers, sit-ins).
* '''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 ===
* <code>Artist</code> - The artist(s)
* <code>Venue</code> - The venue
* <code>Blockheight</code> - The block height timestamp
* <code>Poster artist</code> - Graphic designer credit, if provided
* <code>Verification status</code> - proposed/verified/unverified
 
For per-musician <code>Performer</code> SMW properties, use {{tl|Ensemble}} — it sets them on a per-band basis.
 
== Page naming ==
Show pages should be named: <code>Show:ArtistName-blockheight</code>
 
Examples:
* <code>Show:BillyStrings-24140272</code>
* <code>Show:BillyStrings_DelMcCouryBand-24140500</code>
 
== See also ==
* [[Template:Bot_proposes]]
* [[Template:Verified]]


[[Category:Infobox templates]]
[[Category:Show templates]]
</noinclude><includeonly>
</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|}}}">
{| class="infobox" style="width: 22em; border: 1px solid #aaa; padding: 0.5em; margin: 0 0 1em 1em; float: right; clear: right; background: #f9f9f9;"
<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:{{{official_poster|{{{image|}}}}}}|<div style="text-align: center; margin: 0.5em 0;">[[File:{{{official_poster|{{{image|}}}}}}|220px]]</div>|}}<div><strong>Artists:</strong> {{{artists}}}</div>
! colspan="2" style="background: #98b; font-size: 1.2em; padding: 0.3em;" | {{#if:{{{name|}}}|{{{name}}}|{{{bands|}}} @ {{{venue|}}}}}
<div><strong>Venue:</strong> [[{{{venue}}}]]</div>
{{#if:{{{date|}}}|
{{#if:{{{date|}}}|<div><strong>Date:</strong> {{{date}}}</div>|}}<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:{{{poster_artist|}}}|<div><strong>Poster art:</strong> {{{poster_artist}}}</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:{{{poster_artist|}}}|{{#set:Poster artist={{{poster_artist}}}}}|}}{{#set:Verification status={{#ifeq:{{{status|}}}|verified|verified|{{#ifeq:{{{status|}}}|proposed|proposed|unverified}}}}}}</includeonly>
{{!}}-
! Date
{{!}} {{{date}}}[[date::{{{date}}}| ]]
}}
{{#if:{{{time|}}}|
{{!}}-
! Time
{{!}} {{{time}}}
}}
{{#if:{{{venue|}}}|
{{!}}-
! Venue
{{!}} [[{{{venue}}}]][[venue::{{{venue}}}| ]]
}}
{{#if:{{{bands|}}}|
{{!}}-
! Bands
{{!}} {{{bands}}}[[bands::{{{bands}}}| ]]
}}
{{#if:{{{scene|}}}|
{{!}}-
! Scene
{{!}} [[{{{scene}}}]][[scene::{{{scene}}}| ]]
}}
{{#if:{{{price|}}}|
{{!}}-
! Price
{{!}} ${{{price}}}[[price::{{{price}}}| ]]
}}
{{#if:{{{tickets|}}}|
{{!}}-
! Tickets
{{!}} [{{{tickets}}} Buy tickets]
}}
{{#if:{{{ages|}}}|
{{!}}-
! Ages
{{!}} {{{ages}}}[[ages::{{{ages}}}| ]]
}}
|}
[[Category:Shows]]
</includeonly>

Latest revision as of 20:43, 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. Use official_poster on new pages.
  • date (optional) - Human-readable date string (e.g., "Friday, June 5, 2026"). The blockheight is the canonical anchor; date is what humans want to read.
  • 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")
  • poster_artist (optional) - Credit for the graphic designer who made the official poster

For listing the musicians, use Template:Tl as a separate block on the page (one per band — headliner, openers, sit-ins).

  • 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 venue
  • Blockheight - The block height timestamp
  • Poster artist - Graphic designer credit, if provided
  • Verification status - proposed/verified/unverified

For per-musician Performer SMW properties, use Template:Tl — it sets them on a per-band basis.

Page naming

Show pages should be named: Show:ArtistName-blockheight

Examples:

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

See also