Template:Image: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (add template category)
(allow multiple input)
 
Line 15: Line 15:
{|  
{|  
! [[Property:Trail|Trail]]
! [[Property:Trail|Trail]]
| [[Trail::{{{Trail|}}}]]
| {{#arraymap:{{{Trail|}}}|,|@@@@|[[Trail::@@@@]]}}
|-
|-
! [[Property:Park|Park]]
! [[Property:Park|Park]]

Latest revision as of 11:09, 16 December 2018

This template is used on image uploads it permits the tagging of images to a park or trail (or both). This will later permit easy incorporation into page galleries. With a simple query on a park or trail page, all uploaded and tagged images will show up in the gallery.

It is expected to be used by the Form:Image but expects the following usage format.

{{Image
 |File name=
 |Trail=
 |Park=
 |Caption=
}}

Edit the page to see the template text.