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
Add WikiSEO integration for automatic social sharing cards (via update-page on MediaWiki MCP Server) |
Add optional title param, rename SMW properties (remove "Has" prefix) (via update-page on MediaWiki MCP Server) |
||
| Line 24: | Line 24: | ||
* '''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 | ||
* '''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 | ||
* '''by''' (optional) - Who proposed/verified this | * '''by''' (optional) - Who proposed/verified this | ||
| Line 33: | Line 34: | ||
=== SMW Properties Set === | === SMW Properties Set === | ||
* <code> | * <code>Artist</code> - The artist(s) | ||
* <code> | * <code>Venue</code> - The venue | ||
* <code> | * <code>Blockheight</code> - The block height timestamp | ||
* <code> | * <code>Verification status</code> - proposed/verified/unverified | ||
== Page naming == | == Page naming == | ||
| Line 51: | Line 52: | ||
[[Category:Show templates]] | [[Category:Show templates]] | ||
</noinclude><includeonly>{{#seo: | </noinclude><includeonly>{{#seo: | ||
|title={{{artists}}} at {{{venue}}} - PickiPedia | |title={{#if:{{{title|}}}|{{{title}}}|{{{artists}}} at {{{venue}}} - PickiPedia}} | ||
|description={{#if:{{{description|}}}|{{{description}}}|{{{artists}}} performing at {{{venue}}} (block {{{blockheight}}})}} | |description={{#if:{{{description|}}}|{{{description}}}|{{{artists}}} performing at {{{venue}}} (block {{{blockheight}}})}} | ||
|site_name=PickiPedia | |site_name=PickiPedia | ||
| Line 66: | Line 67: | ||
{{#ifeq:{{{status|}}}|verified|<div style="font-size: 0.85em; margin-top: 0.5em; color: #228b22;">✓ Verified{{#if:{{{by|}}}| by {{{by}}}|}}</div>}} | {{#ifeq:{{{status|}}}|verified|<div style="font-size: 0.85em; margin-top: 0.5em; color: #228b22;">✓ Verified{{#if:{{{by|}}}| by {{{by}}}|}}</div>}} | ||
</div> | </div> | ||
{{#set: | {{#set:Artist={{{artists}}}}} | ||
{{#set: | {{#set:Venue={{{venue}}}}} | ||
{{#set: | {{#set:Blockheight={{{blockheight}}}}} | ||
{{#set: | {{#set:Verification status={{#ifeq:{{{status|}}}|verified|verified|{{#ifeq:{{{status|}}}|proposed|proposed|unverified}}}}}}</includeonly> | ||
Revision as of 15:42, 7 February 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
|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)
- venue (required) - Venue name (should match a venue page)
- blockheight (required) - Ethereum block height when the show started/starts
- 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 timestampVerification status- proposed/verified/unverified
Page naming
Show pages should be named: Show:ArtistName-blockheight
Examples:
Show:BillyStrings-24140272Show:BillyStrings_DelMcCouryBand-24140500