Difference between revisions of "Template:Infobox Faction"

From Aurora Information Uplink
Jump to navigation Jump to search
(Makes legislature and motto optional)
 
(3 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: 100%" 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]]<br>Flag</center>
|colspan="2"|<center>[[File:{{{flag}}}.png|128px]]<br>Flag</center>
|-
|-
|'''Motto'''||{{{motto}}}
|{{#if: {{{motto|}}} | '''Motto''' | }}||{{#if: {{{motto|}}} | {{{motto}}} | }}
|-
|-
|'''Location'''||{{{location}}}
|'''Capital City'''<br><span style="font-size:90%">Largest City</span>||{{{capital_city}}}<br><small>{{{largest_city}}}</small>
|-
|'''Capital City'''<br>Largest City||{{{capital_city}}}<br>{{{largest_city}}}
|-
|-
|'''Language(s)'''||{{{languages}}}
|'''Language(s)'''||{{{languages}}}
Line 19: Line 17:
|'''Demonym(s)'''||{{{demonym}}}
|'''Demonym(s)'''||{{{demonym}}}
|-
|-
|'''Government'''<br>{{{leader_title}}}||{{{government_type}}}<br>{{{leader_name}}}
|'''Government'''<br><span style="font-size:90%">{{{leader_title}}}</span>||{{{government_type}}}<br><span style="font-size:90%">{{{leader_name}}}</span>
|-
|-
|'''Legislature'''<br>Upper House<br>Lower House||{{{legislature}}}<br>{{{upper_house}}}<br>{{{lower_house}}}
|{{#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>| }}
|-
|-
|'''Currency'''||{{{currency}}}
|'''Currency'''||{{{currency}}}
Line 31: Line 29:
  <code><nowiki>{{Infobox Faction</nowiki>
  <code><nowiki>{{Infobox Faction</nowiki>
  <nowiki>|headercolor = #776be3</nowiki>
  <nowiki>|headercolor = #776be3</nowiki>
<nowiki>|textcolor = white</nowiki>
  <nowiki>|name = Federal Republic of Biesel</nowiki>
  <nowiki>|name = Federal Republic of Biesel</nowiki>
  <nowiki>|flag = Republicofbieselflag</nowiki>
  <nowiki>|flag = Republicofbieselflag</nowiki>
  <nowiki>|motto = "The Shining Light of Liberty."</nowiki>
  <nowiki>|motto = "The Shining Light of Liberty." (Optional)</nowiki>
  <nowiki>|capital_city = Mendell City</nowiki>
  <nowiki>|capital_city = Mendell City</nowiki>
  <nowiki>|largest_city = Mendell City</nowiki>
  <nowiki>|largest_city = Mendell City</nowiki>
Line 43: Line 42:
  <nowiki>|leader_title = President</nowiki>
  <nowiki>|leader_title = President</nowiki>
  <nowiki>|leader_name = Joseph Dorn</nowiki>
  <nowiki>|leader_name = Joseph Dorn</nowiki>
  <nowiki>|legislature = Congress</nowiki>
  <nowiki>|legislature = Congress (Optional)</nowiki>
  <nowiki>|upper_house = State Senate</nowiki>
  <nowiki>|upper_house = State Senate (Optional)</nowiki>
  <nowiki>|lower_house = Tau Ceti Assembly of Spokespeople</nowiki>
  <nowiki>|lower_house = Tau Ceti Assembly of Spokespeople (Optional)</nowiki>
  <nowiki>|currency = Biesel Standard Credit</nowiki>
  <nowiki>|currency = Biesel Standard Credit</nowiki>
<nowiki>|claimed_systems = Tau Ceti<br>Corporate Reconstruction Zone</nowiki>
  <nowiki>|}}</nowiki></code>
  <nowiki>|}}</nowiki></code>
Yields:
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

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