Template:Infobox colony: Difference between revisions

From Bastion of Hestia
Jump to navigation Jump to search
(Created page with "===Usage=== {| style="background:transparent;" | <pre> {{Infobox colony |image = Image |caption = Image Caption |name = Colony Name |faction = Faction |system = Star System |population = Population |demographics = 60% GroupA 40% GroupB |coord_x = X Coordinate (in LY) |coord_y = Y Coordinate (in LY) }} </pre> |}")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
===Usage===
<noinclude>===Usage===
{| style="background:transparent;"
{| style="background:transparent;"
| <pre>
| <pre>
Line 17: Line 17:
</pre>
</pre>
|}
|}
</noinclude>
<includeonly>{{Infobox
| bodyclass = hrecipe adr
| above  = {{{name|}}}
| abovestyle = background:#ccf;
| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |alt={{{image_alt|{{{alt|}}}}}} }}
| captionstyle = {{#if:{{{caption|}}} |padding-bottom:0.25em;border-bottom:1px solid #aaa;}}
| caption = {{{caption|}}}
| labelstyle = padding-top:0.245em;line-height:1.15em;<!--(modified longitem)-->
              padding-right:0.65em;<!--(to ensure some gap between (non-wrapped) labels and subsequent data)-->
| rowclass2 = note
| headerstyle  = background:#ccf;
| label1 = Colony Name
|  data1 = {{{name|}}}
| label2 = Faction
|  data2 = {{{faction|}}}
| label3  = Star System
|  data3  = {{{system|}}}
| label4  = Capital
|  data4  = {{{capital|}}}
| label5  = Population
|  data5  = {{{population|}}}
}}
</includeonly>

Latest revision as of 01:57, 28 March 2022

Usage

{{Infobox colony
|image = Image
|caption = Image Caption
|name = Colony Name
|faction = Faction
|system = Star System
|population = Population
|demographics =
60% GroupA
40% GroupB
|coord_x = X Coordinate (in LY)
|coord_y = Y Coordinate (in LY)
}}