Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

Difference between revisions of "Template:Reform"

From TWC Wiki
Jump to navigationJump to search
(Created page with "{| class="infobox bordered" style="width: {{#if:{{{width|}}}|{{{width|}}}|23em}}; ! colspan="2" | <big>''{{{Name}}}''</big><!-- -->{{#if:{{{Image|}}}|<tr><td colspan="2" style...")
 
Line 1: Line 1:
{| class="infobox bordered" style="width: {{#if:{{{width|}}}|{{{width|}}}|23em}};
+
{| class="infobox bordered" style="width: {{#if:{{{width|}}}|{{{width|}}}|23em}}; text-align: center;"
 
! colspan="2" | <big>''{{{Name}}}''</big><!--
 
! colspan="2" | <big>''{{{Name}}}''</big><!--
-->{{#if:{{{Image|}}}|<tr><td colspan="2" style="background-color: white; font-size: 100%; text-align: center;"> {{{Image|}}}}}</td></tr>
+
-->{{#if:{{{Image|}}}|<tr><td colspan="2" style="background-color: white;"> {{{Image|}}}}}</td></tr>
 
|-  
 
|-  
 
|-
 
|-
 
! Wu Xing:
 
! Wu Xing:
| {{{Wu Xing|<noinclude>eg Earth</noinclude>}}}
+
| {{{Wu Xing|<noinclude>eg [[Earth (TW3K Wu Xing)|Earth]]</noinclude>}}}
 
|-  
 
|-  
 
! No of Prior Reforms:
 
! No of Prior Reforms:
| {{{Number|<noinclude>number of prior reforms</noinclude>}}}<!--
+
| {{{Number|<noinclude>number of prior reforms</noinclude>}}}
-->{{#if:{{{Effects|}}}|<tr><th>Effects:</th><td>{{{Effects}}}</td></tr>}}<!--
 
-->{{#if:{{{Units|}}}|<tr><th>Units Unlocked:</th><td>{{{Units}}}</td></tr>}}<!--
 
-->{{#if:{{{Buildings|}}}|<tr><th>Buildings Unlocked:</th><td>{{{Buildings}}}</td></tr>}}<!--
 
-->{{#if:{{{Building Req|}}}|<tr><th>Building Required:</th><td>{{{Building Req}}}</td></tr>}}
 
 
|}
 
|}
 
<noinclude>
 
<noinclude>
 
----
 
----
Format is similar to mod3 template, to use include
+
To use include:
'''<nowiki>
+
 
 +
<nowiki>
 
{{Reform
 
{{Reform
 
|Name=Reform name
 
|Name=Reform name
 
|Image=[[Image:3K reform water espionage.png]]
 
|Image=[[Image:3K reform water espionage.png]]
|Number=0-13
+
|Wu Xing=[[Type (TW3K Wu Xing)|Type]]
|Effects='''blah'''
+
|Number=number of prior reforms
|Units=[[blah]]
+
}}
|Buildings=[[blah]]
+
</nowiki>
|Building Req=[[blah]]}}</nowiki>'''
+
 
 +
 
 +
 
 +
Example demo on the right:
  
Effects, Units, Buildings and Building req are optional if there isn't anything relevant simply leave a blank space after the = sign
 
  
 
{{Reform
 
{{Reform
|Name=Reform name
+
|Name=Dedicated Spy Network
 
|Image=[[Image:3K reform water espionage.png]]
 
|Image=[[Image:3K reform water espionage.png]]
|Number=0-13
+
|Wu Xing=[[Water (TW3K Wu Xing)|Water]]
|Effects='''blah'''
+
|Number=3
|Units=[[blah]]
+
}}
|Buildings=[[blah]]
 
|Building Req=[[blah]]}}
 
  
  
  
 
[[Category:Infobox Template]]
 
[[Category:Infobox Template]]

Revision as of 07:04, 7 July 2019

{{{Name}}}
Wu Xing: eg Earth
No of Prior Reforms: number of prior reforms

To use include:

{{Reform
|Name=Reform name
|Image=[[Image:3K reform water espionage.png]]
|Wu Xing=[[Type (TW3K Wu Xing)|Type]]
|Number=number of prior reforms
}}


Example demo on the right:


Dedicated Spy Network
3K reform water espionage.png
Wu Xing: Water
No of Prior Reforms: 3