Difference between revisions of "Template:Policy infobox"

From Civilization VI Wiki
Jump to: navigation, search
Line 2: Line 2:
 
! colspan="2" class="infoboxname" | <span style="vertical-align:text-top;">{{{name|{{PAGENAME}}}}}</span>{{#if: {{{icon|}}} | <div style="display:inline; float:right; position:relative; right:5px; top:10px;">[[File:{{{icon}}}|36px|link=]]</div> | [[Category:Infoboxes lacking icons]] }}
 
! colspan="2" class="infoboxname" | <span style="vertical-align:text-top;">{{{name|{{PAGENAME}}}}}</span>{{#if: {{{icon|}}} | <div style="display:inline; float:right; position:relative; right:5px; top:10px;">[[File:{{{icon}}}|36px|link=]]</div> | [[Category:Infoboxes lacking icons]] }}
 
|-
 
|-
| colspan="2" style="text-align:center; width:150px" | {{#if: {{{image|}}} | [[File:{{{image}}}|230px|{{{name|{{PAGENAME}}}}}]] | [[Category:Infoboxes lacking images]]}}
+
| colspan="2" style="text-align:center; width:150px" | {{#if: {{{image|}}} | [[File:{{{image}}}|250px|{{{name|{{PAGENAME}}}}}]] | [[Category:Infoboxes lacking images]]}}
 
|-
 
|-
 
| class="infoboxlabel" style="width:90px;" | Era
 
| class="infoboxlabel" style="width:90px;" | Era

Revision as of 16:11, 5 October 2016

Template-info.png Documentation
Policy infobox
Icon Military Policies.png
Era Ancient Era
Requirement Code Of Laws
Provides Double experience for recon units.
Replaces None.

Usage

{{Policy infobox
| name = 
| icon = 
| image = 
| era = 
| requirement = 
| provides = 
| replaces = 
}}

Parameters

name
Name of the policy. Defaults to {{PAGENAME}}.
icon
Icon of the policy. Format: xxxxx.png Auto sizes to 36px in width.
image
Image of the policy. Format: xxxxx.png Auto sizes to 250px in width.
era
Era of the policy.
requirement
The technology needed for the production.
provides
What the policy provides.
replaces
What the policy replaces.