Difference between revisions of "Template:Discovery"

From Rollo
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''{{#replace:{{PAGENAME}}|(tech)|}}''' is {{#switch:{{{phase|early}}}|early=an early |mid=mid-|late=late }}{{4X|{{#switch:{{{era|}}}
+
'''{{#replace:{{PAGENAME}}|(tech)|}}''' is a {{4X|discovery}} that can be revealed {{#switch:{{{phase|}}}
|1=agricultural
+
|early=early in the
|2=literate
+
|late=late in the
|3=post-classical
+
|end=at the end of the
|4=industrial
+
|midway through the}}
|5=information
+
{{#switch:{{{era|}}}
|6=near-future
+
|1={{4X|agricultural}} [[Category:{{{phase|Mid}}} Agricultural era discoveries]]
|7=far-future
+
|2={{4X|literate}} [[Category:{{{phase|Mid}}} Literate era discoveries]]
|8=transcendence
+
|3={{4X|post-classical}} [[Category:{{{phase|Mid}}} Post-Classical era discoveries]]
|={{{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
+
|4={{4X|industrial}} [[Category:{{{phase|Mid}}} Industrual era discoveries]]
{{#switch: {{{science|}}}
+
|5={{4X|information}} [[Category:{{{phase|Mid}}} Information era discoveries]]
|F={{4X|formal science}}
+
|6={{4X|near-future}} [[Category:{{{phase|Mid}}} Near-Future era discoveries]]
|N={{4X|natural science}}
+
|7={{4X|far-future}} [[Category:{{{phase|Mid}}} Far-Future era discoveries]]
|S={{4X|social science}}
+
|8={{4X|transcendence}} [[Category:{{{phase|Mid}}} Transcendence era discoveries]]
|FN={{4X|formal}} and {{4X|natural science}}
+
|={{{era|era}}}}} {{4X|era}}{{#switch: {{{science|}}}
|FS={{4X|formal}} and {{4X|social science}}
+
|F=, and costs {{4X|formal science}} to discover. [[Category:Formal discoveries]]
|NS={{4X|natural}} and {{4X|social science}}
+
|N=, and costs {{4X|natural science}} to discover. [[Category:Natural discoveries]]
|FNS={{4X|forma}}, {{4X|natural}}, and {{4X|social}}
+
|S=, and costs {{4X|social science}} to discover. [[Category:Social discoveries]]
|=unknown science}} to research. {{{post|}}}{{#if:{{{bonus|}}}
+
|FN=. This costs both {{4X|formal}} and {{4X|natural science}} to discover. [[Category:Formal-Natural discoveries]]
 +
|FS=. This costs both {{4X|formal}} and {{4X|social science}} to discover. [[Category:Formal-Social discoveries]]
 +
|NS=. This costs both {{4X|natural}} and {{4X|social science}} to discover. [[Category:Natural-Social discoveries]]
 +
|FNS=. This costs {{4X|formal}}, {{4X|natural}}, and {{4X|social}} to discover. [[Category:Diverse discoveries]]
 +
|=.}} {{#if:{{{inspire|}}}|It can be {{4X|inspired}} if you {{{inspire|}}}.}} {{{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>
Line 26: Line 30:
 
|post=Text here goes after the automated blurb.  Can be omitted.
 
|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.
 
|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)".
+
|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
 
|era=1, 2, 3, 4, 5, 6, 7, 8
|phase=early, mid, late
+
|phase=early, mid, late, end
 
|science=F, N, S, FN, FS, NS, FNS
 
|science=F, N, S, FN, FS, NS, FNS
 
}}</pre>
 
}}</pre>
Line 37: Line 41:
 
|inspire=
 
|inspire=
 
|era=
 
|era=
|phase=early, mid, late
+
|phase=early, mid, late, end
 
|science=F, N, S, FN, FS, NS, FNS
 
|science=F, N, S, FN, FS, NS, FNS
 
}}</pre>
 
}}</pre>
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 18:37, 25 March 2021

Discovery is a Template:4X that can be revealed midway through the era 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, end
|science=F, N, S, FN, FS, NS, FNS
}}
{{Discovery
|bonus=
|inspire=
|era=
|phase=early, mid, late, end
|science=F, N, S, FN, FS, NS, FNS
}}