Template:StructureInfobox
Thaumanovic (Talk | contribs) (Added ability to easily change colors using /color sub-page.) |
Thaumanovic (Talk | contribs) m (Fixed bug.) |
||
Line 1: | Line 1: | ||
- | {| style="background-color: rgba(0, 0, 0, 0.8); width: 240px; border: solid {{ | + | {| style="background-color: rgba(0, 0, 0, 0.8); width: 240px; border: solid {{StructureInfobox/color}} 1px; border-collapse: collapse; margin: 10px -132px 10px 10px; font-family: Tahoma; font-size: 11px;" align="right" |
- | ! colspan="2" style="text-align: center; padding: 0.6em 1.2em; background-color: {{ | + | ! colspan="2" style="text-align: center; padding: 0.6em 1.2em; background-color: {{StructureInfobox/color}};" | Structure: {{PAGENAME}} |
|- | |- | ||
| colspan="2" style="text-align: center; padding: 0.8em;" | [http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/builds/{{{image|unknown.png}}} Image] | | colspan="2" style="text-align: center; padding: 0.8em;" | [http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/builds/{{{image|unknown.png}}} Image] | ||
Line 13: | Line 13: | ||
| style="padding: 0.4em 0.6em 0.8em 0.6em;" | <includeonly>{{InfoboxPart_{{{extract|unknown}}}}}</includeonly> | | style="padding: 0.4em 0.6em 0.8em 0.6em;" | <includeonly>{{InfoboxPart_{{{extract|unknown}}}}}</includeonly> | ||
|- | |- | ||
- | ! colspan="2" style="padding: 0.2em 0.6em; text-align: center; background-color: {{ | + | ! colspan="2" style="padding: 0.2em 0.6em; text-align: center; background-color: {{StructureInfobox/color}};" | Resources |
|- | |- | ||
| style="padding: 0.8em 0.6em 0.4em 0.6em;" | Mining | | style="padding: 0.8em 0.6em 0.4em 0.6em;" | Mining | ||
Line 24: | Line 24: | ||
| style="padding: 0.4em 0.6em 0.8em 0.6em;" | <includeonly>{{{research|{{InfoboxPart_unknown}}}}}</includeonly> | | style="padding: 0.4em 0.6em 0.8em 0.6em;" | <includeonly>{{{research|{{InfoboxPart_unknown}}}}}</includeonly> | ||
|- | |- | ||
- | ! colspan="2" style="padding: 0.2em 0.6em; text-align: center; background-color: {{ | + | ! colspan="2" style="padding: 0.2em 0.6em; text-align: center; background-color: {{StructureInfobox/color}};" | Combat |
|- | |- | ||
| style="padding: 0.8em 0.6em 0.4em 0.6em;" | Attack | | style="padding: 0.8em 0.6em 0.4em 0.6em;" | Attack |
Revision as of 16:43, 20 November 2016
Structure: StructureInfobox | |
---|---|
Image | |
Size | |
Structure Limit | |
Extractable | |
Resources | |
Mining | |
Artifact | |
Research | |
Combat | |
Attack | |
Defense | |
Cloak | |
Population | |
Invasion Defense |
Summary
This template summarizes common attributes for structures and displays them in a an organized table. The intent is to have this box on all structure pages so information is consistent and therefore more readily available.
Usage
Syntax
{{StructureInfobox |image= |size= |limit= |extract= |mining= |artifact= |research= |attack= |defense= |cloak= |population= |invdefense= }}
Parameter Specifications
(todo)