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...")
 
(removed float right and noted why)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox bordered" style="width: {{#if:{{{width|}}}|{{{width|}}}|23em}};
+
{| class="infobox bordered info-right" style="float:none;"
! colspan="2" | <big>''{{{Name}}}''</big><!--
+
! colspan="2" style="font-size:110%; text-align:center;"| ''{{{Name}}}''<!--
-->{{#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="text-align: center;"> {{{Image|}}}}}</td>
 
|-  
 
|-  
 
|-
 
|-
! Wu Xing:
+
! Wu Xing Element:
| {{{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>}}<!--
+
! Effects:
-->{{#if:{{{Buildings|}}}|<tr><th>Buildings Unlocked:</th><td>{{{Buildings}}}</td></tr>}}<!--
+
| {{{Effects|<noinclude>effects</noinclude>}}}
-->{{#if:{{{Building Req|}}}|<tr><th>Building Required:</th><td>{{{Building Req}}}</td></tr>}}
+
|-
 +
! Unlocked Units:
 +
| {{{Units|<noinclude>unlocked units</noinclude>}}}
 +
|-
 +
! Unlocked Buildings:
 +
| {{{Unlocked_buildings|<noinclude>unlocked buildings</noinclude>}}}
 +
|-
 +
! Required Buildings:
 +
| {{{Required_buildings|<noinclude>required buildings</noinclude>}}}
 +
|-
 +
! colspan="2" | See Also: [[Reforms (TW3K)|Three Kingdoms Reforms Table]]
 
|}
 
|}
 
<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]]
+
|Effects=
|Buildings=[[blah]]
+
|Units=
|Building Req=[[blah]]}}</nowiki>'''
+
|Unlocked_buildings=
 +
|Required_buildings=
 +
}}
 +
</nowiki>
 +
 
 +
 
 +
 
 +
Example demo below:
 +
 
 +
Note: this template is an oddity in not floating right - if it does that it clashes badly with the tables in the body of the reform pages.
  
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]]
+
|Effects=10% Industry income
|Buildings=[[blah]]
+
|Units=n/a
|Building Req=[[blah]]}}
+
|Unlocked_buildings=n/a
 +
|Required_buildings=[[County School (TW3K Building)|County School]]
 +
}}
  
  
  
 
[[Category:Infobox Template]]
 
[[Category:Infobox Template]]

Latest revision as of 10:06, 19 April 2020

{{{Name}}}
Wu Xing Element: eg Earth
No of Prior Reforms: number of prior reforms
Effects: effects
Unlocked Units: unlocked units
Unlocked Buildings: unlocked buildings
Required Buildings: required buildings
See Also: Three Kingdoms Reforms Table

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
|Effects=
|Units=
|Unlocked_buildings=
|Required_buildings=
}}


Example demo below:

Note: this template is an oddity in not floating right - if it does that it clashes badly with the tables in the body of the reform pages.


Dedicated Spy Network
3K reform water espionage.png
Wu Xing Element: Water
No of Prior Reforms: 3
Effects: 10% Industry income
Unlocked Units: n/a
Unlocked Buildings: n/a
Required Buildings: County School
See Also: Three Kingdoms Reforms Table