Template:InfoboxRegion: Difference between revisions

From Universe Wiki | Dawn of Victory 2289
Jump to navigation Jump to search
m (testing)
mNo edit summary
 
(34 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{InfoboxRegion
{{InfoboxRegion
| image = Flag of Example.png
| image = Flag of Example.png
| imageBG = #1b4236
| imageBG = #153229
| name = Region Example
| name = Region Example
| nameBG = #1B4236
| nameBG = #1B4236
Line 9: Line 9:
| location = Example Location
| location = Example Location
| subregions = Example Subregions
| subregions = Example Subregions
| num_subregions = Number of subregions + types
| star systems = Example Star Systems
| star systems = Example Star Systems
| num_star_systems = Number of star systems
| organizations = Example Organizations
| organizations = Example Organizations
| num_organizations = Number of organizations
| nations = Example Nations
| nations = Example Nations
| num_nations = Number of nations
| state actors = Example State Actors
| state actors = Example State Actors
| non-state actors = Example Non-State Actors
| non-state actors = Example Non-State Actors
Line 18: Line 22:
}}
}}
</pre></noinclude>
</pre></noinclude>
 
{| class="infobox" cellspacing="0" cellpadding="0" style="padding-bottom:10px; border:solid 1px #E7CC75; float:right; clear:right; width:350px; background:{{{BG|#153229}}}; margin-left: 20px; margin-bottom: 20px"
 
{| class="infobox" cellspacing="0" cellpadding="0" style="float:right; clear:right; width:350px; padding:10px 2px; background:{{{BG|#153229}}};"
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#153229}}}; text-align:center; border-bottom:0px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}}
! style="background:{{{imageBG|#153229}}}; text-align:center; border-bottom:0px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}}
}}
}}
{{!}}-
{{!}}-
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="padding: 5px 5px; border-top:solid 1px #E7CC75; border-bottom:solid 1px #E7CC75; background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}; text-align:center; font-size:120%;" colspan="2" |
{{#if:{{{system-icon|}}}|{{{system-icon|}}} }} <div style="display:inline-block; padding-top:2px>{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</div>
{{!}}-
{{!}}-
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{type-title|Type}}}''':
'''{{{type-title|Type}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 20px 0 20px; line-height:14px;" {{!}}
{{{type|}}}
{{{type|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{location|}}}|
{{#if:{{{location|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{location-title|Location}}}''':
'''{{{location-title|Location}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 20px 0 20px; line-height:14px;" {{!}}
{{{location|}}}
{{{location|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{subregions|}}}|
{{#if:{{{subregions|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{subregions-title|Subregions}}}''':
'''{{{subregions-title|Subregions}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 20px 0 20px; line-height:14px;" {{!}}
<div class="mw-collapsible {{{subregions-collapsed|mw-collapsed}}}" style="overflow:auto; padding:7px">
<div style="font-weight:bold;">{{{num_subregions|}}}</div>
<div class="mw-collapsible-content">
{{{subregions|}}}
{{{subregions|}}}
</div></div>
{{!}}-}}
{{!}}-}}
{{#if:{{{star systems|}}}|
{{#if:{{{star systems|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{star systems-title|Star Systems}}}''':
'''{{{star systems-title|Star Systems}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 20px 0 20px; line-height:14px;" {{!}}
<div class="mw-collapsible {{{star-systems-collapsed|mw-collapsed}}}" style="overflow:auto; padding:7px">
<div style="font-weight:bold;">{{{num_star_systems|}}}</div>
<div class="mw-collapsible-content">
{{{star systems|}}}
{{{star systems|}}}
</div></div>
{{!}}-}}
{{!}}-}}
{{#if:{{{organizations|}}}|
{{#if:{{{organizations|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{organizations-title|Organizations}}}''':
'''{{{organizations-title|Organizations}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 20px 0 20px; line-height:14px;" {{!}}
<div class="mw-collapsible {{{organizations-collapsed|mw-collapsed}}}" style="overflow:auto; padding:7px">
<div style="font-weight:bold;">{{{num_organizations|}}}</div>
<div class="mw-collapsible-content">
{{{organizations|}}}
{{{organizations|}}}
</div></div>
{{!}}-}}
{{!}}-}}
{{#if:{{{nations|}}}|
{{#if:{{{nations|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{nations-title|Nations}}}''':
'''{{{nations-title|Nations}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 20px 0 20px; line-height:14px;" {{!}}
<div class="mw-collapsible {{{nations-collapsed|mw-collapsed}}}" style="overflow:auto; padding:7px">
<div style="font-weight:bold;">{{{num_nations|}}}</div>
<div class="mw-collapsible-content">
{{{nations|}}}
{{{nations|}}}
</div></div>
{{!}}-}}
{{!}}-}}
{{#if:{{{state actors|}}}|
{{#if:{{{state actors|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{state actors-title|State Actors}}}''':
'''{{{state actors-title|State Actors}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 20px 0 20px; line-height:14px;" {{!}}
{{{state actors|}}}
{{{state actors|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{non-state actors|}}}|
{{#if:{{{non-state actors|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{non-state actors-title|Non-State Actors}}}''':
'''{{{non-state actors-title|Non-State Actors}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 20px 0 20px; line-height:14px;" {{!}}
{{{non-state actors|}}}
{{{non-state actors|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{population|}}}|
{{#if:{{{population|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 20px 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{population-title|Population}}}''':
'''{{{population-title|Population}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 20px 0 20px; line-height:14px;" {{!}}
{{{population|}}}
{{{population|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{references|}}}|
{{#if:{{{references|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px; width:100px;" {{!}}
'''{{{references-title|References}}}''':
'''{{{references-title|References}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#1B4236}}}; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 0 0 20px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:transparent; border-bottom:0px solid {{{lineBG|#fff}}}; color:#fff; padding: 10px 20px 0 20px; line-height:14px;" {{!}}
{{{references|}}}
{{{references|}}}
{{!}}-}}
{{!}}-}}
|}
|}
<noinclude>
<templatedata>
{
"params": {
"subregions-collapsed": {
"description": "Set equal to \" \" for this section to not be collapsed by default on this page"
},
"organizations-collapsed": {
"description": "Set equal to \" \" for this section to not be collapsed by default on this page"
},
"nations-collapsed": {
"description": "Set equal to \" \" for this section to not be collapsed by default on this page"
},
"star-systems-collapsed": {
"description": "Set equal to \" \" for this section to not be collapsed by default on this page"
},
"image": {},
"name": {},
"type": {},
"type-title": {},
"location": {},
"location-title": {},
"subregions": {},
"subregions-title": {},
"num_subregions": {},
"star systems": {},
"star systems-title": {},
"num_star_systems": {},
"organizations": {},
"organizations-title": {},
"num_organizations": {},
"nations": {},
"nations-title": {},
"num_nations": {},
"state actors": {},
"state actors-title": {},
"non-state actors": {},
"non-state actors-title": {},
"population": {},
"population-title": {},
"references": {},
"references-title": {},
"system-icon": {}
},
"paramOrder": [
"subregions-collapsed",
"star-systems-collapsed",
"organizations-collapsed",
"nations-collapsed",
"image",
"name",
"type",
"type-title",
"location",
"location-title",
"subregions",
"subregions-title",
"num_subregions",
"star systems",
"star systems-title",
"num_star_systems",
"organizations",
"organizations-title",
"num_organizations",
"nations",
"nations-title",
"num_nations",
"state actors",
"state actors-title",
"non-state actors",
"non-state actors-title",
"population",
"population-title",
"references",
"references-title",
"system-icon"
]
}
</templatedata>
</noinclude>

Latest revision as of 03:38, 4 October 2025

{{InfoboxRegion
| image = Flag of Example.png
| imageBG = #153229
| name = Region Example
| nameBG = #1B4236
| color2 = #fff
| type = Example Type
| location = Example Location
| subregions = Example Subregions
| num_subregions = Number of subregions + types
| star systems = Example Star Systems
| num_star_systems = Number of star systems
| organizations = Example Organizations
| num_organizations = Number of organizations
| nations = Example Nations
| num_nations = Number of nations
| state actors = Example State Actors
| non-state actors = Example Non-State Actors
| population = Example Population
| references = Example References
}}
InfoboxRegion

No description.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
subregions-collapsedsubregions-collapsed

Set equal to " " for this section to not be collapsed by default on this page

Unknownoptional
star-systems-collapsedstar-systems-collapsed

Set equal to " " for this section to not be collapsed by default on this page

Unknownoptional
organizations-collapsedorganizations-collapsed

Set equal to " " for this section to not be collapsed by default on this page

Unknownoptional
nations-collapsednations-collapsed

Set equal to " " for this section to not be collapsed by default on this page

Unknownoptional
imageimage

no description

Unknownoptional
namename

no description

Unknownoptional
typetype

no description

Unknownoptional
type-titletype-title

no description

Unknownoptional
locationlocation

no description

Unknownoptional
location-titlelocation-title

no description

Unknownoptional
subregionssubregions

no description

Unknownoptional
subregions-titlesubregions-title

no description

Unknownoptional
num_subregionsnum_subregions

no description

Unknownoptional
star systemsstar systems

no description

Unknownoptional
star systems-titlestar systems-title

no description

Unknownoptional
num_star_systemsnum_star_systems

no description

Unknownoptional
organizationsorganizations

no description

Unknownoptional
organizations-titleorganizations-title

no description

Unknownoptional
num_organizationsnum_organizations

no description

Unknownoptional
nationsnations

no description

Unknownoptional
nations-titlenations-title

no description

Unknownoptional
num_nationsnum_nations

no description

Unknownoptional
state actorsstate actors

no description

Unknownoptional
state actors-titlestate actors-title

no description

Unknownoptional
non-state actorsnon-state actors

no description

Unknownoptional
non-state actors-titlenon-state actors-title

no description

Unknownoptional
populationpopulation

no description

Unknownoptional
population-titlepopulation-title

no description

Unknownoptional
referencesreferences

no description

Unknownoptional
references-titlereferences-title

no description

Unknownoptional
system-iconsystem-icon

no description

Unknownoptional