Template:Blue Railroad Gallery Item: Difference between revisions

From PickiPedia: A knowledge base of bluegrass, old time, and other traditional and public domain music
Jump to navigationJump to search
Look up user page by Ethereum address, show ENS name linked to user page (via update-page on MediaWiki MCP Server)
Remove song links - just plain text (via update-page on MediaWiki MCP Server)
 
(3 intermediate revisions by the same user not shown)
Line 14: Line 14:
Called automatically by <code>{{#ask:}}</code> with <code>format=template</code>.
Called automatically by <code>{{#ask:}}</code> with <code>format=template</code>.
</noinclude><includeonly><div style="display:inline-block;margin:4px;text-align:center;vertical-align:top;width:130px;">[[{{{Thumbnail}}}|120x120px|link={{{1}}}]]<br/>[[{{{1}}}|#{{{Token ID}}}]]<br/><small>{{#switch:{{{Song ID}}}
</noinclude><includeonly><div style="display:inline-block;margin:4px;text-align:center;vertical-align:top;width:130px;">[[{{{Thumbnail}}}|120x120px|link={{{1}}}]]<br/>[[{{{1}}}|#{{{Token ID}}}]]<br/><small>{{#switch:{{{Song ID}}}
|5=Pushups
|5=Nine Pound Hammer Pushups
|7=Squats
|7=Blue Railroad Train Squats
|8=Army Crawls
|8=Ginseng Sullivan Army Crawls
|#default=?
|#default=?
}}<br/>{{#ask: [[Ethereum Address::{{{Owner Address}}}]]
}}<br/>{{#ask: [[Ethereum Address::{{{Owner Address}}}]]
|?Display Name=
|?Display Name
|mainlabel=+
|format=template
|format=plainlist
|template=Blue Railroad Owner Link
|link=subject
|link=none
|limit=1
|limit=1
|default={{{Owner|?}}}
|default={{{Owner|?}}}
}}<br/>blk {{{Blockheight|?}}}</small></div></includeonly>
}}<br/>blk {{{Blockheight|?}}}</small></div></includeonly>

Latest revision as of 05:03, 11 February 2026

Helper template for displaying Blue Railroad tokens in a gallery. Used by semantic queries.

Parameters[edit]

  • 1 - Page name (token page)
  • Token ID - The token ID number
  • Thumbnail - Thumbnail file (from semantic property)
  • Song ID - Manzanita track number
  • Owner - Owner display name (fallback)
  • Owner Address - Ethereum wallet address (for user page lookup)
  • Blockheight - Block height when minted

Usage[edit]

Called automatically by The query description has an empty condition. with format=template.