Jump to content

Template:Luanda relationship: Difference between revisions

The encyclopedia for artists who aren't on Wikipedia
Template for relationship-to-Luanda line
 
Add group/group2 parameters that file pages into Luanda's relationship categories
Line 1: Line 1:
<div class="luanda-relationship" style="font-style:italic; margin-bottom:0.6em;">'''Relationship to [[Luanda de Hilster]]:''' {{{1}}}</div><noinclude>
<div class="luanda-relationship" style="font-style:italic; margin-bottom:0.6em;">'''Relationship to [[Luanda de Hilster]]:''' {{{1}}}</div><includeonly>{{#ifeq:{{NAMESPACE}}||{{#switch:{{{group|}}}
| castmate = [[Category:Luanda's castmates]]
| teacher  = [[Category:Luanda's teachers and directors]]
| studio  = [[Category:Luanda's studios and theatres]]
| school  = [[Category:Luanda's school drama programs]]
}}{{#switch:{{{group2|}}}
| castmate = [[Category:Luanda's castmates]]
| teacher  = [[Category:Luanda's teachers and directors]]
| studio  = [[Category:Luanda's studios and theatres]]
| school  = [[Category:Luanda's school drama programs]]
}}}}</includeonly><noinclude>
Shows a one-line note at the top of a page stating its relationship to [[Luanda de Hilster]].
Shows a one-line note at the top of a page stating its relationship to [[Luanda de Hilster]].


Usage: <code><nowiki>{{Luanda relationship|Luanda's voice teacher.}}</nowiki></code>
Usage: <code><nowiki>{{Luanda relationship|Luanda's voice teacher.|group=teacher}}</nowiki></code>
 
The optional <code>group</code> (and a second <code>group2</code>) files the page in one of the groups shown by the buttons on the [[Main Page]]:
* <code>castmate</code>: [[:Category:Luanda's castmates]]
* <code>teacher</code>: [[:Category:Luanda's teachers and directors]]
* <code>studio</code>: [[:Category:Luanda's studios and theatres]]
* <code>school</code>: [[:Category:Luanda's school drama programs]]
</noinclude>
</noinclude>

Revision as of 23:28, 15 November 2026

Relationship to Luanda de Hilster: {{{1}}}

Shows a one-line note at the top of a page stating its relationship to Luanda de Hilster.

Usage: {{Luanda relationship|Luanda's voice teacher.|group=teacher}}

The optional group (and a second group2) files the page in one of the groups shown by the buttons on the Main Page: