Template:Image: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(add caption)
(silent assign image property)
Line 11: Line 11:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{{#set:File=File:{{{File name|}}}}}
{|  
{|  
! [[Property:File|File]]
| [[File::File:{{{File name|}}}]]
|-
! [[Property:Trail|Trail]]
! [[Property:Trail|Trail]]
| [[Trail::{{{Trail|}}}]]
| [[Trail::{{{Trail|}}}]]

Revision as of 13:49, 4 May 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.