No edit summary Tags: Manual revert Reverted |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
<infobox> | <infobox> | ||
<title source="title"><default>{{PAGENAME}}</default></title> | |||
<!-- Grouping relevant data sections --> | |||
<group> | <group> | ||
<data source="name"> | <data source="name"> | ||
<format> | |||
<!-- Navigation links to predecessor and successor pages, including optional icons --> | |||
<div style="float:left; width:4em; height:1em"> | |||
{{#if:{{{onlypredecessor|}}} | |||
|[[{{{onlypredecessor}}}|←]] | |||
{{#if:{{{predicon|}}} | |||
|[[File:{{{predicon}}}-icon{{#if:{{{predsuffix|}}}| {{{predsuffix}}}|}}.png|link={{{onlypredecessor}}}]] | |||
|<nowiki /> | |||
}} | |||
|[[#before|↓]] | |||
}} | }} | ||
</div> | |||
<div style="float:right; width:4em; height:1em"> | |||
{{#if:{{{onlysuccessor|}}} | |||
|{{#if:{{{nexticon|}}} | |||
|[[File:{{{nexticon}}}-icon{{#if:{{{nextsuffix|}}}| {{{nextsuffix}}}|}}.png|link={{{onlysuccessor}}}]] | |||
|<nowiki /> | |||
}} | |||
[[{{{onlysuccessor|}}}|→]] | |||
|{{#if:{{{successor|}}} | |||
|[[#after|↓]] | |||
| | |||
}} | |||
}} | |||
</div> | |||
<!-- Displays founding and ending details, handling cases where one or both are missing --> | |||
<center> | |||
<center><span style="font-size: 125%; font-weight: bold; line-height:125%">{{#if:{{{founded|}}}|{{{founded}}}|{{#if:{{{ended|}}}|<nowiki/>|''Unknown lifespan''}}}}{{#if: {{{founded|}}} | <span style="font-size: 125%; font-weight: bold; line-height:125%"> | ||
{{#if:{{{founded|}}}|{{{founded}}}|{{#if:{{{ended|}}}|<nowiki/>|''Unknown lifespan''}}}} | |||
{{#if: {{{founded|}}} | |||
| {{#if: {{{ended|}}} | |||
| – | |||
| – | |||
}} | |||
| {{#if: {{{ended|}}} | |||
| d. | |||
}}{{#if:{{{ended|}}}|{{{ended}}}|{{#if:{{{founded|}}}|Present|<nowiki/>}}}}</span></center></format></data> | | <nowiki/> | ||
}} | |||
<image source="image"><default>PLB-wordmark.png</default><caption source="caption"><format><center>{{{caption}}}</center></format></caption></image> | }} | ||
{{#if:{{{ended|}}}|{{{ended}}}|{{#if:{{{founded|}}}|Present|<nowiki/>}}}} | |||
</span> | |||
</center> | |||
</format> | |||
</data> | |||
</group> | |||
<!-- Image section for infobox --> | |||
<image source="image"> | |||
<!-- Uses default image if none is provided --> | |||
<default>PLB-wordmark.png</default> | |||
<caption source="caption"> | |||
<format><center>{{{caption}}}</center></format> | |||
</caption> | |||
</image> | |||
<!-- General information about the entity --> | |||
<group> | <group> | ||
<header><center>General information</center></header> | <header><center>General information</center></header> | ||
Line 53: | Line 71: | ||
<data source="religion"><label>Religion</label></data> | <data source="religion"><label>Religion</label></data> | ||
</group> | </group> | ||
<!-- Social and political relations --> | |||
<group> | <group> | ||
<header><center>Relations and opinions</center></header> | <header><center>Relations and opinions</center></header> | ||
Line 60: | Line 80: | ||
<data source="hates"><label>Dislikes</label></data> | <data source="hates"><label>Dislikes</label></data> | ||
</group> | </group> | ||
<!-- Predecessor and successor entities --> | |||
<group layout="horizontal"> | <group layout="horizontal"> | ||
<header><center>Historical information</center></header> | <header><center>Historical information</center></header> | ||
Line 65: | Line 87: | ||
<data source="successor"><label><div id="after"></div>Succeeded by</label></data> | <data source="successor"><label><div id="after"></div>Succeeded by</label></data> | ||
</group> | </group> | ||
<!-- Fun facts and attributes --> | |||
<group> | <group> | ||
<header><center>Is of | <header><center>Is of importance</center></header> | ||
<data source="intospace"><label>Can into space?</label></data> | <data source="intospace"><label>Can into space?</label></data> | ||
<data source="intosea"><label>Can into sea?</label></data> | <data source="intosea"><label>Can into sea?</label></data> | ||
Line 72: | Line 96: | ||
<data source="food"><label>Food</label></data> | <data source="food"><label>Food</label></data> | ||
</group> | </group> | ||
<!-- Current status of entity --> | |||
<group> | <group> | ||
<header><center>Status</center></header> | <header><center>Status</center></header> | ||
<data source="status"></data> | <data source="status"></data> | ||
</group> | </group> | ||
<!-- Additional notes --> | |||
<group> | <group> | ||
<header><center>Notes</center></header> | <header><center>Notes</center></header> | ||
Line 81: | Line 109: | ||
</group> | </group> | ||
</infobox> | </infobox> | ||
<!-- Documentation section --> | |||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 03:16, 8 June 2025
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |