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
Template for rendering tokens in gallery format (via create-page on MediaWiki MCP Server) |
Remove song links - just plain text (via update-page on MediaWiki MCP Server) |
||
| (8 intermediate revisions by the same user not shown) | |||
| 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) | |||
* '''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> | </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}}} | ||
</includeonly> | |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.