Template:BlueRailroadTokenCard: 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)
Use Has ipfs cid directly instead of parsing URI with unavailable string functions (via update-page on MediaWiki MCP Server)
Magent (talk | contribs)
Use correct Manzanita track numbers: 5=Pushups, 7=Squats, 8=Army Crawls (via update-page on MediaWiki MCP Server)
 
Line 1: Line 1:
<noinclude>
<noinclude>
Display template for Blue Railroad tokens in SMW query results. Shows a card with video embed.
Display template for Blue Railroad tokens in SMW query results. Shows a card with video embed.
Song IDs correspond to track numbers on Tony Rice's ''Manzanita'' album (1979).


== Usage ==
== Usage ==
Line 27: Line 29:
* {{{2}}} - Has token id
* {{{2}}} - Has token id
* {{{3}}} - Has owner
* {{{3}}} - Has owner
* {{{4}}} - Has song id
* {{{4}}} - Has song id (Manzanita track number)
* {{{5}}} - Has date minted
* {{{5}}} - Has date minted
* {{{6}}} - Has video uri
* {{{6}}} - Has video uri
* {{{7}}} - Has owner address
* {{{7}}} - Has owner address
* {{{8}}} - Has ipfs cid
* {{{8}}} - Has ipfs cid
== Song ID / Manzanita Track Mapping ==
* 5 = Nine Pound Hammer → Pushups
* 7 = Blue Railroad Train → Squats
* 8 = Ginseng Sullivan → Army Crawls


[[Category:Blue Railroad Templates]]
[[Category:Blue Railroad Templates]]
Line 40: Line 47:


{{#switch:{{{4}}}
{{#switch:{{{4}}}
|5=🏋️ '''Squats''' ([[Blue Railroad Train]])
|5=💪 '''Pushups''' ([[Nine Pound Hammer]])
|6=💪 '''Pushups''' ([[Nine Pound Hammer]])
|7=🏋️ '''Squats''' ([[Blue Railroad Train]])
|10=🐊 '''Army Crawls''' ([[Ginseng Sullivan]])
|8=🐊 '''Army Crawls''' ([[Ginseng Sullivan]])
|#default=Exercise #{{{4}}}
|#default=Exercise (track {{{4}}})
}}
}}



Latest revision as of 18:53, 21 January 2026

Display template for Blue Railroad tokens in SMW query results. Shows a card with video embed.

Song IDs correspond to track numbers on Tony Rice's Manzanita album (1979).

Usage

Use with SMW ask queries:

{{#ask: [[Category:Blue Railroad Tokens]]
|?Has token id
|?Has owner
|?Has song id
|?Has date minted
|?Has video uri
|?Has owner address
|?Has ipfs cid
|format=template
|template=BlueRailroadTokenCard
|link=none
|limit=5
|sort=Has date minted
|order=desc
}}

Parameters (set by SMW)

When using format=template with link=none:

  • {{{1}}} - Page title (plain text, e.g., "Blue Railroad Token 3")
  • {{{2}}} - Has token id
  • {{{3}}} - Has owner
  • {{{4}}} - Has song id (Manzanita track number)
  • {{{5}}} - Has date minted
  • {{{6}}} - Has video uri
  • {{{7}}} - Has owner address
  • {{{8}}} - Has ipfs cid

Song ID / Manzanita Track Mapping

  • 5 = Nine Pound Hammer → Pushups
  • 7 = Blue Railroad Train → Squats
  • 8 = Ginseng Sullivan → Army Crawls