Difference between revisions of "Template:Landmark"

From Stanford SSI Wiki
Jump to navigation Jump to search
(Attempted fix)
m (Fixed floating)
 
(2 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 9: Line 9:
 
{{pipe}}<b>Location</b>
 
{{pipe}}<b>Location</b>
 
{{pipe}}{{{location}}}
 
{{pipe}}{{{location}}}
 +
{{pipe}}-}}
 +
{{#if:{{{coordinates|}}}|
 +
{{pipe}}<b>Coordinates</b>
 +
{{pipe}}{{{coordinates}}}
 
{{pipe}}-}}
 
{{pipe}}-}}
 
{{#if:{{{website|}}}|
 
{{#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 = [http://www-w6yx.stanford.edu/ W6YX]
+
| 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
}}