Difference between revisions of "Template:Opcomms-test"

From Stanford SSI Wiki
Jump to navigation Jump to search
(Corrected template parameter (tx coordinates), Improved instruction text)
m (Fixed floating)
 
(8 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}}}'''
 +
{{pipe}}-
 
{{#if:{{{img link|}}}|
 
{{#if:{{{img link|}}}|
!colspan="2"{{pipe}} [[{{{img link}}} {{pipe}} 250px]]
+
{{pipe}}colspan="2" style="text-align:center;"{{pipe}} [[{{{img link}}} {{pipe}} 250px]]
 
{{pipe}}-}}
 
{{pipe}}-}}
 
{{#if:{{{test date|}}}|
 
{{#if:{{{test date|}}}|
Line 22: 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 32: Line 35:
  
 
  <nowiki>
 
  <nowiki>
{{OpComms Test
+
{{opcomms-test
 +
| header =
 
| img link =  
 
| img link =  
 
| test date =  
 
| test date =  
Line 46: Line 50:
  
 
  <nowiki>
 
  <nowiki>
{{OpComms Test
+
{{opcomms-test
 +
| header = SSI-1E4
 
| img link = File:SSI-1E4.png
 
| img link = File:SSI-1E4.png
 
| test date = June 4 2015
 
| test date = June 4 2015
Line 57: 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 =
}}