Difference between revisions of "Template:Picture"

From Carlton Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 29: Line 29:
  
 
{{#set:
 
{{#set:
  | Picture Type={{{type}}}
+
  | Picture Type={{{type|photograph}}}
 
  | Picture Subject={{{subject|house}}}
 
  | Picture Subject={{{subject|house}}}
 
  | Picture Name={{{name|unnamed}}}|+sep=;
 
  | Picture Name={{{name|unnamed}}}|+sep=;
 
}}
 
}}
  
Some stuff here
 
  
 
{| style="border: 1px solid; width:25em; font-size: 90%;"  
 
{| style="border: 1px solid; width:25em; font-size: 90%;"  
Line 43: Line 42:
 
! [[Property:Description | Description]]
 
! [[Property:Description | Description]]
 
| [[Description::{{{description|}}}]]
 
| [[Description::{{{description|}}}]]
 +
|-
 +
! [[Property:Caption | Caption]]
 +
| [[Caption::{{{caption|}}}]]
 
|-
 
|-
 
! [[Property:Picture Created | Picture created on]]
 
! [[Property:Picture Created | Picture created on]]
Line 53: Line 55:
 
| {{{type}}}
 
| {{{type}}}
 
|}
 
|}
 +
 +
{{{description| }}}
  
 
[[Category:Picture]]
 
[[Category:Picture]]
Line 59: Line 63:
  
 
<includeonly>{{#ifeq:{{lc:{{{subject}}}}}|person|[[Category:Person Photograph]]|}}</includeonly>
 
<includeonly>{{#ifeq:{{lc:{{{subject}}}}}|person|[[Category:Person Photograph]]|}}</includeonly>
 +
<includeonly>{{#ifeq:{{lc:{{{subject}}}}}|people|[[Category:Person Photograph]]|}}</includeonly>

Latest revision as of 20:24, 9 June 2015

Template used for a page describing any picture, whether it be a photograph, or map, etc. 

The subject should be one of:

  • house
  • person

The field containing the name of the house or person should be the same as the corresponding page for that house or person.

The type should be one of:

  • photograph
  • aerial
  • map
  • plan
  • document
{{Picture
| name          = 
| description   =
| caption       =
| date          =
| photographer  = 
| subject       =
| type          =
}}


{{#set:

| Picture Type=photograph
| Picture Subject=house
| Picture Name=unnamed|+sep=;

}}


Name [[{{{name}}}]]
Description Description::
Caption Caption::
Picture created on [[Picture Created::{{{date}}}]]
Photographer Photographer::Unknown
Picture Type {{{type}}}