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
Improve template: add song names, exercise types, video embedding for Discord URLs, better formatting (via update-page on MediaWiki MCP Server) |
Fix template: use HTML small tag, remove video embed (not supported), clean up SMW properties (via update-page on MediaWiki MCP Server) |
||
| Line 22: | Line 22: | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude><includeonly> | </noinclude><includeonly>{| class="wikitable" style="float:right; margin-left:1em; width:320px;" | ||
{| class="wikitable" style="float:right; margin-left:1em; width:320px | |||
|+ '''Blue Railroad Token #{{{token_id}}}''' | |+ '''Blue Railroad Token #{{{token_id}}}''' | ||
|- | |- | ||
| Line 34: | Line 29: | ||
|5='''Squats''' ([[Blue Railroad Train]]) | |5='''Squats''' ([[Blue Railroad Train]]) | ||
|6='''Pushups''' ([[Nine Pound Hammer]]) | |6='''Pushups''' ([[Nine Pound Hammer]]) | ||
|7='''Squats''' ([[Blue Railroad Train]]) | |7='''Squats''' ([[Blue Railroad Train]]) <small>(legacy)</small> | ||
|10='''Army Crawls''' ([[Ginseng Sullivan]]) | |10='''Army Crawls''' ([[Ginseng Sullivan]]) | ||
|#default=Unknown (ID: {{{song_id}}}) | |#default=Unknown (ID: {{{song_id}}}) | ||
| Line 40: | Line 35: | ||
|- | |- | ||
! Date Minted | ! Date Minted | ||
| | | {{{date|Unknown}}} | ||
|- | |- | ||
! Owner | ! Owner | ||
| | | {{{owner_display}}}{{#ifeq:{{{owner_display}}}|{{{owner}}}||<br/><small>[https://optimistic.etherscan.io/address/{{{owner}}} view on etherscan]</small>}} | ||
|- | |- | ||
! Video | ! Video | ||
| {{#ifeq:{{#pos:{{{uri}}}|ipfs://}}|0| | | {{#ifeq:{{#pos:{{{uri}}}|ipfs://}}|0|[https://gateway.pinata.cloud/ipfs/{{#replace:{{{uri}}}|ipfs://|}} View on IPFS]|{{#ifeq:{{#pos:{{{uri}}}|discord}}||[{{{uri}}} View source]|[https://cryptograss.live/assets/fetched/10-0xCe09A2d0-{{{token_id}}}.mp4 Watch video]}}}} | ||
[https://gateway.pinata.cloud/ipfs/{{#replace:{{{uri}}}|ipfs://|}} View on IPFS] | |||
[https://cryptograss.live/assets/fetched/10-0xCe09A2d0-{{{token_id}}}.mp4 | |||
|- | |- | ||
! Contract | ! Contract | ||
| Line 60: | Line 48: | ||
[[Has token id::{{{token_id}}}]] | [[Has token id::{{{token_id}}}]] | ||
[[Has song id::{{{song_id}}}]] | [[Has song id::{{{song_id}}}]] | ||
[[Has date minted::{{{date|Unknown}}}]] | |||
[[Has video uri::{{{uri}}}]] | [[Has video uri::{{{uri}}}]] | ||
[[Has owner address::{{{owner}}}]] | [[Has owner address::{{{owner}}}]] | ||
[[Has owner::{{{owner_display}}}]] | |||
[[Category:Blue Railroad Tokens]] | [[Category:Blue Railroad Tokens]] | ||
</includeonly> | </includeonly> | ||
Revision as of 20:31, 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...
}}