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)
Show #n, song, owner, blockheight (via update-page on MediaWiki MCP Server)
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
* '''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=Pushups
|7=Squats
|8=Army Crawls
|#default=?
}}<br/>{{{Owner|?}}}<br/>blk {{{Blockheight|?}}}</small></div></includeonly>

Revision as of 04:56, 11 February 2026

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

Parameters

  • 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
  • Blockheight - Block height when minted

Usage

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