Difference between revisions of "Template:Infobox research"
Jump to navigation
Jump to search
(Undo revision 74634 by Jakek1356theDick (talk)) Tag: Undo |
|||
Line 50: | Line 50: | ||
|- | |- | ||
{{#if: {{{basecost|}}} | {{!}} <div>Base cost</div> {{!!}} {{{basecost}}} }} | {{#if: {{{basecost|}}} | {{!}} <div>Base cost</div> {{!!}} {{{basecost}}} }} | ||
− | |-{#if:{{#pos: {{{requiredfacilities}}} |,}} | {{#arraymap:{{{requiredfacilities|}}}|,|x|* x|\n}} | {{{requiredfacilities}}} }} }} | + | |- |
+ | {{#if: {{{tags|}}} | {{!}} <div>Tags</div> {{!!}} {{#if:{{#pos: {{{tags}}} |,}} | {{#arraymap:{{{tags|}}}|,|x|* x|\n}} | {{{tags}}} }} }} | ||
+ | |- | ||
+ | {{#if: {{{prerequisites|}}} {{{requiredbuilding|}}} {{{requiredfacilities|}}} | ||
+ | | {{!}} colspan="2" class="infoboxdescription" {{!}} Requirements }} | ||
+ | |- | ||
+ | {{#if: {{{prerequisites|}}} | {{!}} <div>Technologies</div> {{!!}} {{#if:{{#pos: {{{prerequisites}}} |,}} | {{#arraymap:{{{prerequisites|}}}|,|x|* x|\n}} | {{{prerequisites}}} }} }} | ||
+ | |- | ||
+ | {{#if: {{{requiredbuilding|}}} | {{!}} <div>Building</div> {{!!}} {{{requiredbuilding}}} }} | ||
+ | |- | ||
+ | {{#if: {{{requiredfacilities|}}} | {{!}} <div>Facilities</div> {{!!}} {{#if:{{#pos: {{{requiredfacilities}}} |,}} | {{#arraymap:{{{requiredfacilities|}}}|,|x|* x|\n}} | {{{requiredfacilities}}} }} }} | ||
|} | |} | ||
<!-- Auto categories --><!-- | <!-- Auto categories --><!-- |
Revision as of 08:29, 4 September 2020
This template defines the table "Research". View table.
Usage
{{Infobox research | name = | defname = | image = | description = | description_markup = <!-- General --> | techlevel = | basecost = | tags = <!-- Requirements --> | prerequisites = | requiredbuilding = | requiredfacilities = }}
The above documentation is transcluded from Template:Infobox research/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |