Jump to content

Template:Basic Infobox: Difference between revisions

From The Final Nights
Created page with "<includeonly> {| class="infobox" style="width: 22em; border: 1px solid #a2a9b1; background-color: #f8f9fa; float: right; margin: 0 0 1em 1em; padding: 0.2em;" |+ style="font-size: 125%; font-weight: bold; padding: 0.2em;" | {{{name|{{PAGENAME}}}}} |- | colspan="2" style="border-top: 1px solid #aaa;" | |- {{#if:{{{image|}}}| | colspan="2" style="text-align:center;" | [[File:{{{image}}}|frameless|upright=1.1]] {{#if:{{{caption|}}}| <br/><small>{{{caption}}}</small> }} |-..."
 
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox" style="width: 22em; border: 1px solid #a2a9b1; background-color: #f8f9fa; float: right; margin: 0 0 1em 1em; padding: 0.2em;"
{| class="infobox" style="width: 22em; border: 1px solid #a2a9b1; background-color: #f8f9fa; float: right; margin: 0 0 1em 1em; padding: 0.2em; border-collapse: collapse;"
|+ style="font-size: 125%; font-weight: bold; padding: 0.2em;" | {{{name|{{PAGENAME}}}}}
|-
! colspan="2" style="font-size: 125%; font-weight: bold; padding: 0.4em; text-align: center; background-color: #cedff2;" | {{{name|{{PAGENAME}}}}}
|-
|-
| colspan="2" style="border-top: 1px solid #aaa;" |  
| colspan="2" style="border-top: 1px solid #aaa;" |  
|-
|-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
| colspan="2" style="text-align:center;" | [[File:{{{image}}}|frameless|upright=1.1]]
{{!}} colspan="2" style="text-align:center; padding: 0.5em;" {{!}} [[File:{{{image}}}|250px]]
{{#if:{{{caption|}}}| <br/><small>{{{caption}}}</small> }}
{{#if:{{{caption|}}}| <br/><small>{{{caption}}}</small> }}
|-
{{!}}-
| colspan="2" style="border-top: 1px solid #aaa;" |
{{!}} colspan="2" style="border-top: 1px solid #aaa;" {{!}}
}}
}}
|-
|-
{{#if:{{{occupation|}}}|
{{#if:{{{occupation|}}}|
! scope="row" style="text-align: left;" | Occupation
! scope="row" style="text-align: left; padding: 4px;" | Occupation
| {{{occupation}}}
| style="padding: 4px;" | {{{occupation}}}
|-
}}
}}
{{#if:{{{location|}}}|
! scope="row" style="text-align: left; padding: 4px;" | Location
| style="padding: 4px;" | {{{location}}}
|-
|-
{{#if:{{{location|}}}|
! scope="row" style="text-align: left;" | Location
| {{{location}}}
}}
}}
|-
| colspan="2" style="border-top: 1px solid #aaa;" |  
| colspan="2" style="border-top: 1px solid #aaa;" |  
|-
|-
| colspan="2" style="font-size: 90%; text-align: center;" | {{{footnotes|}}}
| colspan="2" style="font-size: 90%; text-align: center; padding: 4px;" | {{{footnotes|}}}
|}
|}
</includeonly><noinclude>
</includeonly>
This is the basic infobox template.
 
== Usage ==
<pre>
{{Basic Infobox
| name      =
| image      =
| caption    =
| occupation =
| location  =
| footnotes  =
}}
</pre>
[[Category:Infobox templates]]
</noinclude>

Revision as of 17:38, 13 May 2026