Aurora is on version 2.5.0 C#, available at the Aurora Forums.

Contact Erik on the forum for a wiki account.

Difference between revisions of "Template:Tech table"

From AuroraWiki
Jump to navigation Jump to search
(test)
 
m
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch:{{lc:{{{1|}}}}}
+
<onlyinclude><includeonly><!--
|start=<table> <!-- will replace -->
+
 
|end=</table>  
+
-->{{#switch:{{lc:{{{1|}}}}}<!--
|#default=
+
 
|{{{name}}}
+
-->|start=<!--
|-
+
  --><table class="wikitable" style=""><!--
|{{{variants}}}
+
 
|-
+
-->|end=<!--
|{{{prequels}}}
+
  --></table><!--
|-
+
 
|{{{description}}}
+
-->|row|#default=<!--
}}
+
  --><tr><td>{{#if:{{{prequel|}}}{{{variants|}}}<!--
 +
    -->|<div class="collapsible collapsed""><!--
 +
      -->'''{{{name}}}''': {{{description|No description provided}}}<!--
 +
      --><div class="collapsible-content" style="padding-left: 1.5em"><!--
 +
        -->{{#if:{{{cost|}}}|Cost: {{{cost}}}<br>}}<!--
 +
        -->{{#if:{{{prequel|}}}|Prequel techs: {{{prequel}}}<br>}}<!--
 +
        -->{{#if:{{{variants|}}}|Variants: {{{variants}}}}}<!--
 +
      --></div></div><!--
 +
-->|'''{{{name}}}''': {{{description|No description provided}}}<!--
 +
  -->}}</td></tr><!--
 +
-->}}<!--
 +
 
 +
--></includeonly></onlyinclude>
 +
 
 +
 
 +
version 2 unused:
 +
 
 +
-->|row|#default=<!--
 +
  --><tr><!--
 +
    --><th style="text-align: left;">'''Technology:''' {{{name}}}</th><!--
 +
    --><th style="text-align: left; width:25%;">'''Prequel:''' {{{prequel|none}}}</th><!--
 +
  --></tr><!--
 +
  --><tr><td colspan=2><!--
 +
    -->'''Description:''' {{{description|missing}}}<!--
 +
    -->{{#if:{{{variants|}}}|<br>'''Variants:''' {{{variants}}}}}<!--
 +
  --></td></tr><!--
 +
 
 +
Version 3 unused:
 +
 
 +
-->|row|#default=<!--
 +
  --><tr><td><!--
 +
 
 +
    -->'''{{{name}}}''': {{{description|No description provided}}}<!--
 +
    -->{{#if:{{{prequel|}}}|<br>&nbsp;&nbsp;&nbsp;&nbsp;Prequel techs: {{{prequel}}}}}<!--
 +
    -->{{#if:{{{variants|}}}|<br>&nbsp;&nbsp;&nbsp;&nbsp;Variants: {{{variants}}}}}<!--
 +
 
 +
  --></td></tr><!--

Latest revision as of 15:36, 15 December 2019


version 2 unused:

-->|row|#default=Technology: {{{name}}}Prequel: noneDescription: missing|row|#default={{{name}}}: No description provided