Template:Park: Difference between revisions
Jump to navigation
Jump to search
m (Format template a tad) |
(Add banner image selection) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the "Park" template. It is typically populated from the [[Form:Park]]. | This is the "Park" template. It is typically populated from the [[Form:Park]]. | ||
<p>It should be called in the following format: | <p>It should be called in the following format ('''remember to delete unused fields after the '=' or delete the entire row'''): | ||
<pre> | <pre> | ||
{{Park | {{Park | ||
|Banner Image = pick a trail tagged photo, if left blank will search for pagename Banner.jpg | |||
|Park Type= | |Park Type= | ||
|City= | |City= | ||
Line 23: | Line 24: | ||
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ||
|- | |- | ||
| colspan=2 border=0 height="200" align="center" valign="top" | {{#ifexist: Media:{{PAGENAME}} Banner.jpg|[[File:{{PAGENAME}} Banner.jpg|350px]]|<div style="width:250px"><div class="pops" style="width:200px;height:200px;line-height:250px;text-align:center;border: 1px solid #404040">''[[media:{{PAGENAME}} Banner.jpg|Click here to upload a picture]]''</div></div>}} | | colspan=2 border=0 height="200" align="center" valign="top" | {{#if: {{{Banner Image|}}}|[[{{{Banner Image|}}}|350px]]|{{#ifexist: Media:{{PAGENAME}} Banner.jpg|[[File:{{PAGENAME}} Banner.jpg|350px]]|<div style="width:250px"><div class="pops" style="width:200px;height:200px;line-height:250px;text-align:center;border: 1px solid #404040">''[[media:{{PAGENAME}} Banner.jpg|Click here to upload a picture]]''</div></div>}}}} | ||
|- | |- | ||
! style="text-align: center; background-color:#ccccff; height: 1em;" colspan="2" | | ! style="text-align: center; background-color:#ccccff; height: 1em;" colspan="2" | |
Revision as of 14:03, 19 November 2018
This is the "Park" template. It is typically populated from the Form:Park.
It should be called in the following format (remember to delete unused fields after the '=' or delete the entire row):
{{Park |Banner Image = pick a trail tagged photo, if left blank will search for pagename Banner.jpg |Park Type= |City= |Park Website= |Trail Map Link= |Activities= |Features= |Park Trail Count= |Park Trail Miles= |Lodging Types= |Camping Amenities= |Area= |Operated By= |Parking= }}
Edit the page to see the template text.