Difference between revisions of "Template:Concert photo"

From The Gentle Giant Home Page
(Undo revision 2863 by Dan (Talk))
(add contributedonly)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Photograph information ==
+
{{photo
{| class="wikitable"
+
|type=Concert
|Who || {{#if:{{{who|}}}|{{#forarg:[[^]]|,||{{{who}}}}}|?}}
+
|who={{{who|}}}
|-
+
|what={{{what|}}}
|What || {{{what|?}}}
+
|where={{{where|}}}
|-
+
|when={{{when|}}}
|Where || {{{where|?}}}
+
|photographer={{{photographer|}}}
|-
+
|contributedonly={{{contributedonly|}}}
|When || {{{when|?}}}
+
|nolink={{{nolink|}}}
|-
+
}}<noinclude>{{documentation}}[[Category:Site infrastructure]]</noinclude>
|Photographer || {{{photographer|?}}}
 
|}<includeonly>[[Category:Concert photos]]
 
{{#if:{{{photographer|}}}|[[Category:Photos by {{{photographer}}}]]}}
 
{{#if:{{{who|}}}|{{#forarg:[[Category:Photos of ^]]|,||{{{who}}}}}}}
 
</includeonly>
 

Latest revision as of 09:22, 10 December 2019

Photograph information

Who ?
What
Where
When
Photographer


Documentation

From Template:Concert photo/doc:

Add this template to the Image page of any concert photo. It displays an information box and places the page into appropriate categories.

{{Concert photo
| who=comma separated list of names of people in the photo
| what=description of photo
| where=location the photo was taken
| when=date of photo
| photographer=name of photographer
}}

Example

{{Concert photo
|who=John Weathers,Kerry Minnear,Dan Barrett
|what=Playing guitar with his band Man
|where=The Old Daddy, Haltern, Germany
|when=23 June 1974
|photographer=Bob Dobbs
}}

Automatic linking

Each name in the "who" list becomes a link. To suppress this behavior, add the optional parameter:

nolink=1

Automatic categorization

The article will automatically be placed in these categories:

  • concert photos
  • Photos by name of photographer

and for each person in the "who" list,

  • Photos of person

This last set of categories is disabled by the optional nolink=1 parameter.