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
Use Thumbnail property (CID-based) instead of deriving from Token ID (via update-page on MediaWiki MCP Server)
Remove song links - just plain text (via update-page on MediaWiki MCP Server)
 
(5 intermediate revisions by the same user not shown)
Line 6: Line 6:
* '''Token ID''' - The token ID number
* '''Token ID''' - The token ID number
* '''Thumbnail''' - Thumbnail file (from semantic property)
* '''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 ==
== Usage ==
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;">[[{{{Thumbnail}}}|120x120px|link={{{1}}}]]<br/>[[{{{1}}}|Token #{{{Token ID}}}]]</div></includeonly>
</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=Nine Pound Hammer Pushups
|7=Blue Railroad Train Squats
|8=Ginseng Sullivan Army Crawls
|#default=?
}}<br/>{{#ask: [[Ethereum Address::{{{Owner Address}}}]]
|?Display Name
|format=template
|template=Blue Railroad Owner Link
|link=none
|limit=1
|default={{{Owner|?}}}
}}<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.