Content added Content deleted
(username removed) (Checking how this would affect infoboxes) |
Hurstbergn (talk | contribs) (added pop and wiki logo) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<infobox> |
|||
{{Infobox |
|||
<title source="name"> |
|||
| bodystyle = |
|||
<default><span style="font-size:{{#switch:{{{font-size|}}}|big=16px|medium=14px|small=12px|#default=16px}}; line-height:120% !important; text-align: center; display: block; padding-top:2px"><big>'''{{PAGENAME}}'''</big><br/><span style="font-size:80%;">{{{nativename}}}</span></span></default> |
|||
margin: 0.5em 0 0.5em 1em; |
|||
<format><span style="font-size:{{#switch:{{{font-size|}}}|big=16px|medium=14px|small=12px|#default=16px}}; line-height:120% !important; text-align: center; display: block; padding-top:2px">{{{name}}}<br/><span style="font-size:80%; ">{{{nativename}}}</span></span></format> |
|||
float: right; |
|||
</title> |
|||
clear: right; |
|||
<group> |
|||
width: 300px; |
|||
<data source="founded"><format><div style="float:left; width:4em; height:1em">{{#if:{{{onlypredecessor|}}}|[[{{{onlypredecessor}}}|←]] {{#if:{{{predicon|}}}|[[File:{{{predicon}}}-icon.png|link={{{onlypredecessor}}}]]|<nowiki />}}|[[#before|↓]]}}</div><div style="float:right; width:4em; height:1em">{{#if: {{{onlysuccessor|}}}|{{#if:{{{nexticon|}}}|[[File:{{{nexticon}}}-icon.png|link={{{onlysuccessor}}}]]|<nowiki />}} [[{{{onlysuccessor|}}}|→]]|{{#if:{{{successor|}}}|[[#after|↓]]| }}}}</div><center><span style="font-size: 125%; font-weight: bold; line-height:125%">{{#if:{{{founded|}}}|{{{founded}}}|{{#if:{{{ended|}}}|<nowiki />|''Unknown lifespan''}}}}{{#if:{{{founded|}}}{{{ended|}}}| - |<nowiki />}}{{#if:{{{ended|}}}|{{{ended}}}|{{#if:{{{founded|}}}|Present|d. {{{ended}}}}}}}</span></format></data> |
|||
background: #f3e9eb; |
|||
</group> |
|||
| titlestyle= |
|||
<image source="image"><default>Wiki Logo.png</default><caption source="caption"><format><center>{{{caption}}}</center></format></caption></image> |
|||
| abovestyle = |
|||
<group> |
|||
font-size: 24px; |
|||
<header><center>General information</center></header> |
|||
text-align: center; |
|||
<data source="government"><label>Government</label></data> |
|||
background: #dc143c; |
|||
<data source="personality"><label>Personality</label></data> |
|||
color: #fff; |
|||
<data source="language"><label>Language</label></data> |
|||
padding: 10px 0; |
|||
</group> |
|||
line-height: 1; |
|||
<data source="type"><label>Type</label></data> |
|||
| imagestyle = |
|||
<data source="population"><label>Population</label></data> |
|||
| captionstyle = |
|||
<data source="capital"><label>Capital</label></data> |
|||
| rowstyle = |
|||
<data source="affiliation"><label>Affiliation</label></data> |
|||
| headerstyle = |
|||
<data source="religion"><label>Religion</label></data> |
|||
text-align: center; |
|||
<group> |
|||
background: #dc143c; |
|||
<header><center>Relations and opinions</center></header> |
|||
color: #fff; |
|||
<data source="friends"><label>Friends</label></data> |
|||
padding: 10px 0; |
|||
<data source="neutral"><label>Neutral With</label></data> |
|||
line-height: 1; |
|||
<data source="enemies"><label>Enemies</label></data> |
|||
| labelstyle = |
|||
<data source="likes"><label>Likes</label></data> |
|||
text-align: left; |
|||
<data source="hates"><label>Dislikes</label></data> |
|||
padding: 5px; |
|||
</group> |
|||
border-bottom: 1px solid #ccc; |
|||
<group layout="horizontal"> |
|||
| datastyle = |
|||
<header><center>Historical information</center></header> |
|||
text-align: left; |
|||
<data source="predecessor"><label><div id="before"></div>Preceded by</label></data> |
|||
padding: 5px; |
|||
<data source="successor"><label><div id="after"></div>Succeeded by</label></data> |
|||
border-bottom: 1px solid #ccc; |
|||
</group> |
|||
| belowstyle = |
|||
<group> |
|||
<header><center>Is of importants</center></header> |
|||
<data source="intospace"><label>Can into space?</label></data> |
|||
| above = {{{name|{{PAGENAME}}}}} |
|||
<data source="bork"><label>[[Terminology#Börk|Börk]]</label></data> |
|||
| image = [[File:{{{image|}}}]] |
|||
<data source="food"><label>Food</label></data> |
|||
| caption1 = {{{caption|}}} |
|||
</group> |
|||
<group> |
|||
| label1 = Government |
|||
<header><center>Status</center></header> |
|||
| data1 = {{{government|}}} |
|||
<data source="status"></data> |
|||
| label2 = Personality |
|||
</group> |
|||
| data2 = {{{personality|}}} |
|||
<group> |
|||
| label3 = Language(s) |
|||
<header><center>Notes</center></header> |
|||
| data3 = {{{language|}}} |
|||
<data source="notes"></data> |
|||
| label4 = Affiliation |
|||
</group> |
|||
| data4 = {{{affiliation|}}} |
|||
</infobox> |
|||
| label5 = Religion(s) |
|||
<noinclude> |
|||
| data5 = {{{religion|}}} |
|||
{{Documentation}} |
|||
| header6 = Relations and opinions |
|||
</noinclude> |
|||
| label7 = Friends |
|||
| data7 = {{{friends|}}} |
|||
| label8 = Enemies |
|||
| data8 = {{{enemies|}}} |
|||
| label9 = Likes |
|||
| data9 = {{{likes|}}} |
|||
| header10 = Historical information |
|||
| label11 = Predecessor |
|||
| data11 = {{{predecessor|}}} |
|||
| label12 = Successor |
|||
| data12 = {{{successor|}}} |
|||
}} |
Latest revision as of 22:06, 23 April 2024
Template documentation (for the above template, sometimes hidden or invisible)
{{Infobox countryball |name = |nativename = |founded = |ended = <!-- field blank if still living --!> |image = |caption = |government = |personality = |language = |type = |capital = |affiliation = |religion = |friends = |neutral = |enemies = |likes = |hates = |onlypredecessor = <!-- A link to another only countryball page. --> |predicon = |onlysuccessor = <!-- A link to another only countryball page. --> |nexticon = |predecessor = |successor = |intospace = |bork = |food = |status = |notes = }}
Example
{{Infobox_countryball |name = Byzantineball |nativename = Μπάλα Βυζαντινή Αυτοκρατορία<br>Μπάλα Βασιλεία Ῥωμαίων<br>Pila Imperium Romanum Orientale |image = Byzantineball.jpg |reality = Eastern Roman Empire |government = Autocratic monarchy |language = Latin (Official until 620); Greek (Official after 620) |capital = [[Constantinopleball|Costantinople]] |religion = [[Orthodoxball|Eastern orthodox]] |founded = 395 |onlypredecessor = SPQRball |predicon = SPQR |onlysuccessor = Ottomanball |nexticon = Ottoman |ended = 1453 |hates = Kebabs |intospace = No, it cannot}}
Visit Template:Infobox countryball/doc to edit this text! (How does this work?)