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''' - Structured data template for performances/concerts. | |||
Uses Ethereum blockheight as the canonical timestamp anchor. | |||
== Usage == | |||
<pre> | <pre> | ||
{{Show | {{Show | ||
| | |artists=Billy Strings, Del McCoury Band | ||
|venue=The Station Inn | |||
|blockheight=24140272 | |||
|venue=The | |||
| | |||
}} | }} | ||
</pre> | </pre> | ||
=== Parameters === | === 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 | |||
* '''venue''' - Venue name ( | * '''scene''' (optional) - Local music scene | ||
* ''' | * '''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: | [[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| ]]|}} | |||
|- | |- | ||
! Venue | ! Venue | ||
| [[{{{venue}}}]][[Has venue::{{{venue}}}| ]] | |||
|- | |||
! Block | |||
| [https://etherscan.io/block/{{{blockheight}}} {{{blockheight}}}][[At blockheight::{{{blockheight}}}| ]] | |||
! | |||
{{ | |||
{{#if:{{{scene|}}}| | {{#if:{{{scene|}}}| | ||
{{!}}- | {{!}}- | ||
! Scene | ! Scene | ||
{{!}} [[{{{scene}}}]][[scene::{{{scene}}}| ]] | {{!}} [[{{{scene}}}]][[Has scene::{{{scene}}}| ]] | ||
}} | }} | ||
{{#if:{{{price|}}}| | {{#if:{{{price|}}}| | ||
{{!}}- | {{!}}- | ||
! Price | ! Price | ||
{{!}} ${{{price}}} | {{!}} ${{{price}}} | ||
}} | }} | ||
{{#if:{{{tickets|}}}| | {{#if:{{{tickets|}}}| | ||
| Line 72: | Line 83: | ||
{{!}}- | {{!}}- | ||
! 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 artistHas venue- The venueAt blockheight- The block height timestampHas 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-24140272Show:BillyStrings_DelMcCouryBand-24140500