Template:Blue Railroad Token: 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)
Add Release page and IPFS gateway links to token infobox (via update-page on MediaWiki MCP Server)
Magent (talk | contribs)
Add burned banner, fix burned token display, fix empty thumbnail SMW error (via update-page on MediaWiki MCP Server)
 
(One intermediate revision by the same user not shown)
Line 36: Line 36:
}}
}}
</pre>
</pre>
</noinclude><includeonly>{| class="wikitable" style="float:right; margin-left:1em; width:300px;"
</noinclude><includeonly>{{#switch:{{{owner}}}|0x0000000000000000000000000000000000000000|0x000000000000000000000000000000000000dEaD=<div style="background:#fee; border:2px solid #c00; padding:1em; margin-bottom:1em; border-radius:4px;"><strong style="color:#c00;">This token has been burned.</strong> It is no longer owned by anyone and its video is no longer distributed.</div>|#default=}}
{| class="wikitable" style="float:right; margin-left:1em; width:300px;"
|+ '''Blue Railroad Token #{{{token_id}}}'''{{#switch:{{{owner}}}|0x0000000000000000000000000000000000000000|0x000000000000000000000000000000000000dEaD= (Burned)|#default=}}
|+ '''Blue Railroad Token #{{{token_id}}}'''{{#switch:{{{owner}}}|0x0000000000000000000000000000000000000000|0x000000000000000000000000000000000000dEaD= (Burned)|#default=}}
|-
|-
Line 67: Line 68:
|-
|-
! IPFS
! IPFS
| {{#ifeq:{{{pinned|{{{maybelle_pinned|}}}}}}|yes|✓ Pinned on [[Cryptograss:Delivery-kid|delivery-kid]]|⏳ Pending}}
| {{#switch:{{{owner}}}|0x0000000000000000000000000000000000000000|0x000000000000000000000000000000000000dEaD=''N/A (burned)''|#default={{#ifeq:{{{pinned|{{{maybelle_pinned|}}}}}}|yes|✓ Pinned on [[Cryptograss:Delivery-kid|delivery-kid]]|⏳ Pending}}}}
|-
{{#ifeq:{{{uri_type|}}}|ipfs|{{!}}-
{{#ifeq:{{{uri_type|}}}|ipfs|! Release
! Release
{{!}} [[Release:{{{ipfs_cid}}}|View Release]] · [https://ipfs.delivery-kid.cryptograss.live/ipfs/{{{ipfs_cid}}} IPFS gateway]|}}
{{!}} [[Release:{{{ipfs_cid}}}|View Release]]|}}
|}
|}


{{#ifeq:{{{uri_type|}}}|ipfs|{{#ev:videolink|https://ipfs.delivery-kid.cryptograss.live/ipfs/{{{ipfs_cid}}}|480}}|{{#ev:videolink|https://cryptograss.live/assets/fetched/10-0xCe09A2d0-{{{token_id}}}.mp4|480}}}}
{{#switch:{{{owner}}}|0x0000000000000000000000000000000000000000|0x000000000000000000000000000000000000dEaD=|#default={{#ifeq:{{{uri_type|}}}|ipfs|{{#ev:videolink|https://ipfs.delivery-kid.cryptograss.live/ipfs/{{{ipfs_cid}}}|480}}|{{#ev:videolink|https://cryptograss.live/assets/fetched/10-0xCe09A2d0-{{{token_id}}}.mp4|480}}}}
 
{{#ifeq:{{{uri_type|}}}|ipfs|<small>[https://ipfs.delivery-kid.cryptograss.live/ipfs/{{{ipfs_cid}}} View on IPFS gateway]</small>|}}}}


{{#set:
{{#set:
Line 86: Line 89:
|URI Type={{{uri_type}}}
|URI Type={{{uri_type}}}
|IPFS CID={{{ipfs_cid}}}
|IPFS CID={{{ipfs_cid}}}
|Thumbnail=File:{{{thumbnail}}}
{{#ifeq:{{{thumbnail|}}}|||Thumbnail=File:{{{thumbnail}}}}}
|Pinned={{{pinned|{{{maybelle_pinned|}}}}}}
|Pinned={{{pinned|{{{maybelle_pinned|}}}}}}
}}
}}
{{#switch:{{{owner}}}|0x0000000000000000000000000000000000000000|0x000000000000000000000000000000000000dEaD=[[Category:Burned Blue Railroad Tokens]]|#default=[[Category:Blue Railroad Tokens]]}}
{{#switch:{{{owner}}}|0x0000000000000000000000000000000000000000|0x000000000000000000000000000000000000dEaD=[[Category:Burned Blue Railroad Tokens]]|#default=[[Category:Blue Railroad Tokens]]}}
</includeonly>
</includeonly>

Latest revision as of 19:45, 14 April 2026

Template for displaying Blue Railroad NFT token data.

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

Parameters

  • token_id - The NFT token ID
  • song_id - Manzanita track number (5=Nine Pound Hammer/Pushups, 7=Blue Railroad Train/Squats, 8=Ginseng Sullivan/Army Crawls)
  • contract_version - Contract version (V1 or V2)
  • thumbnail - Thumbnail filename (based on IPFS CID, shared across tokens with same video)
  • pinned - Whether video is pinned on delivery-kid IPFS node (yes/no)
  • blockheight - Block height when minted (V2 only)
  • date - Date minted (YYYY-MM-DD format)
  • date_raw - Raw date value from chain
  • owner - Wallet address of current owner
  • owner_display - ENS name or wallet address
  • uri - Video URI (IPFS or Discord)
  • uri_type - Type of URI: ipfs, https, or unknown (set by import script)
  • ipfs_cid - IPFS CID if uri_type is ipfs (set by import script)

Usage

{{Blue Railroad Token
|token_id=0
|song_id=7
|contract_version=V2
|thumbnail=Blue_Railroad_Video_bafybeiabc123.jpg
|pinned=yes
|blockheight=12345678
|date=2026-01-13
|owner=0x123...
|owner_display=someone.eth
|uri=ipfs://bafy...
|uri_type=ipfs
|ipfs_cid=bafy...
}}