Vladimir Horowitz and Template:Musician: Difference between pages

From Discourse DB
(Difference between pages)
Jump to navigation Jump to search
No edit summary
 
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=Kazoo, Piano,
|Instrument=
|Nickname=Vlad
|Nickname=
|Genre=Classical
|Genre=
|Living=Yes
|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={{#cargo_query:table=Authors|fields=_pageName|format=list|delimiter=,|limit=4|no html}} }}
{| 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:28, 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.