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
Constrain both width and height to 120px (via update-page on MediaWiki MCP Server)
Use Thumbnail property (CID-based) instead of deriving from Token ID (via update-page on MediaWiki MCP Server)
Line 5: Line 5:
* '''1''' - Page name (token page)
* '''1''' - Page name (token page)
* '''Token ID''' - The token ID number
* '''Token ID''' - The token ID number
* '''Thumbnail''' - Thumbnail file (from semantic property)


== 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;">[[File:Blue Railroad Token {{{Token ID}}} thumbnail.jpg|120x120px|link={{{1}}}]]<br/>[[{{{1}}}|Token #{{{Token ID}}}]]</div></includeonly>
</noinclude><includeonly><div style="display:inline-block;margin:4px;text-align:center;">[[{{{Thumbnail}}}|120x120px|link={{{1}}}]]<br/>[[{{{1}}}|Token #{{{Token ID}}}]]</div></includeonly>

Revision as of 04:15, 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)

Usage

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