Difference between revisions of "Template:Landmark"
Jump to navigation
Jump to search
Smaldonado (talk | contribs) (changed "coordinates" parameter to more generic "location") |
Smaldonado (talk | contribs) m (Fixed floating) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
− | {| class="wikitable" style="float:right; margin-left: 10px;" | + | {| class="wikitable" style="float:right; margin-left: 10px; clear:both;" |
!colspan="2"{{pipe}} '''{{{header}}}''' | !colspan="2"{{pipe}} '''{{{header}}}''' | ||
{{pipe}}- | {{pipe}}- | ||
Line 6: | Line 6: | ||
{{pipe}}colspan="2" style="text-align:center;"{{pipe}} [[{{{img link}}} {{pipe}} 250px]] | {{pipe}}colspan="2" style="text-align:center;"{{pipe}} [[{{{img link}}} {{pipe}} 250px]] | ||
{{pipe}}-}} | {{pipe}}-}} | ||
− | {{#if:{{{ | + | {{#if:{{{location|}}}| |
{{pipe}}<b>Location</b> | {{pipe}}<b>Location</b> | ||
{{pipe}}{{{location}}} | {{pipe}}{{{location}}} | ||
{{pipe}}-}} | {{pipe}}-}} | ||
− | {{#if:{{{ | + | {{#if:{{{coordinates|}}}| |
+ | {{pipe}}<b>Coordinates</b> | ||
+ | {{pipe}}{{{coordinates}}} | ||
+ | {{pipe}}-}} | ||
+ | {{#if:{{{website|}}}| | ||
{{pipe}}<b>Website</b> | {{pipe}}<b>Website</b> | ||
− | {{pipe}}{{{website}}} }} | + | {{pipe}}{{{website}}} |
+ | {{pipe}}-}} | ||
+ | {{#if:{{{usedby|}}}| | ||
+ | {{pipe}}<b>Used By</b> | ||
+ | {{pipe}}{{{usedby}}} | ||
+ | {{pipe}}-}} | ||
|} | |} | ||
</onlyinclude> | </onlyinclude> | ||
Line 23: | Line 32: | ||
| img link = | | img link = | ||
| location = | | location = | ||
+ | | coordinates = | ||
| website = | | website = | ||
+ | | usedby = | ||
}} | }} | ||
</nowiki> | </nowiki> | ||
Line 32: | Line 43: | ||
{{landmark | {{landmark | ||
| header = W6YX | | header = W6YX | ||
− | | img link = | + | | img link = File: W6YX.png |
− | | location = 37.403416, -122.165782 | + | | location = |
− | | website = | + | | coordinates = 37.403416, -122.165782 |
+ | | website = http://www-w6yx.stanford.edu/ | ||
+ | | usedby = Optical Communications | ||
}} | }} | ||
</nowiki> | </nowiki> | ||
[[Category: Templates]] | [[Category: Templates]] |
Latest revision as of 22:19, 17 March 2016
{{{header}}} |
---|
To use, copy the code below into the desired page, populating the fields listed:
{{landmark | header = | img link = | location = | coordinates = | website = | usedby = }}
An example of proper usage is shown here:
{{landmark | header = W6YX | img link = File: W6YX.png | location = | coordinates = 37.403416, -122.165782 | website = http://www-w6yx.stanford.edu/ | usedby = Optical Communications }}