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
Create Show infobox template with semantic properties for event listings (via create-page on MediaWiki MCP Server)
 
Add Has verification status to SMW properties (via update-page on MediaWiki MCP Server)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
== Show Infobox ==
'''Show''' - Structured data template for performances/concerts.
Template for documenting individual performances/concerts. Sets semantic properties for querying upcoming shows by venue, band, scene, or date.


=== Usage ===
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
|status=proposed
|bands=Band One, Band Two
|by=Tea
|scene=St. Petersburg
|source=stationinn.com
|price=15
|tickets=https://example.com/tickets
|ages=21+
}}
}}
[[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)
* '''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)
* '''status''' (optional) - "proposed" for bot-proposed, "verified" for human-verified, blank for unverified
* '''bands''' - Performing bands (comma-separated, links to band pages)
* '''by''' (optional) - Who proposed/verified this
* '''scene''' - Local music scene
* '''source''' (optional) - Source for verification
* '''price''' - Ticket price
* '''price''' (optional) - Ticket price
* '''tickets''' - Ticket purchase URL
* '''tickets''' (optional) - Ticket purchase URL
* '''ages''' - Age restriction (e.g., "21+", "All ages")
* '''ages''' (optional) - Age restriction (e.g., "21+", "All ages")


[[Category:Infobox templates]]
=== SMW Properties Set ===
</noinclude><includeonly>
* <code>Has artist</code> - The artist(s)
{| class="infobox" style="width: 22em; border: 1px solid #aaa; padding: 0.5em; margin: 0 0 1em 1em; float: right; clear: right; background: #f9f9f9;"
* <code>Has venue</code> - The venue
|-
* <code>At blockheight</code> - The block height timestamp
! colspan="2" style="background: #98b; font-size: 1.2em; padding: 0.3em;" | {{#if:{{{name|}}}|{{{name}}}|{{{bands|}}} @ {{{venue|}}}}}
* <code>Has verification status</code> - proposed/verified/unverified
{{#if:{{{date|}}}|
 
{{!}}-
== Page naming ==
! Date
Show pages should be named: <code>Show:ArtistName-blockheight</code>
{{!}} {{{date}}}[[date::{{{date}}}| ]]
 
}}
Examples:
{{#if:{{{time|}}}|
* <code>Show:BillyStrings-24140272</code>
{{!}}-
* <code>Show:BillyStrings_DelMcCouryBand-24140500</code>
! Time
 
{{!}} {{{time}}}
== See also ==
}}
* [[Template:Bot_proposes]]
{{#if:{{{venue|}}}|
* [[Template:Verified]]
{{!}}-
 
! Venue
[[Category:Show templates]]
{{!}} [[{{{venue}}}]][[venue::{{{venue}}}| ]]
</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>
{{#if:{{{bands|}}}|
<div><strong>Artists:</strong> [[{{{artists}}}]]</div>
{{!}}-
<div><strong>Venue:</strong> [[{{{venue}}}]]</div>
! Bands
<div><strong>Block:</strong> [https://etherscan.io/block/{{{blockheight}}} {{{blockheight}}}]</div>
{{!}} {{{bands}}}[[bands::{{{bands}}}| ]]
{{#if:{{{price|}}}|<div><strong>Price:</strong> ${{{price}}}</div>}}
}}
{{#if:{{{tickets|}}}|<div><strong>Tickets:</strong> [{{{tickets}}} Buy tickets]</div>}}
{{#if:{{{scene|}}}|
{{#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>}}
! Scene
{{#ifeq:{{{status|}}}|verified|<div style="font-size: 0.85em; margin-top: 0.5em; color: #228b22;">✓ Verified{{#if:{{{by|}}}| by {{{by}}}|}}</div>}}
{{!}} [[{{{scene}}}]][[scene::{{{scene}}}| ]]
</div>
}}
{{#set:Has artist={{{artists}}}}}
{{#if:{{{price|}}}|
{{#set:Has venue={{{venue}}}}}
{{!}}-
{{#set:At blockheight={{{blockheight}}}}}
! Price
{{#set:Has verification status={{#ifeq:{{{status|}}}|verified|verified|{{#ifeq:{{{status|}}}|proposed|proposed|unverified}}}}}}</includeonly>
{{!}} ${{{price}}}[[price::{{{price}}}| ]]
}}
{{#if:{{{tickets|}}}|
{{!}}-
! Tickets
{{!}} [{{{tickets}}} Buy tickets]
}}
{{#if:{{{ages|}}}|
{{!}}-
! Ages
{{!}} {{{ages}}}[[ages::{{{ages}}}| ]]
}}
|}
[[Category:Shows]]
</includeonly>

Latest revision as of 20:45, 1 January 2026

Show - Structured data template for performances/concerts.

Uses Ethereum blockheight as the canonical timestamp anchor.

Usage[edit]

{{Show
|artists=Billy Strings
|venue=The Station Inn
|blockheight=24140272
|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[edit]

  • 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[edit]

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

Page naming[edit]

Show pages should be named: Show:ArtistName-blockheight

Examples:

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

See also[edit]