Template:Band: Difference between revisions

From PickiPedia: A knowledge base of bluegrass, old time, and other traditional and public domain music
Jump to navigationJump to search
Convert from BandInfo redirect to inline band link template with rambutanband support (via update-page on MediaWiki MCP Server)
Use #rambutanplain instead of #rambutanband to avoid nested wikilink issue (via update-page on MediaWiki MCP Server)
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
</pre>
</pre>


Outputs: a link to the band's page, displaying the name via <code>{{#rambutanband:}}</code> (e.g., ''Mountain Heart (formerly known as "Rambutan")'').
Outputs: a link to the band's page, displaying the name via <code>{{#rambutanplain:}}</code>. When rambutan mode is active, the name will include ''(aka "Rambutan")''.
 
Note: We use <code>{{#rambutanplain:}}</code> rather than <code>{{#rambutanband:}}</code> because <code>rambutanband</code> outputs wikilinks (to the Rambutan page) that can't be nested inside the outer <code><nowiki>[[...|...]]</nowiki></code> wikilink.


== See also ==
== See also ==
* [[Template:BandInfo]] - Infobox template for band article pages
* [[Template:BandInfo]] - Infobox template for band article pages
* [[Template:ShowInstrument]] - Inline template for musicians with instrument icons
* [[Template:ShowInstrument]] - Inline template for musicians with instrument icons
</noinclude><includeonly>[[{{{1}}}|{{#rambutanband:{{{1}}}}}]]</includeonly>
</noinclude><includeonly>[[{{{1}}}|{{#rambutanplain:{{{1}}}}}]]</includeonly>

Latest revision as of 18:41, 30 January 2026

Inline template for linking to a band with RambutanMode support.

Usage[edit]

{{Band|Mountain Heart}}

Outputs: a link to the band's page, displaying the name via . When rambutan mode is active, the name will include (aka "Rambutan").

Note: We use rather than because rambutanband outputs wikilinks (to the Rambutan page) that can't be nested inside the outer [[...|...]] wikilink.

See also[edit]