Difference between revisions of "Template:Discovery"

From Rollo
Line 4: Line 4:
 
|midway through the}}
 
|midway through the}}
 
{{4X|{{#switch:{{{era|}}}
 
{{4X|{{#switch:{{{era|}}}
|1=agricultural
+
|1=agricultural [[Category:{{{Phase|Mid}}} Agricultural era discoveries]]
|2=literate
+
|2=literate [[Category:{{{Phase|Mid}}} Literate era discoveries]]
|3=post-classical
+
|3=post-classical [[Category:{{{Phase|Mid}}} Post-Classical era discoveries]]
|4=industrial
+
|4=industrial [[Category:{{{Phase|Mid}}} Industrual era discoveries]]
|5=information
+
|5=information [[Category:{{{Phase|Mid}}} Information era discoveries]]
|6=near-future
+
|6=near-future [[Category:{{{Phase|Mid}}} Near-Future era discoveries]]
|7=far-future
+
|7=far-future [[Category:{{{Phase|Mid}}} Far-Future era discoveries]]
|8=transcendence
+
|8=transcendence [[Category:{{{Phase|Mid}}} Transcendence era discoveries]]
 
|={{{era|era}}}}}}} {{4X|era}}. {{#if:{{{inspired|}}}|It can be {{4X|inspired}} if you {{4X|inspire}}.}} It costs  
 
|={{{era|era}}}}}}} {{4X|era}}. {{#if:{{{inspired|}}}|It can be {{4X|inspired}} if you {{4X|inspire}}.}} It costs  
 
{{#switch: {{{science|}}}
 
{{#switch: {{{science|}}}
|F={{4X|formal science}}
+
|F={{4X|formal science}} [[Category:Formal discoveries]]
|N={{4X|natural science}}
+
|N={{4X|natural science}} [[Category:Natural discoveries]]
|S={{4X|social science}}
+
|S={{4X|social science}} [[Category:Social discoveries]]
|FN={{4X|formal}} and {{4X|natural science}}
+
|FN={{4X|formal}} and {{4X|natural science}} [[Category:Formal-Natural discoveries]]
|FS={{4X|formal}} and {{4X|social science}}
+
|FS={{4X|formal}} and {{4X|social science}} [[Category:Formal-Social discoveries]]
|NS={{4X|natural}} and {{4X|social science}}
+
|NS={{4X|natural}} and {{4X|social science}} [[Category:Natural-Social discoveries]]
|FNS={{4X|forma}}, {{4X|natural}}, and {{4X|social}}
+
|FNS={{4X|formal}}, {{4X|natural}}, and {{4X|social}} [[Category:Diverse discoveries]]
|=unknown science}} to {{4X|discover}}. {{{post|}}}{{#if:{{{bonus|}}}
+
|=unknown science}} to {{4X|discover}}. {{{post|}}}{{#if:{{{bonus|}}} {{#if:{{{bonus|}}}|[[Category:Discoveries with a bonus]]|[[Category:Discoveries without a bonus]]}} {{#if:{{{inspire|}}}|[[Category:Discoveries that can be inspired]]|[[Category:Discoveries that can't be inspired]]}}
  
 
{{{bonus|}}}}}
 
{{{bonus|}}}}}
{{Unlock}}<includeonly>[[Category:Technologies]] [[Category:{{{era|}}} era technologies]]</includeonly><noinclude>
+
{{Unlock}}<includeonly>[[Category:Discoveries]] </includeonly><noinclude>
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>

Revision as of 13:15, 25 March 2021

Discovery is a Template:4X that can be revealed midway through the Template:4X Template:4X. It costs unknown science to Template:4X.

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)".  Can be omitted.
|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
}}