Difference between revisions of "Template:InTheGame"
Revision as of 22:11, 15 May 2012 test | Latest revision as of 05:11, 11 March 2015 | |||
25 intermediate revisions by 5 users not shown | ||||
Line 1: | Line 1: | |||
? | <includeonly>{{ | + | <includeonly>{{Popup | |
? | | | + | |header=<h3>Player Opinion</h3> | |
|content={{#if:{{{cons|}}}|{{#vardefine:ProCon|1}}|{{#if:{{{pros|}}}|{{#vardefine:ProCon|1}}}}}}{{#ifeq:{{#var:ProCon}}|1|<h4>Pros and Cons</h4> | |content={{#if:{{{cons|}}}|{{#vardefine:ProCon|1}}|{{#if:{{{pros|}}}|{{#vardefine:ProCon|1}}}}}}{{#ifeq:{{#var:ProCon}}|1|<h4>Pros and Cons</h4> | |||
{{#if:{{{pros|}}}|<h5>Pros:</h5> | {{#if:{{{pros|}}}|<h5>Pros:</h5> | |||
+ | {{#vardefine:pros|{{{pros|}}}}} | |||
+ | {{#explode:{{#var:pros}}|*|0}} | |||
+ | *{{#sub:{{#explode:{{#var:pros}}|*|1}}|0|125}} | |||
+ | *{{#sub:{{#explode:{{#var:pros}}|*|2}}|0|125}} | |||
+ | *{{#sub:{{#explode:{{#var:pros}}|*|3}}|0|125}} | |||
+ | *{{#sub:{{#explode:{{#var:pros}}|*|4}}|0|125}} | |||
+ | *{{#sub:{{#explode:{{#var:pros}}|*|5}}|0|125}} | |||
? | ||||
<br> | <br> | |||
+ | ||||
}} | }} | |||
{{#if:{{{cons|}}}|<h5>Cons:</h5> | {{#if:{{{cons|}}}|<h5>Cons:</h5> | |||
+ | {{#vardefine:cons|{{{cons|}}}}} | |||
+ | {{#explode:{{#var:cons}}|*|0}} | |||
+ | *{{#sub:{{#explode:{{#var:cons}}|*|1}}|0|125}} | |||
+ | *{{#sub:{{#explode:{{#var:cons}}|*|2}}|0|125}} | |||
+ | *{{#sub:{{#explode:{{#var:cons}}|*|3}}|0|125}} | |||
+ | *{{#sub:{{#explode:{{#var:cons}}|*|4}}|0|125}} | |||
+ | *{{#sub:{{#explode:{{#var:cons}}|*|5}}|0|125}} | |||
? | + | <br> | ||
? | + | |||
}}}} | }}}} | |||
Line 18: | Line 31: | |||
{{{performance|}}} | {{{performance|}}} | |||
+ | <br> | |||
}} | }} | |||
Line 24: | Line 38: | |||
{{{research|}}} | {{{research|}}} | |||
+ | <br> | |||
+ | ||||
+ | }} | |||
+ | {{#if:{{{equipment|}}}|{{EquipmentPanel|{{{equipment|}}}|<h4>Suggested Equipment</h4>}} | |||
+ | <br> | |||
+ | }} | |||
+ | ||||
+ | {{#if:{{{builds|}}} {{{Equipment_Builds|}}}|<h4>Documented Tank and Crew Builds</h4> | |||
+ | ||||
+ | {{{Equipment_Builds|}}} | |||
+ | {{{builds|}}} | |||
+ | ||||
+ | <br> | |||
}} | }} | |||
? | ||||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | |||
==Notes== | ==Notes== | |||
? | Template for the '''<nowiki> | + | Template for the '''<nowiki>Player Opinion</nowiki>''' panel on the tank pages. Copy/paste the template onto the page, then paste the relevant data into the first line below each heading. | |
==Template== | ==Template== | |||
Line 35: | Line 61: | |||
{{InTheGame | {{InTheGame | |||
|pros= | |pros= | |||
+ | ||||
+ | ||||
|cons= | |cons= | |||
+ | ||||
+ | ||||
|performance= | |performance= | |||
+ | ||||
+ | ||||
|research= | |research= | |||
+ | ||||
+ | ||||
|equipment= | |equipment= | |||
+ | ||||
+ | ||||
+ | |Equipment_Builds= | |||
+ | |builds= | |||
+ | (both will activate the same section) | |||
+ | ||||
}} | }} | |||
</pre> | </pre> | |||
__NOTOC__ | __NOTOC__ | |||
+ | ||||
[[Category:C/P Templates]] | [[Category:C/P Templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 05:11, 11 March 2015
Notes
Template for the Player Opinion panel on the tank pages. Copy/paste the template onto the page, then paste the relevant data into the first line below each heading.
Template
{{InTheGame |pros= |cons= |performance= |research= |equipment= |Equipment_Builds= |builds= (both will activate the same section) }}
Category: