Template:Musician: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(Generated from a page schema)
(Undo revision 32437 by Yaron Koren (talk))
Tag: Undo
Line 7: Line 7:
|Nickname=
|Nickname=
|Genre=
|Genre=
|Favorite colors=
|Street address=
|City=
|Country=
|Coordinates=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
{{#cargo_declare:_table=Musicians|Instrument=List (,) of Page (mandatory)
|Nickname=String (regex=.*d)|Genre=List (,) of String (hierarchy;allowed values=*Classical
*Jazz
**Bebop
**Dixieland
*Rock
**Blues rock
**Emo)|Favorite_colors=List ( ) of String
|Street_address=String (unique)
|City=String|Country=String|Living=Boolean|Coordinates=Coordinates|MyTest=Wikitext}}
</noinclude><includeonly>{{#cargo_store:_table=Musicians|Instrument={{{Instrument|}}}|Nickname={{{Nickname|}}}
|Genre={{{Genre|}}}|Favorite_colors={{{Favorite colors|}}}|Street_address={{{Street address|}}}|City={{{City|}}}|Country={{{Country|}}}|Living={{{Living|}}}|Coordinates={{{Coordinates|}}}|MyTest={{{MyTest|}}} }}
{| class="wikitable"
! Instrument(s)
! Instrument(s)
| {{{Instrument|}}}
| {{#arraymap:{{{Instrument|}}}|,|x|[[x]]}}
{{#if:{{{Nickname|}}}|
{{#if:{{{Nickname|}}}|
{{!}}-
{{!}}-
Line 20: Line 37:
! Genre(s)
! Genre(s)
| {{{Genre|}}}
| {{{Genre|}}}
|-
! Favorite colors
| {{{Favorite colors|}}}
|-
! Street address
| {{{Street address|}}}
|-
! City
| {{{City|}}}
|-
! Country
| {{{Country|}}}
|-
! Living?
| {{{Living|}}}
|-
! Location
| {{#cargo_display_map:point={{{Coordinates|}}} }}
|-
! MyTest
| {{{MyTest|}}}
|}
|}


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

Revision as of 14:15, February 7, 2021

This is the "Musician" template. It should be called in the following format:

{{Musician
|Instrument=
|Nickname=
|Genre=
|Favorite colors=
|Street address=
|City=
|Country=
|Coordinates=
}}

Edit the page to see the template text. This template defines the table "Musicians". View table.