1,377 bytes added
, 07:18, 22 August 2015
<onlyinclude>
{| class="wikitable" style="float:right; margin-left: 10px;"
{{#if:{{{img link|}}}|
!colspan="2"{{pipe}} [[{{{img link}}} {{pipe}} 250px]]
{{pipe}}-}}
{{#if:{{{test date|}}}|
{{pipe}}<b>Test date</b>
{{pipe}}{{{test date}}}
{{pipe}}-}}
{{#if:{{{tx coordinates|}}}|
{{pipe}}<b>Transmit Location</b>
{{pipe}}{{{ltx coordinates}}}
{{pipe}}-}}
{{#if:{{{rx coordinates|}}}|
{{pipe}}<b>Receive Location</b>
{{pipe}}{{{rx coordinates}}}
{{pipe}}-}}
{{#if:{{{link distance|}}}|
{{pipe}}<b>Link Distance</b>
{{pipe}}{{{link distance}}}
{{pipe}}-}}
!colspan="2"| <table style="width:100%; border:1px; border-collapse:collapse; font-weight:bold; font-size: smaller">
<tr>
<td style="text-align:center;width:25%">{{#if:{{{last|}}} | ←[[{{{last}}}]]}}
<td style="text-align:center;width:50%">[[:Category:Optical Communications | Optical Communications Tests]]</td>
<td style="text-align:center;width:25%">{{#if:{{{next|}}} | [[{{{next}}}]]→}}
</table>
|}
</onlyinclude>
To use, copy the code below into the desired page, populating the fields listed:
<nowiki>
{{OpComms Test
| img link =
| test date =
| tx coordinates =
| rx coordinates =
| link distance =
}}
</nowiki>
An example of proper usage is shown here:
<nowiki>
{{OpComms Test
| img link =
| test date =
| tx coordinates =
| rx coordinates =
| link distance =
}}
</nowiki>
[[Category: Templates]]