Difference between revisions of "Template:Discovery"

From Rollo
Line 1: Line 1:
'''{{#replace:{{PAGENAME}}|(tech)|}}''' is a{{#ifeq:{{{phase|}}}|early|n}} {{{phase|mid}}} {{4X|{{#switch:{{{era|}}}
+
'''{{#replace:{{PAGENAME}}|(tech)|}}''' is {{#switch:{{{phase|early}}}|early=an early |mid=mid-|late=late }}{{4X|{{#switch:{{{era|}}}
 
|1=agricultural
 
|1=agricultural
 
|2=literate
 
|2=literate
Line 8: Line 8:
 
|7=far-future
 
|7=far-future
 
|8=transcendence
 
|8=transcendence
|={{{era|}}}}}}} {{4X|discovery}} in {{4X|4X}}. It can be {{4X|inspired}} if you {{4X|inspire}}.  While in the appropriate {{4X|era}}, it costs  
+
|={{{era|era}}}}}}} era {{4X|discovery}} in {{4X|4X}}. It can be {{4X|inspired}} if you {{4X|inspire}}.  While in the appropriate {{4X|era}}, it costs  
 
{{#switch: {{{science|}}}
 
{{#switch: {{{science|}}}
 
|F={{4X|formal science}}
 
|F={{4X|formal science}}
Line 17: Line 17:
 
|NS={{4X|natural}} and {{4X|social science}}
 
|NS={{4X|natural}} and {{4X|social science}}
 
|FNS={{4X|forma}}, {{4X|natural}}, and {{4X|social}}
 
|FNS={{4X|forma}}, {{4X|natural}}, and {{4X|social}}
|=unknown science}} to research. {{{post|}}}
+
|=unknown science}} to research. {{{post|}}}{{#if:{{{bonus|}}}
 
 
{{{bonus|}}}
 
  
 +
{{{bonus|}}}}}
 
{{Unlock}}<includeonly>[[Category:Technologies]] [[Category:{{{era|}}} era technologies]]</includeonly><noinclude>
 
{{Unlock}}<includeonly>[[Category:Technologies]] [[Category:{{{era|}}} era technologies]]</includeonly><noinclude>
 
==Usage==
 
==Usage==

Revision as of 23:58, 24 March 2021

Discovery is an early Template:4X era Template:4X in Template:4X. It can be Template:4X if you Template:4X. While in the appropriate Template:4X, it costs unknown science to research.

Unlocked by Discovery

{{#dpl: debug=1
category=Unlocked by Discovery mode=userformat format=,¦- \n ¦ style="width:170px; "¦ [[%PAGE%¦²{#replace:%PAGE%¦4X:¦}²]],\n, tablerow=¦¦ %%\n

}}|}

Usage

{{Discovery
|post=Text here goes after the automated blurb.  Can be omitted.
|bonus=Blurb describing any bonus that doesn't fit into the standard (Unlock).  Can be omitted.
|inspire=What inspires the discovery.  "It can be {{4X|inspired}} if you (x)".
|era=1, 2, 3, 4, 5, 6, 7, 8
|phase=early, mid, late
|science=F, N, S, FN, FS, NS, FNS
}}
{{Discovery
|bonus=
|inspire=
|era=
|phase=early, mid, late
|science=F, N, S, FN, FS, NS, FNS
}}