Difference between revisions of "Template:File Properties"

From Ludlow Family Wiki
Jump to: navigation, search
Line 5: Line 5:
 
* ''place'': Place the photo is associated with, if any; multiple places can be separated by semicolon (;)
 
* ''place'': Place the photo is associated with, if any; multiple places can be separated by semicolon (;)
 
</noinclude><includeonly>{{#set:
 
</noinclude><includeonly>{{#set:
 +
| File Name={{#regex: {{PAGENAME}} | /(.*?)(\.[^.]*)?$/ | \1}}
 
| File Caption={{#if: {{{caption|}}} | {{{caption}}} | {{PAGENAME}} }}
 
| File Caption={{#if: {{{caption|}}} | {{{caption}}} | {{PAGENAME}} }}
 
| File Year={{Year| {{{year|}}} | {{REVISIONYEAR}} }}
 
| File Year={{Year| {{{year|}}} | {{REVISIONYEAR}} }}

Revision as of 22:46, 30 June 2015

Generate a table describing a file's properties, and set the associated properties.

  • caption: Description of the file
  • year: Year of the file; default is the page modification year
  • family: Family the photo is associated with, if any; multiple families can be separated by semicolon (;)
  • place: Place the photo is associated with, if any; multiple places can be separated by semicolon (;)