Template:Blue Railroad Token: Difference between revisions
From PickiPedia: A knowledge base of bluegrass, old time, and other traditional and public domain music
Jump to navigationJump to search
Use uri_type and ipfs_cid parameters from import script (StringFunctions not available) (via update-page on MediaWiki MCP Server) |
Embed video from cryptograss.live with IPFS fallback link (via update-page on MediaWiki MCP Server) |
||
| Line 44: | Line 44: | ||
| {{{owner_display}}}{{#ifeq:{{{owner_display}}}|{{{owner}}}||<br/><small>[https://optimistic.etherscan.io/address/{{{owner}}} view on etherscan]</small>}} | | {{{owner_display}}}{{#ifeq:{{{owner_display}}}|{{{owner}}}||<br/><small>[https://optimistic.etherscan.io/address/{{{owner}}} view on etherscan]</small>}} | ||
|- | |- | ||
| colspan="2" style="text-align:center; padding:8px;" | <video width="288" controls><source src="https://cryptograss.live/assets/fetched/10-0xCe09A2d0-{{{token_id}}}.mp4" type="video/mp4">Your browser does not support video.</video> | |||
| | {{#ifeq:{{{uri_type|}}}|ipfs|<br/><small>[https://gateway.pinata.cloud/ipfs/{{{ipfs_cid}}} View original on IPFS]</small>|}} | ||
| | |||
}} | |||
|- | |- | ||
! Contract | ! Contract | ||
Revision as of 23:04, 15 January 2026
Template for displaying Blue Railroad NFT token data.
Parameters
- token_id - The NFT token ID
- song_id - The song ID (5=Blue Railroad Train, 6=Nine Pound Hammer, 10=Ginseng Sullivan)
- 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=5
|date=2026-01-13
|owner=0x123...
|owner_display=someone.eth
|uri=ipfs://bafy...
|uri_type=ipfs
|ipfs_cid=bafy...
}}