Difference between revisions of "Template:Teleporter2"
m (test (template not ready yet)) |
m (test (template not ready yet)) |
||
Line 1: | Line 1: | ||
<noinclude>This template is a little tricky. It contains a function checking wether the data is displayed on a Teleporter page (namespace 'Teleporter'). Depending on the result it either generate a Teleporter facts table or a table row to be used together with [[Template:Teleporter_Table_Header]].<br />The design for the TP facts table has not be done yet, feel free to contribute ;)</noinclude> | <noinclude>This template is a little tricky. It contains a function checking wether the data is displayed on a Teleporter page (namespace 'Teleporter'). Depending on the result it either generate a Teleporter facts table or a table row to be used together with [[Template:Teleporter_Table_Header]].<br />The design for the TP facts table has not be done yet, feel free to contribute ;)<br /> | ||
<br /> | |||
<br /></noinclude> | |||
{{#switch: {{NAMESPACE}} | {{#switch: {{NAMESPACE}} | ||
Line 6: | Line 9: | ||
| Teleporter ={{{!}}class="wikitable" border=1 | | Teleporter ={{{!}}class="wikitable" border=1 | ||
{{!}}- | {{!}}- | ||
! style="text-align:left"{{!}} | ! style="text-align:left"{{!}} Teleporter Name | ||
{{!}}style="text-align:left" align=left {{!}} [[Teleporter:{{{Teleporter_Name}}}|{{{Teleporter_Name}}}]] | {{!}}style="text-align:left" align=left {{!}} [[Teleporter:{{{Teleporter_Name}}}|{{{Teleporter_Name}}}]] | ||
Revision as of 12:56, 30 June 2010
This template is a little tricky. It contains a function checking wether the data is displayed on a Teleporter page (namespace 'Teleporter'). Depending on the result it either generate a Teleporter facts table or a table row to be used together with Template:Teleporter_Table_Header.
The design for the TP facts table has not be done yet, feel free to contribute ;)
|- class="sortbottom" valign="center" |style="text-align:left" align=left | [[{{{Teleporter_Name}}}]] |style="text-align:center" | {{{Continent}}} |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center" | ? |style="text-align:center; color:DimGray" | ? |style="text-align:center" | ? |style="text-align:center; color:DimGray" | ? |style="text-align:center; color:LimeGreen" | ? |style="text-align:center; color:Gold" | ? |style="text-align:center; color:DodgerBlue" | ? |style="text-align:center; color:DarkRed" | ? |style="text-align:center; color:Red" | ? |style="text-align:center" | ? |style="text-align:center; color:DimGray" | ? |style="text-align:center" | ? |style="text-align:center; color:DimGray" | [[{{{Version_Update}}}]] |style="text-align:left" align=left | {{{Remarks}}}