Jump to content

Template:Infobox: Difference between revisions

From Topicalballs Wiki
LBMapper12 (talk | contribs)
No edit summary
LBMapper12 (talk | contribs)
No edit summary
Line 1: Line 1:
<div style="text-align:{{{textalign|left}}}">
<includeonly>{{#switch:{{{Gender|}}}|Female= [[Category:Females]]|Male= [[Category:Males]]}}
<infobox layout="stacked" accent-color-source="themecolor" accent-color-text-source="textcolor" theme-source="theme">
</includeonly><infobox layout="stacked" accent-color-source="themecolor" accent-color-text-source="textcolor">
<title source="name">
<title source="name">
    <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>'''{{{Name}}}'''</big><br/><span style="font-size:80%;">{{{NativeName}}}<br/></span></span></default>
    <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>'''{{{Name}}}'''</big><br/><span style="font-size:80%;">{{{NativeName}}}<br/></span></span></default>
    <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"><big>'''{{{Name}}}'''</big><br/><span style="font-size:80%; ">{{{NativeName}}}<br/></span></span></format>
    <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"><big>'''{{{Name}}}'''</big><br/><span style="font-size:80%; ">{{{NativeName}}}<br/></span></span></format>
</title>
</title>
    <group>
<group>
         <data source="founded"><format><div style="float:left; width:4em; height:1em">{{#if:{{{onlypredecessor|}}}|[[{{{onlypredecessor}}}|←]]&nbsp;{{#if:{{{predicon|}}}|[[File:{{{predicon}}}-icon.png|18x18px|link={{{onlypredecessor}}}]]|<nowiki />}}|[[#before|↓]]}}</div><div style="float:right; width:4em; height:1em">{{#if: {{{onlysuccessor|}}}|{{#if:{{{nexticon|}}}|&nbsp;&nbsp;&nbsp;[[File:{{{nexticon}}}-icon.png|18x18px|link={{{onlysuccessor}}}]]|<nowiki />}}&nbsp;[[{{{onlysuccessor|}}}|→]]|{{#if:{{{successor|}}}|[[#after|↓]]|&nbsp;}}}}</div><center><span style="font-size: 125%; font-weight: bold; line-height:100%">{{#if:{{{founded|}}}|{{{founded}}}|{{#if:{{{ended|}}}|<nowiki />|''Unknown lifespan''}}}}{{#if:{{{founded|}}}{{{ended|}}}|&nbsp;–&nbsp;|<nowiki />}}{{#if:{{{ended|}}}|{{{ended}}}|{{#if:{{{founded|}}}|Present|d.&nbsp;{{{ended}}}}}}}</span></format></data>
         <data source="founded"><format><div style="float:left; width:4em; height:1em">{{#if:{{{onlypredecessor|}}}|[[{{{onlypredecessor}}}|←]]&nbsp;{{#if:{{{predicon|}}}|[[File:{{{predicon}}}-icon.png|18x18px|link={{{onlypredecessor}}}]]|<nowiki />}}|[[#before|↓]]}}</div><div style="float:right; width:4em; height:1em">{{#if: {{{onlysuccessor|}}}|{{#if:{{{nexticon|}}}|&nbsp;&nbsp;&nbsp;[[File:{{{nexticon}}}-icon.png|18x18px|link={{{onlysuccessor}}}]]|<nowiki />}}&nbsp;[[{{{onlysuccessor|}}}|→]]|{{#if:{{{successor|}}}|[[#after|↓]]|&nbsp;}}}}</div><center><span style="font-size: 125%; font-weight: bold; line-height:100%">{{#if:{{{founded|}}}|{{{founded}}}|{{#if:{{{ended|}}}|<nowiki />|''Unknown lifespan''}}}}{{#if:{{{founded|}}}{{{ended|}}}|&nbsp;–&nbsp;|<nowiki />}}{{#if:{{{ended|}}}|{{{ended}}}|{{#if:{{{founded|}}}|Present|d.&nbsp;{{{ended}}}}}}}</span></format></data>
     </group>
     </group>
<image source="image"><default>PLB-wordmark.png</default><caption source="Caption"><format><center>{{{Caption}}}</center></format></caption></image>
<image source="image"><default>PLB-wordmark.png</default><caption source="Caption"><format><center>{{{Caption}}}</center></format></caption></image>
     <data source="gallery"></data>
     <data source="gallery"></data>
<group>
<group layout="stacked">
     <header><center>General Information</center></header>
     <header><center>General Information</center></header>
         <data source="Founder"><label>Founder:</label></data>
         <data source="Founder"><label>Founder:</label></data>
Line 28: Line 28:
         <data source="Mass"><label>Mass:</label></data>
         <data source="Mass"><label>Mass:</label></data>
         <data source="Satellites"><label>Satellites:</label></data>
         <data source="Satellites"><label>Satellites:</label></data>
     <data source="Gender"><label>Gender:</label>/data>
     <data source="Gender"><label>Gender:</label><format>{{#switch:{{{Gender|}}}
|Female={{I|Female}} [[Female]]
|Male={{I|Male}} [[Male]]}}</format></data>
</group>
</group>
     <group>
     <group>
Line 47: Line 49:
     <data source="Drink"><label>Favorite Drink:</label></data>
     <data source="Drink"><label>Favorite Drink:</label></data>
</group>
</group>
<group>
<group layout="horizontal">
    <header><center>Historical Information</center></header>
    <header><center>Historical Information</center></header>
     <data source="Preceded"><label><div id="before"></div>Preceded By:</label></data>
     <data source="Preceded"><label><div id="before"></div>Preceded By:</label></data>
Line 57: Line 59:
     <data source="Song"><label>Song:</label></data>
     <data source="Song"><label>Song:</label></data>
</group>
</group>
     <group>
     <group layout="normal">
    <header><center>Personal Information</center></header>
    <header><center>Personal Information</center></header>
     <data source="PersonName"><label>Name:</label></data>
     <data source="PersonName"><label>Name:</label></data>
Line 66: Line 68:
</group>
</group>
</infobox>
</infobox>
</div>
<noinclude>
<noinclude>
</noinclude>
<!-- COPY AND PASTE ME IN THE DESCRIPTION for countryballs
<!-- COPY AND PASTE ME IN THE DESCRIPTION for countryballs
{{CountryInfo
{{CountryInfo

Revision as of 13:15, 23 December 2024