Difference between revisions of "Template:New Trait Box"

From CYOE Wiki
Jump to: navigation, search
Line 10: Line 10:
 
<includeonly>{{{New Trait Box
 
<includeonly>{{{New Trait Box
 
|trait=
 
|trait=
|game={{{game|}}}{{{era|}}}
+
|game={{{era|}}}{{{game|}}}
 
|colour_cyoe1=
 
|colour_cyoe1=
 
|description_cyoe1=
 
|description_cyoe1=
Line 17: Line 17:
 
...
 
...
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{:page name|era=cyoe1}}
+
{{:{{PAGENAME}}|era=cyoe1}}
{{:page name|era=cyoe2}}
+
{{:{{PAGENAME}}|era=cyoe2}}
{{:page name|era=cyoe3}}
+
{{:{{PAGENAME}}|era=cyoe3}}
 
</noinclude>
 
</noinclude>
 +
[[Category:Trait]] [[Category:Unaligned Trait]]
 
</pre>
 
</pre>
  
Line 27: Line 28:
 
&lt;includeonly>{{{New Trait Box
 
&lt;includeonly>{{{New Trait Box
 
|trait=
 
|trait=
|game={{{game|}}}{{{era|}}}
+
|game={{{era|}}}{{{game|}}}
 
|cost_cyoe1=
 
|cost_cyoe1=
 
|time_cyoe1=
 
|time_cyoe1=
Line 36: Line 37:
 
...
 
...
 
}}&lt;/includeonly>&lt;noinclude>
 
}}&lt;/includeonly>&lt;noinclude>
{{:page name|era=cyoe1}}
+
{{:{{PAGENAME}}|era=cyoe1}}
{{:page name|era=cyoe2}}
+
{{:{{PAGENAME}}|era=cyoe2}}
{{:page name|era=cyoe3}}
+
{{:{{PAGENAME}}|era=cyoe3}}
 
&lt;/noinclude>
 
&lt;/noinclude>
 +
[[Category:Technology]]
 
</pre>
 
</pre>
  
Line 48: Line 50:
 
{|class="collapsible collapsed" align="{{{align|none}}}" width="480" style="border: 1px solid darkgray;"
 
{|class="collapsible collapsed" align="{{{align|none}}}" width="480" style="border: 1px solid darkgray;"
 
|-
 
|-
!align="center" bgcolor="{{{colour_{{{era|cyoe1}}}|#CCCCCC}}}" colspan="2"|{{{trait|Unknown Trait}}}{{#if: {{{cost_{{{era|cyoe1}}}|}}} | &nbsp;({{{cost_{{{era|cyoe1}}}|0}}} RP, {{{time_{{{era|cyoe1}}}|0}}} turns) | }}
+
!align="center" bgcolor="{{{colour_{{{game|cyoe1}}}|#CCCCCC}}}" colspan="2"|{{{trait|Unknown Trait}}}{{#if: {{{cost_{{{game|cyoe1}}}|}}} | &nbsp;({{{cost_{{{game|cyoe1}}}|0}}} RP, {{{time_{{{game|cyoe1}}}|0}}} turns) | }}
 
|-
 
|-
|align="center"|{{{description_{{{era|cyoe1}}}|Not available in {{{era|cyoe1}}}}}}
+
|align="center"|{{{description_{{{game|cyoe1}}}|Not available in {{{game|cyoe1}}}}}}
 
|}
 
|}

Revision as of 08:18, 23 June 2010


  • For positive traits, use colour #DDFFAA
  • For negative traits, use colour #FFDDDD
  • For neutral traits, use colour #FFFF99
  • For techs, skip the colour line

For traits:

<includeonly>{{{New Trait Box
|trait=
|game={{{era|}}}{{{game|}}}
|colour_cyoe1=
|description_cyoe1=
|colour_cyoe2=
|description_cyoe2=
...
}}</includeonly><noinclude>
{{:{{PAGENAME}}|era=cyoe1}}
{{:{{PAGENAME}}|era=cyoe2}}
{{:{{PAGENAME}}|era=cyoe3}}
</noinclude>
[[Category:Trait]] [[Category:Unaligned Trait]]

For techs:

<includeonly>{{{New Trait Box
|trait=
|game={{{era|}}}{{{game|}}}
|cost_cyoe1=
|time_cyoe1=
|description_cyoe1=
|cost_cyoe2=
|time_cyoe2=
|description_cyoe2=
...
}}</includeonly><noinclude>
{{:{{PAGENAME}}|era=cyoe1}}
{{:{{PAGENAME}}|era=cyoe2}}
{{:{{PAGENAME}}|era=cyoe3}}
</noinclude>
[[Category:Technology]]

Tech and trait lines can be mixed, see Mass Production for an example of this in action.