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
Fix nested wikilink issue - put Rambutan suffix outside the band name link (via update-page on MediaWiki MCP Server) |
Use #rambutanplain instead of #rambutanband to avoid nested wikilink issue (via update-page on MediaWiki MCP Server) |
||
| Line 7: | Line 7: | ||
</pre> | </pre> | ||
Outputs: a link to the band's page, | 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}}}|{{{1}}}]] | </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]
- Template:BandInfo - Infobox template for band article pages
- Template:ShowInstrument - Inline template for musicians with instrument icons