Difference between revisions of "Template:Opcomms-test"

From Stanford SSI Wiki
Jump to navigation Jump to search
(Actually made a coherent effort to fix image alignment)
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 24: Line 24:
 
!colspan="2"| <table style="width:100%; border:1px; border-collapse:collapse; font-weight:bold; font-size: smaller">
 
!colspan="2"| <table style="width:100%; border:1px; border-collapse:collapse; font-weight:bold; font-size: smaller">
 
<tr>
 
<tr>
<td style="text-align:center;width:25%">{{#if:{{{last|}}} | &larr;[[{{{last}}}]]}}
+
<td style="text-align:center;width:25%">{{#if:{{{last|}}} | [[{{{last}}}{{pipe}}&larr;{{{last}}}]]}}
 
<td style="text-align:center;width:50%">[[:Category:Optical Communications | Optical Communications Tests]]</td>
 
<td style="text-align:center;width:50%">[[:Category:Optical Communications | Optical Communications Tests]]</td>
<td style="text-align:center;width:25%">{{#if:{{{next|}}} | [[{{{next}}}]]&rarr;}}
+
<td style="text-align:center;width:25%">{{#if:{{{next|}}} | [[{{{next}}}{{pipe}}{{{next}}}&rarr;]]}}
 +
 
 
</table>
 
</table>
 
|}
 
|}
Line 61: Line 62:
 
</nowiki>
 
</nowiki>
  
[[Category: Templates]][[Category: Optical Communications]]
+
[[Category: Templates]]

Latest revision as of 22:20, 17 March 2016

{{{header}}}
Optical Communications Tests


To use, copy the code below into the desired page, populating the fields listed:

{{opcomms-test
| header = 
| img link = 
| test date = 
| tx coordinates =
| rx coordinates =
| link distance =
| next = 
| last =
}}

An example of proper usage is shown here:

{{opcomms-test
| header = SSI-1E4
| img link = File:SSI-1E4.png
| test date = June 4 2015
| tx coordinates = [[Skyline Boulevard Overlook]]
| rx coordinates = [[W6YX]]
| link distance = 10 km
| next = 
| last =
}}