Jump to content

Template:Infobox: Difference between revisions

From Topicalballs Wiki
LBMapper12 (talk | contribs)
No edit summary
No edit summary
(11 intermediate revisions by 3 users not shown)
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 collapse="open">
<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 30: Line 30:
     <data source="Gender"><label>Gender:</label><format>{{#switch:{{{Gender|}}}
     <data source="Gender"><label>Gender:</label><format>{{#switch:{{{Gender|}}}
|Female={{I|Female}} [[Female]]
|Female={{I|Female}} [[Female]]
|Male={{I|Male}} [[Male]]}}</format></data>
|Male={{I|Male}} [[Male]]}}</format></data></group>
</group>
     <group>
     <group collapse="open">
     <header><center>Ideological Information</center></header>
     <header><center>Ideological Information</center></header>
     <data source="Influenced By"><label>Influenced By:</label></data>
     <data source="Influenced By"><label>Influenced By:</label></data>
Line 40: Line 39:
     <data source="Notable Examples"><label>Notable Examples:</label></data>
     <data source="Notable Examples"><label>Notable Examples:</label></data>
</group>
</group>
     <group collapse="open">
     <group>
     <header><center>Relations and Opinions</center></header>
     <header><center>Relations and Opinions</center></header>
     <data source="Friends"><label>Friends:</label></data>
     <data source="Friends"><label>Friends:</label></data>
Line 49: Line 48:
     <data source="Drink"><label>Favorite Drink:</label></data>
     <data source="Drink"><label>Favorite Drink:</label></data>
</group>
</group>
<group collapse="open">
<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>
     <data source="Succeeded"><label><div id="after"></div>Succeeded By:</label></data>
     <data source="Succeeded"><label><div id="after"></div>Succeeded By:</label></data>
</group>
</group>
<group collapse="open">
<group>
    <header><center>Additional Information</center></header>
    <header><center>Additional Information</center></header>
     <data source="Bork"><label>Börk:</label></data>
     <data source="Bork"><label>Börk:</label></data>
     <data source="Song"><label>Song:</label></data>
     <data source="Song"><label>Song:</label></data>
</group>
</group>
     <group collapse="open">
     <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 67: Line 66:
     <data source="Job"><label>Occupation:</label></data>
     <data source="Job"><label>Occupation:</label></data>
</group>
</group>
</infobox>
</infobox><noinclude>[[Category:Infoboxes]]<templatedata>
</div>
{
<noinclude>
"params": {
<!-- COPY AND PASTE ME IN THE DESCRIPTION for countryballs
"Gender": {},
{{CountryInfo
"Name": {},
|Name =
"NativeName": {},
|NativeName =
"onlypredecessor": {},
|founded =
"predicon": {},
|predicon =
"onlysuccessor": {},
|onlypredecessor =
"nexticon": {},
|ended =
"successor": {},
|nexticon =
"founded": {},
|onlysuccessor =
"ended": {},
|image =
"Caption": {},
|Caption =
"Founder": {},
|Alias =
"Alias": {},
|Time of Exist =
"Time of Exist": {}
|Government =
}
|Languages =
}
|Affiliation =
</templatedata></noinclude>
|Religions =
|Friends =
|Enemies =
|Likes =
|Dislikes =
|Preceded =
|Succeeded =
|themecolor =
|textcolor =
}}
 
<!-- COPY AND PASTE ME IN THE DESCRIPTION for polcompballs
{{CountryInfo
|Name =
|NativeName =
|founded =
|predicon =
|onlypredecessor =
|ended =
|nexticon =
|onlysuccessor =
|image =
|Caption =
|Alias =
|Alignments =
|Place of Origin =
|Influenced By =
|Influenced =
|Notable People =
|Notable Examples =
|Likes =
|Dislikes =
|Preceded =
|Succeeded =
|themecolor =
|textcolor =
}}
 
<!-- COPY AND PASTE ME IN THE DESCRIPTION for planetballs
{{CountryInfo
|Name =
|NativeName =
|founded =
|predicon =
|onlypredecessor =
|ended =
|nexticon =
|onlysuccessor =
|image =
|Caption =
|Alias =
|Time of Exist =
|Diameter =
|Mass =
|Affiliation =
|Satellites  =
|Friends =
|Enemies =
|Likes =
|Dislikes =
|Preceded =
|Succeeded =
|themecolor =
|textcolor =
}}
 
<!-- COPY AND PASTE ME IN THE DESCRIPTION this is countryinfo but tabber instead of image (outdated)
{{CountryInfo
|Name            =
|NativeName      =
|YearExist      =
|Placeholder    =
|image          = <tabber>
|-|First Tab Title=
First tab content goes here.
|-|Second Tab Title=
Second tab content goes here.
|-|Third Tab Title=
Third tab content goes here.
</tabber>
|Caption        =
|Alias          =
|TimeofExist    =
|Government      =
|Languages      =
|Affiliation    =
|Religions      =
|Friends        =
|Enemies        =
|Likes          =
|Dislikes        =
|Preceded        =
|Succeeded      =
}}

Revision as of 21:54, 23 December 2024

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
GenderGender

no description

Unknownoptional
NameName

no description

Unknownoptional
NativeNameNativeName

no description

Unknownoptional
onlypredecessoronlypredecessor

no description

Unknownoptional
prediconpredicon

no description

Unknownoptional
onlysuccessoronlysuccessor

no description

Unknownoptional
nexticonnexticon

no description

Unknownoptional
successorsuccessor

no description

Unknownoptional
foundedfounded

no description

Unknownoptional
endedended

no description

Unknownoptional
CaptionCaption

no description

Unknownoptional
FounderFounder

no description

Unknownoptional
AliasAlias

no description

Unknownoptional
Time of ExistTime of Exist

no description

Unknownoptional