Difference between revisions of "Template:Great People infobox"

From Civilization VI Wiki
Jump to: navigation, search
(Created page with "<includeonly>{| class="infobox" cellspacing="0" ! colspan="2" class="infoboxname" | <span style="vertical-align:text-top;">{{{name|{{PAGENAME}}}}}</span>{{#if: {{{icon|}}} | <...")
 
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
! class="infoboxdetails" colspan="2" | Base Stats
 
! class="infoboxdetails" colspan="2" | Base Stats
 
|-
 
|-
{{#if: {{type|}}} | {{!}} class="infoboxlabel" style="width:100px;" {{!}} Type
+
{{#if: {{{type|}}} | {{!}} class="infoboxlabel" style="width:100px;" {{!}} Type
{{!}} {{{type}}} }}
+
{{!}} [[{{{type}}}]] }}
 
|-
 
|-
{{#if: {{{description|}}} | ! class="infoboxdetails" colspan="2" {{!}} Description }}
+
{{#if: {{{era|}}} | {{!}} class="infoboxlabel" style="width:100px;" {{!}} Era
  +
{{!}} [[{{{era}}}]] }}
 
|-
 
|-
{{#if: {{{description|}}} | {{!}} colspan="2" style="text-align:center;" {{!}} {{{description}}} }}
+
{{#if: {{{effect|}}} | {{!}} class="infoboxlabel" style="width:100px;" {{!}} Effect
  +
{{!}} {{{effect}}} }}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
{{doc}}
 
{{doc}}

Latest revision as of 17:34, 24 October 2016

Template-info.png Documentation
Base Stats

Usage

{{Great People infobox
| name = 
| icon = 
| image = 
| type = 
| era =
| effect =
}}

Parameters

name
Name of the Great People. Defaults to {{PAGENAME}}.
icon
Icon of the Great People. Format: xxxxx.png Auto sizes to 36px in width.
image
Image of the Great People. Format: xxxxx.png Auto sizes to 250px in width.
type
The category type of the Great People.
description
Description of the Great People.