Difference between revisions of "Template:New Trait Box"

From CYOE Wiki
Jump to: navigation, search
Line 8: Line 8:
 
For traits:
 
For traits:
 
<pre>
 
<pre>
&lt;includeonly>{{{New Trait Box
+
&lt;includeonly>{{New Trait Box
 
|trait=
 
|trait=
 
|game={{{era|}}}{{{game|}}}
 
|game={{{era|}}}{{{game|}}}
Line 26: Line 26:
 
For techs:
 
For techs:
 
<pre>
 
<pre>
&lt;includeonly>{{{New Trait Box
+
&lt;includeonly>{{New Trait Box
 
|trait=
 
|trait=
 
|game={{{era|}}}{{{game|}}}
 
|game={{{era|}}}{{{game|}}}

Revision as of 08:32, 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.