Template:File Properties: Difference between revisions

From Fish Family Wiki
Jump to navigation Jump to search
(Created page with "<noinclude>Generate a table describing a file's properties, and set the associated properties. * ''year'': Year of the file; default is the page modification year * ''family''...")
 
No edit summary
Line 1: Line 1:
<noinclude>Generate a table describing a file's properties, and set the associated properties.
<noinclude>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
* ''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 (;)
* ''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 (;)
* ''place'': Place the photo is associated with, if any; multiple places can be separated by semicolon (;)
</noinclude><includeonly>{{#set:
</noinclude><includeonly>{{#set:
| File Caption={{#if: {{{caption|}}} | {{{caption}}} | {{PAGENAME}} }}
| File Year={{Year| {{{year|}}} | {{REVISIONYEAR}} }}
| File Year={{Year| {{{year|}}} | {{REVISIONYEAR}} }}
}}{{For Each|{{{family|}}}|;||
}}{{For Each|{{{family|}}}|;||
Line 12: Line 14:
== File Properties ==
== File Properties ==
{| class="wikitable file-properties"
{| class="wikitable file-properties"
|-
! Caption
| {{#if: {{{caption|}}} | {{{caption}}} | none }}
|-
|-
! Year
! Year

Revision as of 23:05, 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 (;)