Vladimir Horowitz and Template:Musician: Difference between pages
(Difference between pages)
Jump to navigation
Jump to search
Yaron Koren (talk | contribs) No edit summary |
Yaron Koren (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | |||
This is the "Musician" template. | |||
It should be called in the following format: | |||
<pre> | |||
{{Musician | {{Musician | ||
|Instrument= | |Instrument= | ||
|Nickname= | |Nickname= | ||
|Genre= | |Genre= | ||
| | |Favorite colors= | ||
|Street address= | |||
|City= | |||
|Country= | |||
|Coordinates= | |||
}} | }} | ||
{{# | </pre> | ||
Edit the page to see the template text. | |||
{{#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|Query_test=Text}} | |||
</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|}}}|Query_test=Testing }} | |||
{| class="wikitable" | |||
! Instrument(s) | |||
| {{#arraymap:{{{Instrument|}}}|,|x|[[x]]}} | |||
{{#if:{{{Nickname|}}}| | |||
{{!}}- | |||
! The nickname | |||
{{!}} {{{Nickname|}}} }} | |||
|- | |||
! Genre(s) | |||
| {{{Genre|}}} | |||
|- | |||
! Favorite colors | |||
| {{{Favorite colors|}}} | |||
|- | |||
! Street address | |||
| {{{Street address|}}} | |||
|- | |||
! City | |||
| {{{City|}}} | |||
|- | |||
! Country | |||
| {{{Country|}}} | |||
|- | |||
! Living? | |||
| {{{Living|}}} | |||
|- | |||
! Location | |||
| {{#cargo_display_map:point={{{Coordinates|}}} }} | |||
|} | |||
[[Category:Musicians]] | |||
</includeonly> |
Revision as of 20:38, August 15, 2018
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.