Difference between revisions of "Template:Infobox Faction"

From Aurora Information Uplink
Jump to navigation Jump to search
m
(Makes legislature and motto optional)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div width="100%" style="float:right">
<div width="100%" style="float:right">
{| class="wikitable" style="border:1px solid black; font-size: 12px;margin:auto;width: 80%" cellpadding="10px"
{| class="wikitable" style="border:1px solid black; font-size: 12px;margin:auto;width: 100%" cellpadding="10px"
! colspan="2" style="background-color:{{{headercolor}}};" |{{{name}}}
! colspan="2" style="background-color:{{{headercolor}}};color:{{{textcolor}}};" |{{{name}}}
|-
|-
|colspan="2"|<center>[[File:{{{flag}}}.png|128px]]</center>
|colspan="2"|<center>[[File:{{{flag}}}.png|128px]]<br>Flag</center>
|-
|-
|'''National Motto'''||{{{national_motto}}}
|{{#if: {{{motto|}}} | '''Motto''' | }}||{{#if: {{{motto|}}} | {{{motto}}} | }}
|-
|-
|'''Capital City<br><small>Largest City'''</small>||{{{capital_city}}}<br><small>{{{largest_city}}}</small>
|'''Capital City'''<br><span style="font-size:90%">Largest City</span>||{{{capital_city}}}<br><small>{{{largest_city}}}</small>
|-
|-
|'''Official Languages'''||{{{official_languages}}}
|'''Language(s)'''||{{{languages}}}
|-
|-
|'''Species'''||{{{species}}}
|'''Species'''||{{{species}}}
Line 15: Line 15:
|'''Religion'''||{{{religion}}}
|'''Religion'''||{{{religion}}}
|-
|-
|'''Demonym'''||{{{demonym}}}
|'''Demonym(s)'''||{{{demonym}}}
|-
|-
|'''Government Type'''||{{{government_type}}}
|'''Government'''<br><span style="font-size:90%">{{{leader_title}}}</span>||{{{government_type}}}<br><span style="font-size:90%">{{{leader_name}}}</span>
|-
|-
|'''Leader'''||{{{leader_title1}}} {{{leader_name1}}}
|{{#if: {{{legislature|}}} | '''Legislature''' <br>| }}{{#if: {{{upper_house|}}} | <span style="font-size:90%">Upper House <br></span>| }}{{#if: {{{lower_house|}}} | <span style="font-size:90%">Lower House </span>| }}||{{#if: {{{legislature|}}} | {{{legislature}}} <br>| }}{{#if: {{{upper_house|}}} | <span style="font-size:90%">{{{upper_house}}} <br></span>| }}{{#if: {{{lower_house|}}} | <span style="font-size:90%">{{{lower_house}}} </span>| }}
|-
|'''Legislature<br><small>Upper House<br>Lower House</small>'''||{{{legislature}}}<br><small>{{{upper_house}}}<br>{{{lower_house}}}</small>
|-
|-
|'''Currency'''||{{{currency}}}
|'''Currency'''||{{{currency}}}
|-
|'''Claimed Systems'''||{{{claimed_systems}}}
|}
|}
</div>
</div>
Line 31: Line 27:
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
==Example==
==Example==
<code><nowiki>{{Infobox Faction</nowiki>
<nowiki>|headercolor = #776be3</nowiki>
<nowiki>|textcolor = white</nowiki>
<nowiki>|name = Federal Republic of Biesel</nowiki>
<nowiki>|flag = Republicofbieselflag</nowiki>
<nowiki>|motto = "The Shining Light of Liberty." (Optional)</nowiki>
<nowiki>|capital_city = Mendell City</nowiki>
<nowiki>|largest_city = Mendell City</nowiki>
<nowiki>|languages = Tau Ceti Basic</nowiki>
<nowiki>|species = Human<br>Tajara<br>Skrell<br>Unathi<br>Vaurca<br>Diona</nowiki>
<nowiki>|religion = No official religion</nowiki>
<nowiki>|demonym = Biesellite</nowiki>
<nowiki>|government_type = Federal Democracy</nowiki>
<nowiki>|leader_title = President</nowiki>
<nowiki>|leader_name = Joseph Dorn</nowiki>
<nowiki>|legislature = Congress (Optional)</nowiki>
<nowiki>|upper_house = State Senate (Optional)</nowiki>
<nowiki>|lower_house = Tau Ceti Assembly of Spokespeople (Optional)</nowiki>
<nowiki>|currency = Biesel Standard Credit</nowiki>
<nowiki>|}}</nowiki></code>
Yields:
{{Infobox Faction
{{Infobox Faction
|headercolor = #776be3
|headercolor = #776be3
|textcolor = white
|name = Federal Republic of Biesel
|name = Federal Republic of Biesel
|flag = Republicofbieselflag
|flag = Republicofbieselflag
|national_motto = The shining light of liberty.
|motto = "The Shining Light of Liberty."
|location = Tau Ceti<br>Corporate Reconstruction Zone
|capital_city = Mendell City
|capital_city = Mendell City
|largest_city = Mendell City
|largest_city = Mendell City
|official_languages = Tau Ceti Basic
|languages = Tau Ceti Basic
|species = Human, Tajara, Skrell, Unathi, Vaurca, Diona
|species = Human<br>Tajara<br>Skrell<br>Unathi<br>Vaurca<br>Diona
|religion = No official religion
|religion = No official religion
|demonym = Biesellite
|demonym = Biesellite
|government_type = Federal Democracy
|government_type = Federal Democracy
|leader_title1 = President
|leader_title = President
|leader_name1 = Joseph Dorn
|leader_name = Joseph Dorn
|legislature = Congress
|legislature = Congress
|upper_house = State Senate
|upper_house = State Senate
|lower_house = Tau Ceti Assembly of Spokespeople
|lower_house = Tau Ceti Assembly of Spokespeople
|currency = Biesel Standard Credit
|currency = Biesel Standard Credit
|claimed_systems = Tau Ceti, Corporate Reconstruction Zone
|}}
|}}
[[Category:Templates]]
[[Category:Templates]]
[[Category:Pages]]
[[Category:Pages]]

Latest revision as of 22:16, 8 March 2025

{{{name}}}
[[File:{{{flag}}}.png|128px]]
Flag
Capital City
Largest City
{{{capital_city}}}
{{{largest_city}}}
Language(s) {{{languages}}}
Species {{{species}}}
Religion {{{religion}}}
Demonym(s) {{{demonym}}}
Government
{{{leader_title}}}
{{{government_type}}}
{{{leader_name}}}
Currency {{{currency}}}




















Example

{{Infobox Faction
|headercolor = #776be3
|textcolor = white
|name = Federal Republic of Biesel
|flag = Republicofbieselflag
|motto = "The Shining Light of Liberty." (Optional)
|capital_city = Mendell City
|largest_city = Mendell City
|languages = Tau Ceti Basic
|species = Human<br>Tajara<br>Skrell<br>Unathi<br>Vaurca<br>Diona
|religion = No official religion
|demonym = Biesellite
|government_type = Federal Democracy
|leader_title = President
|leader_name = Joseph Dorn
|legislature = Congress (Optional)
|upper_house = State Senate (Optional)
|lower_house = Tau Ceti Assembly of Spokespeople (Optional)
|currency = Biesel Standard Credit
|}}

Yields:

Federal Republic of Biesel
Republicofbieselflag.png
Flag
Motto "The Shining Light of Liberty."
Capital City
Largest City
Mendell City
Mendell City
Language(s) Tau Ceti Basic
Species Human
Tajara
Skrell
Unathi
Vaurca
Diona
Religion No official religion
Demonym(s) Biesellite
Government
President
Federal Democracy
Joseph Dorn
Legislature
Upper House
Lower House
Congress
State Senate
Tau Ceti Assembly of Spokespeople
Currency Biesel Standard Credit