Difference between revisions of "Template:Landmark"

From Stanford SSI Wiki
Jump to navigation Jump to search
(Created page with "<onlyinclude> {| class="wikitable" style="float:right; margin-left: 10px;" !colspan="2"{{pipe}} '''{{{header}}}''' {{pipe}}- {{#if:{{{img link|}}}| {{pipe}}colspan="2" style="...")
 
m (Fixed floating)
 
(5 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:{{{lcoordinates|}}}|
+
{{#if:{{{location|}}}|
 +
{{pipe}}<b>Location</b>
 +
{{pipe}}{{{location}}}
 +
{{pipe}}-}}
 +
{{#if:{{{coordinates|}}}|
 
{{pipe}}<b>Coordinates</b>
 
{{pipe}}<b>Coordinates</b>
 
{{pipe}}{{{coordinates}}}
 
{{pipe}}{{{coordinates}}}
 
{{pipe}}-}}
 
{{pipe}}-}}
{{#if:{{{lwebsite|}}}|
+
{{#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 22: Line 31:
 
| header =  
 
| header =  
 
| img link =  
 
| img link =  
| coordinates =  
+
| location =
 +
| coordinates =
 
| website =
 
| website =
 +
| usedby =
 
}}
 
}}
 
</nowiki>
 
</nowiki>
Line 32: Line 43:
 
{{landmark
 
{{landmark
 
| header = W6YX
 
| header = W6YX
| img link =  
+
| img link = File: W6YX.png
| coordinates =  
+
| 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
}}