Difference between revisions of "Template:Mission Chain Connector"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
m (test (template not ready yet))
(test (template not ready yet))
Line 1: Line 1:
{{#switch: {{{connectorType|1}}}
<noinclude>
  | 0 = Aloha
This template is used on Mission Chain pages to display connectoions between mission. It contains a switch between 4 different connection types.
<noinclude>
 
{{#switch: {{{connectorType|0}}}
 
  | 0 = <tr> <!-- start of connectors row-->
<td> <!-- start of connectors cell-->
<table style="width:100%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0">
<tr style="height:30px">
<td style="width:100%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px; background:white; color:white" border="0" align="center"><small>please specify connector type</small></td>
</tr>
</table>
</td> <!-- end of connectors cell-->
</tr> <!-- end of connectors row-->
 
<!-- connector type 1: simple sequence - one mission follows one mission-->
  | 1 = <tr> <!-- start of connectors row-->
  | 1 = <tr> <!-- start of connectors row-->
<td> <!-- start of connectors cell-->
<table style="width:100%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0">
<tr style="height:60px">
<td style="width:50%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
<td style="width:10px; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px; background:LightSlateGray; color:LightSlateGray" border="0"><small>.</small></td>
<td style="width:50%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
</tr>
</table>
</td> <!-- end of connectors cell-->
</tr> <!-- end of connectors row-->
<!-- connector type 2: parallel sequence - two missions follow two missions-->
| 2 = <tr> <!-- start of connectors row-->
<td> <!-- start of connectors cell-->
<table style="width:100%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0">
<tr style="height:60px">
<td style="width:25%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
<td style="width:10px; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px; background:LightSlateGray; color:LightSlateGray" border="0"><small>.</small></td>
<td style="width:50%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
<td style="width:10px; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px; background:LightSlateGray; color:LightSlateGray" border="0"><small>.</small></td>
<td style="width:25%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
</tr>
</table>
</td> <!-- end of connectors cell-->
</tr> <!-- end of connectors row-->
<!-- connector type 3: branching - two missions follow one mission-->
| 3 = <tr> <!-- start of connectors row-->
<td> <!-- start of connectors cell-->
<table style="width:100%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0">
<tr style="height:28px">
<td style="width:25%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
<td style="width:10px; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px; background:white; color:white" border="0"><small>.</small></td>
<td style="width:50%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0" align="center"><div style="width:3px; height:100%; margin:0px; padding:0px; background:LightSlateGray; color:LightSlateGray" align="center"><small>.</small></div></td>
<td style="width:10px; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px; background:white; color:white" border="0"><small>.</small></td>
<td style="width:25%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
</tr>
<tr style="height:4px">
<td style="width:25%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
<td style="width:10px; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px; background:LightSlateGray; color:LightSlateGray" border="0" colspan="3"></td>
<td style="width:25%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
</tr>
<tr style="height:28px">
<td style="width:25%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
<td style="width:10px; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px; background:LightSlateGray; color:LightSlateGray" border="0"><small>.</small></td>
<td style="width:50%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
<td style="width:10px; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px; background:LightSlateGray; color:LightSlateGray" border="0"><small>.</small></td>
<td style="width:25%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
</tr>
</table>
</td> <!-- end of connectors cell-->
</tr> <!-- end of connectors row-->
<!-- connector type 4: branches merging - one mission follows two mission-->
| 4 = <tr> <!-- start of connectors row-->
<td> <!-- start of connectors cell-->
<table style="width:100%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="1">
<tr style="height:28px">
<td style="width:25%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
<td style="width:10px; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px; background:LightSlateGray; color:LightSlateGray" border="0"><small>.</small></td>
<td style="width:50%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
<td style="width:10px; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px; background:LightSlateGray; color:LightSlateGray" border="0"><small>.</small></td>
<td style="width:25%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
</tr>
<tr style="height:4px">
<td style="width:25%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
<td style="width:10px; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px; background:LightSlateGray; color:LightSlateGray" border="0" colspan="3"></td>
<td style="width:25%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
</tr>
<tr style="height:28px">
<td style="width:25%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
<td style="width:10px; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px; background:white; color:white" border="0"><small>.</small></td>
<td style="width:50%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0" align="center"><div style="width:3px; height:100%; margin:0px; padding:0px; background:LightSlateGray; color:LightSlateGray" align="center"><small>.</small></div></td>
<td style="width:10px; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px; background:white; color:white" border="0"><small>.</small></td>
<td style="width:25%; border: 0px solid; border-collapse: collapse; margin:0px; padding:0px" border="0"></td>
</tr>
</table>
</td> <!-- end of connectors cell-->
</tr> <!-- end of connectors row-->
| #default = <tr> <!-- start of connectors row-->
<td> <!-- start of connectors cell-->
<td> <!-- start of connectors cell-->
<table style="width:100%; border: 1px solid; border-collapse: collapse; margin:0px; padding:0px" border="1">
<table style="width:100%; border: 1px solid; border-collapse: collapse; margin:0px; padding:0px" border="1">
<tr>
<tr style="height:30px">
<td style="width:50%; border: 1px solid; border-collapse: collapse; margin:0px; padding:0px" border="1"></td>
<td style="width:100%; border: 1px solid; border-collapse: collapse; margin:0px; padding:0px; background:white; color:white" border="1" align="center"><small>please specify connector type</small></td>
<td style="width:1%; border: 1px solid; border-collapse: collapse; margin:0px; padding:0px; background:LightSlateGray; color:LightSlateGray" border="0"><small>.</small>></td>
<td style="width:49%; border: 1px solid; border-collapse: collapse; margin:0px; padding:0px" border="1"></td>
</tr>  
</tr>  
</table>
</table>  
</td> <!-- end of connectors cell-->
</td> <!-- end of connectors cell-->
</tr> <!-- end of connectors row-->
</tr> <!-- end of connectors row-->
| #default = default result
}}
}}

Revision as of 21:24, 6 May 2010

This template is used on Mission Chain pages to display connectoions between mission. It contains a switch between 4 different connection types.


please specify connector type