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)
 
Rewrite to use blockheight as canonical timestamp (via update-page on MediaWiki MCP Server)
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, Del McCoury Band
|date=2025-01-15
|venue=The Station Inn
|time=8:00 PM
|blockheight=24140272
|venue=The Floridian Social Club
|bands=Band One, Band Two
|scene=St. Petersburg
|price=15
|tickets=https://example.com/tickets
|ages=21+
}}
}}
</pre>
</pre>


=== Parameters ===
=== Parameters ===
* '''name''' - Show title (defaults to "bands @ venue")
* '''artists''' (required) - Comma-separated list of performing artists
* '''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)
* '''scene''' (optional) - Local music scene
* '''bands''' - Performing bands (comma-separated, links to band pages)
* '''price''' (optional) - Ticket price
* '''scene''' - Local music scene
* '''tickets''' (optional) - Ticket purchase URL
* '''price''' - Ticket price
* '''ages''' (optional) - Age restriction (e.g., "21+", "All ages")
* '''tickets''' - Ticket purchase URL
 
* '''ages''' - Age restriction (e.g., "21+", "All ages")
=== SMW Properties Set ===
* <code>Has artist</code> - Multi-value, one per artist
* <code>Has venue</code> - The venue
* <code>At blockheight</code> - The block height timestamp
* <code>Has scene</code> - The music scene (if provided)
 
== Verification ==
Wrap in <code><nowiki>{{bot_proposes}}</nowiki></code> for bot-proposed shows awaiting verification:
 
<pre>
{{bot_proposes|
{{Show
|artists=Billy Strings
|venue=The Station Inn
|blockheight=24140272
}}
|by=Tea|source=stationinn.com}}
</pre>
 
== 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>{| class="infobox show-infobox" style="width: 22em; border: 1px solid #aaa; padding: 0.5em; margin: 0 0 1em 1em; float: right; clear: right; background: #f9f9f9;"
{| class="infobox" style="width: 22em; border: 1px solid #aaa; padding: 0.5em; margin: 0 0 1em 1em; float: right; clear: right; background: #f9f9f9;"
|-
! colspan="2" style="background: #98b; font-size: 1.1em; padding: 0.3em;" | Show @ block {{{blockheight}}}
|-
! Artists
| {{#arraymap:{{{artists}}}|,|x|[[x]]|, }}{{#arraymap:{{{artists}}}|,|x|[[Has artist::x| ]]|}}
|-
|-
! colspan="2" style="background: #98b; font-size: 1.2em; padding: 0.3em;" | {{#if:{{{name|}}}|{{{name}}}|{{{bands|}}} @ {{{venue|}}}}}
{{#if:{{{date|}}}|
{{!}}-
! Date
{{!}} {{{date}}}[[date::{{{date}}}| ]]
}}
{{#if:{{{time|}}}|
{{!}}-
! Time
{{!}} {{{time}}}
}}
{{#if:{{{venue|}}}|
{{!}}-
! Venue
! Venue
{{!}} [[{{{venue}}}]][[venue::{{{venue}}}| ]]
| [[{{{venue}}}]][[Has venue::{{{venue}}}| ]]
}}
|-
{{#if:{{{bands|}}}|
! Block
{{!}}-
| [https://etherscan.io/block/{{{blockheight}}} {{{blockheight}}}][[At blockheight::{{{blockheight}}}| ]]
! Bands
{{!}} {{{bands}}}[[bands::{{{bands}}}| ]]
}}
{{#if:{{{scene|}}}|
{{#if:{{{scene|}}}|
{{!}}-
{{!}}-
! Scene
! Scene
{{!}} [[{{{scene}}}]][[scene::{{{scene}}}| ]]
{{!}} [[{{{scene}}}]][[Has scene::{{{scene}}}| ]]
}}
}}
{{#if:{{{price|}}}|
{{#if:{{{price|}}}|
{{!}}-
{{!}}-
! Price
! Price
{{!}} ${{{price}}}[[price::{{{price}}}| ]]
{{!}} ${{{price}}}
}}
}}
{{#if:{{{tickets|}}}|
{{#if:{{{tickets|}}}|
Line 72: Line 83:
{{!}}-
{{!}}-
! Ages
! Ages
{{!}} {{{ages}}}[[ages::{{{ages}}}| ]]
{{!}} {{{ages}}}
}}
}}
|}
|}[[Category:Shows]]</includeonly>
[[Category:Shows]]
</includeonly>

Revision as of 19:14, 1 January 2026

Show - Structured data template for performances/concerts.

Uses Ethereum blockheight as the canonical timestamp anchor.

Usage

{{Show
|artists=Billy Strings, Del McCoury Band
|venue=The Station Inn
|blockheight=24140272
}}

Parameters

  • artists (required) - Comma-separated list of performing artists
  • venue (required) - Venue name (should match a venue page)
  • blockheight (required) - Ethereum block height when the show started/starts
  • scene (optional) - Local music scene
  • price (optional) - Ticket price
  • tickets (optional) - Ticket purchase URL
  • ages (optional) - Age restriction (e.g., "21+", "All ages")

SMW Properties Set

  • Has artist - Multi-value, one per artist
  • Has venue - The venue
  • At blockheight - The block height timestamp
  • Has scene - The music scene (if provided)

Verification

Wrap in {{bot_proposes}} for bot-proposed shows awaiting verification:

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

Page naming

Show pages should be named: Show:ArtistName-blockheight

Examples:

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

See also