Template:Musician: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Musician" template.
{{#template_params:
It should be called in the following format:
Instrument (label=Instrument(s);category=Items)
<pre>
|Nickname (display=nonempty)
{{Musician
|Genre
|Instrument=
|Favorite colors (label=Favorite color(s))
|Nickname=
|Performances (holds template=Performance)
|Genre=
|Country
|Favorite colors=
|Living (label=Living?)
|Street address=
|Coordinates (label=Location)
|City=
|My test (cargo field=MyTest)
|Country=
|Coordinates=
}}
}}
</pre>
{{#cargo_declare:_table=Musicians
Edit the page to see the template text.
|Instrument=List (,) of Page (mandatory)
{{#cargo_declare:_table=Musicians|Instrument=List (,) of Page (mandatory;label=Instrument(s))
|Nickname=String (regex=.*d)
|Nickname=String (regex=.*d)|Genre=List (,) of String (hierarchy;allowed values=*Classical
|Genre=List (,) of String (hierarchy;allowed values=*Classical
*Jazz
*Jazz
**Bebop
**Bebop
**Dixieland
**Dixieland
*Rock
*Rock
**Rock n' roll
**Blues rock
**Blues rock
**Emo;label=Genres(s))|Favorite_colors=List ( ) of String
**Emo;label=Genres)
|Favorite_colors=List (,) of String
|Street_address=String
|Street_address=String
|City=String|Country=String|Living=Boolean (label=Living?)|Coordinates=Coordinates (label=Location)|MyTest=Wikitext}}
|City=String
|Country=Page
|Living=Boolean
|Coordinates=Coordinates
|MyTest=Wikitext}}
</noinclude><includeonly>{{#cargo_store:}}
</noinclude><includeonly>{{#cargo_store:}}
{{#cargo_display:_table=Musicians|format=sections}}
{{#template_display:_format=table}}


[[Category:Musicians]]
[[Category:Musicians]]
</includeonly>
</includeonly>

Latest revision as of 15:13, May 9, 2023

This is the "Musician" template.

It should be called in the following format:

{{Musician
|Instrument=
|Nickname=
|Genre=
|Favorite colors=
|Performances=
|Country=
|Living=
|Coordinates=
|My test=
}}

Edit the page to see the template text.

This template defines the table "Musicians". View table.