FANDOM


m
m (top: category)
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="float:right; max-width:50%;"
+
<includeonly><infobox>
|+<big><big>'''{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}}}}'''</big></big>
+
<title>
! colspan="2"| {{pageimage|png}}{{#if: {{{era|}}}| <br/>Only available in {{{era}}} and earlier starts. {{#if: {{{expires|}}} | <br/>[[Obsolete]] with the discovery of [[{{{expires}}}]].}} }}
+
<default>{{#replace:{{PAGENAME}}|(Civ5)|}}</default>
|-
+
</title>
!Cost
+
<image>
|{{ #if: {{{cost|}}} | {{{cost}}} | N/A }}
+
<default>{{PortableInfoboxPageImage}}</default>
|-
+
<caption>
!Culture
+
<default>
|<nowiki></nowiki>
+
{{PortableInfoBoxUploadImage}}[[List of wonders in Civ5|World wonder]] {{#if: {{{era|}}}|of the [[{{{era}}} era (Civ5)|{{{era}}} era]]}} in ''[[Civilization V]]''{{#if: {{{expires|}}} |. <br/>[[Obsolete]] with the discovery of [[{{{expires}}}]].}}<br/>{{#if: {{{game|}}} | '''Introduced in''' ''[[{{{game}}}]]''<br/> | <!--Vanilla--> }}</default>
{{ #if: {{{culture|}}} | {{{culture}}} | N/A}}
+
</caption>
|-
+
</image>
!Required technology
+
<data source="cost">
|{{ #if: {{{reqtech|}}} | [[{{{reqtech}}} (Civ5)|{{{reqtech}}}]]}}
+
<label>Production cost</label>
|-
+
<format>{{{cost}}} {{Production5}}</format>
![[Great people (Civ5)|Great people]] points
+
</data>
|{{ #if: {{{gpp|}}} | {{{gpp}}} }} {{ #if: {{{gpt|}}} | [[Great {{{gpt}}} (Civ5)|Great {{{gpt}}}]]}}
+
<data source="culture">
|-
+
<label>Culture</label>
!Effect
+
<format>{{{culture}}} {{culture5}}</format>
|<nowiki></nowiki>
+
</data>
{{ #if: {{{effect|}}} | {{{effect}}} }}
+
<data source="gpp">
|}
+
<label>{{GreatPeople5}}</label>
{{#if: {{{quote|}}} | :''{{#ifeq: {{#sub:{{{quote}}}|0|1}} |"| |"}}{{{quote}}}{{#ifeq: {{#sub:{{{quote}}}|0|1}} |"| |"}}''
+
<format>{{ #if: {{{gpp|}}} | {{{gpp}}} }} {{ #if: {{{gpt|}}} | [[Great {{{gpt}}} (Civ5)|Great {{{gpt}}}]] points}}</format>
  +
</data>
  +
<data source="reqtech">
  +
<label>Technology</label>
  +
<format>{{#ifeq:{{{reqtech}}}|?|Unknown|{{PageIcon5|{{{reqtech}}}}}}}</format>
  +
</data>
  +
<data source="effect">
  +
<label>Effect</label>
  +
</data>
  +
</infobox>{{BackArrow|List_of_wonders_in_Civ5|Back to the list of wonders}}{{#if: {{{quote|}}} | :''{{#ifeq: {{#sub:{{{quote}}}|0|1}} |"| |"}}{{{quote}}}{{#ifeq: {{#sub:{{{quote}}}|0|1}} |"| |"}}''
 
:–{{{quoted|Unknown}}} }}
 
:–{{{quoted|Unknown}}} }}
[[Category:Wonders (Civ5)]]</includeonly>
+
{{#if: {{NAMESPACE}} ||[[Category:Wonders (Civ5)]]}}</includeonly><noinclude>{{documentation}}
<noinclude>
+
[[Category:Civ5 templates]]</noinclude>
{{documentation}}
 
[[Category:Civilopedia templates|Wonder]]
 
</noinclude>
 

Revision as of 22:15, November 15, 2016

(view | edit | purge | history)

Template documentation (the template shown above may sometimes be hidden or invisible)
Description

This template renders an infobox about a Civ5 wonder.

Usage
  • gpt = Great person type, e.g. Merchant or Engineer
  • gpp = Great person points
{{wonder (Civ5)
|name = 
|game = 
|cost = 
|culture = 
|reqtech = 
|gpp =
|gpt = 
|quote = 
|quoted = 
|effect = 
}}
Example
{{wonder (Civ5)
|name = Angkor Wat
|image = Angkor Wat (Civ5).png
|quote = A wise quote about Angkor Wat
|quoted = Some notable person
|cost = 300
|culture = 1
|reqtech = Theology
|gpp = 1
|gpt = Engineer
|effect = [[Culture (Civ5)|]] cost of acquiring new tiles reduced by 75% in all cities
}}

Renders as:

BackArrowGreen Back to the list of wonders
"A wise quote about Angkor Wat"
–Some notable person

Community content is available under CC-BY-SA unless otherwise noted.