Template:Park: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (tweaking table)
m (more fixes)
Line 21: Line 21:
|-
|-
! {{#arraydefine:bannerimage|{{filepath|{{#arrayprint:{{PAGENAME}}}} Banner.jpg|200x200px|nowiki}}}}{{#if: {{#arrayprint:bannerimage}}
! {{#arraydefine:bannerimage|{{filepath|{{#arrayprint:{{PAGENAME}}}} Banner.jpg|200x200px|nowiki}}}}{{#if: {{#arrayprint:bannerimage}}
|{{#set:Has banner image=yes}}{{#set:Has banner image file={{#arrayprint:bannerimage}}}}[[File:{{#arrayprint:pagename}} Banner.jpg|375x380px]]
|{{#set:Has banner image=yes}}{{#set:Has banner image file={{#arrayprint:bannerimage}}}}[[File:{{#arrayprint:{{PAGENAME}}}} Banner.jpg|375x380px]]
|<div style="width:375px"><div class="pops" style="width:250px;height:250px;line-height:250px;text-align:center;border: 1px solid #404040">''[[media:{{#arrayprint:{{PAGENAME}}}} Banner.jpg|Click here to upload a picture]]''</div></div>}}
|<div style="width:375px"><div class="pops" style="width:250px;height:250px;line-height:250px;text-align:center;border: 1px solid #404040">''[[media:{{#arrayprint:{{PAGENAME}}}} Banner.jpg|Click here to upload a picture]]''</div></div>}}
|-
|-

Revision as of 10:26, 23 April 2018

This is the "Park" template. It is typically populated from the Form:Park.

It should be called in the following format:

{{Park
|Park Type=
|Activities=
|Features=
|Lodging Types=
|Camping Amenities=
|City=
|State=
|Area=
|Operated By=
|Parking=
}}

Edit the page to see the template text.