Template:Infobox ATSection: Difference between revisions
Jump to navigation
Jump to search
(Creation of an AT section infobox) |
m (add template category) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="float: right; width: 270px"> | <noinclude>This is the 'Infobox ATSection' template. This template creates the 'sidebar' with info about each AT section. If not used, entries marked "Optional" should be least blank (no '*') in the usage to avoid erroneous data connections. | ||
This will eventually be upgrade to work better with the Semantics MediaWiki plugin. | |||
It should be called in the following format: | |||
<pre> | |||
{{Infobox ATSection | |||
| Image Name = Name of an image file on this site | |||
| Section = TEHCC number section | |||
| Trail_south = Southern designation of this section | |||
| Trail_north = Northern designation of this section | |||
| Distance = Distance of this section | |||
| Min_elevation = As expected, in Ft | |||
| Max_elevation = As expected, in Ft | |||
| Governing = The governing/owning body of this section | |||
| Latitude = 36.10636 | |||
| Longitude = -82.1105648 | |||
}} | |||
</pre> | |||
Edit the page to see the template text. | |||
[[Category:Obsolete Templates]] | |||
</noinclude><includeonly><div style="float: right; width: 270px"> | |||
<!---- | <!---- | ||
! | ! | ||
Line 45: | Line 66: | ||
!colspan="2" | | !colspan="2" | | ||
|- | |- | ||
| colspan=2 id="gmap" border=0 height="180" valign="top" style="margin-top: 20px; | | colspan=2 id="gmap" border=0 height="180" valign="top" style="margin-top: 20px;"| | ||
{{# | {{#display_map:{{{Latitude}}}, {{{Longitude}}} | ||
|zoom=8 | |zoom=8 | ||
|width= | |width=270px | ||
|height= | |height=180px | ||
|type= | |type=roadmap | ||
|controls=zoom | |||
|controls= | |||
}} | }} | ||
| | | | ||
Line 68: | Line 84: | ||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> |
Latest revision as of 10:00, 20 November 2018
This is the 'Infobox ATSection' template. This template creates the 'sidebar' with info about each AT section. If not used, entries marked "Optional" should be least blank (no '*') in the usage to avoid erroneous data connections.
This will eventually be upgrade to work better with the Semantics MediaWiki plugin.
It should be called in the following format:
{{Infobox ATSection | Image Name = Name of an image file on this site | Section = TEHCC number section | Trail_south = Southern designation of this section | Trail_north = Northern designation of this section | Distance = Distance of this section | Min_elevation = As expected, in Ft | Max_elevation = As expected, in Ft | Governing = The governing/owning body of this section | Latitude = 36.10636 | Longitude = -82.1105648 }}
Edit the page to see the template text.