Template:Photo/doc: Difference between revisions

Jump to navigation Jump to search
auto category
(New page: Add this template to the Image page of any {{{type}}} photo. It displays an information box and places the page into appropriate categories. <nowiki>{{</nowiki>{{BASEPAGENAME}} | who=''...)
 
(auto category)
Line 21: Line 21:
=== Linking behavior ===
=== Linking behavior ===


Each name in the "who" list becomes a link, and a category tag is generated for that name as well (Category:Photos of ...).  To suppress this behavior, add the optional parameter:
Each name in the "who" list becomes a link.  To suppress this behavior, add the optional parameter:


  nolink=1
  nolink=1
=== Automatic categorization ===
The article will automatically be placed in these categories:
* {{{type}}} 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 <code>nolink=1</nolink> parameter.

Navigation menu