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 #set parser function to hide SMW property annotations (via update-page on MediaWiki MCP Server) |
Fix IPFS detection with #ifexpr, remove video URI from SMW (ipfs:// not valid URI scheme) (via update-page on MediaWiki MCP Server) |
||
| Line 41: | Line 41: | ||
|- | |- | ||
! Video | ! Video | ||
| {{# | | {{#ifexpr: {{#pos:{{{uri}}}|ipfs://}} >= 0 | [https://gateway.pinata.cloud/ipfs/{{#replace:{{{uri}}}|ipfs://|}} View on IPFS] | {{#ifexpr: {{#pos:{{{uri}}}|discord}} >= 0 | [https://cryptograss.live/assets/fetched/10-0xCe09A2d0-{{{token_id}}}.mp4 Watch video] | [{{{uri}}} View source] }} }} | ||
|- | |- | ||
! Contract | ! Contract | ||
| Line 50: | Line 50: | ||
|Has song id={{{song_id}}} | |Has song id={{{song_id}}} | ||
|Has date minted={{{date|Unknown}}} | |Has date minted={{{date|Unknown}}} | ||
|Has owner address={{{owner}}} | |Has owner address={{{owner}}} | ||
|Has owner={{{owner_display}}} | |Has owner={{{owner_display}}} | ||
Revision as of 20:33, 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)
Usage
{{Blue Railroad Token
|token_id=0
|song_id=5
|date=2026-01-13
|owner=0x123...
|owner_display=someone.eth
|uri=ipfs://bafy...
}}