Template:Infobox Old: Difference between revisions
Jump to navigation
Jump to search
Infobox created with infobox builder. |
m Caseytube moved page Template:Infobox to Template:Infobox Old |
||
(56 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="font-family: verdana, sans-serif; background-color: #f7f8ff; border:1px solid {{{bordercolor|#8888AA}}}" | |||
|- | |||
| colspan=2 style="background:{{{bgcolor|#99B1FF}}};color:{{{txtcolor|black}}};font-size:125%;text-align:center"|'''{{{name|{{PAGENAME}}}}}''' | |||
|- | |||
{{#if:{{{image|}}}| | |||
{{!}}colspan=2 style="text-align:center;background:transparent"{{!}}{{{image}}} | |||
}} | |||
|- | |||
{{#if:{{{image-caption|}}}| | |||
{{!}}colspan=2 style="text-align:center;background:transparent"{{!}}'''{{{image-caption}}}''' | |||
}} | |||
|- | |||
{{#if:{{{image2|}}}| | |||
{{!}}colspan=2 style="text-align:center;background:transparent"{{!}}{{{image2}}} | |||
}} | |||
|- | |||
{{#if:{{{image2-caption|}}}| | |||
{{!}}colspan=2 style="text-align:center;background:transparent"{{!}}'''{{{image2-caption}}}''' | |||
}} | |||
|- | |||
{{#if:{{{first_appearance|}}}| | |||
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''First appearance''' | |||
{{!}}{{{first_appearance}}} | |||
}} | |||
|- | |||
{{#if:{{{latest_appearance|}}}| | |||
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Latest appearance''' | |||
{{!}}{{{latest_appearance}}} | |||
}} | |||
|- | |||
{{#if:{{{designer|}}}| | |||
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Designed By''' | |||
{{!}}{{{designer}}} | |||
}} | |||
|- | |||
{{#if:{{{builder|}}}| | |||
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Built by''' | |||
{{!}}{{{builder}}} | |||
}} | |||
|- | |||
{{#if:{{{dimensions|}}}| | |||
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Dimensions''' | |||
{{!}}{{{dimensions}}} | |||
}} | |||
|- | |||
{{!}}- | |||
{{#if:{{{affiliation|}}}{{{function|}}}| | |||
{{!}}colspan=2 style="font-size:110%;text-align:center;background:{{{bgcolor|#99B1FF}}};color:{{{txtcolor|black}}}"{{!}}'''In-universe information''' | |||
{{!}}- | |||
{{#if:{{{affiliation|}}}| | |||
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Affiliation''' | |||
{{!}}{{{affiliation}}} | |||
}} | |||
{{!}}- | |||
{{#if:{{{function|}}}| | |||
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Primary Function''' | |||
{{!}}{{{function}}} | |||
}} | |||
}} | |||
|} | |||
<noinclude> | |||
==Usage== | |||
<pre style="width:30em"> | |||
{{infobox | |||
|image= | |||
|image-caption= | |||
|image2= | |||
|image2-caption= | |||
|first_appearance= | |||
|latest_appearance= | |||
|dimensions= | |||
|designer= | |||
|builder= | |||
|affiliation= | |||
|function= | |||
}} | |||
</pre> | |||
Adding "|name=TitleHere" will override the name of the infobox, otherwise it defaults to the name of the article. | |||
These affect the color of the template: | |||
<pre> | |||
|bgcolor= // use a dark color | |||
|bgcolor2= // use a light color | |||
|txtcolor= | |||
|bordercolor= | |||
</pre> | |||
[[Category:Infobox templates]]</noinclude> |
Latest revision as of 07:10, 6 December 2024
Infobox Old |
Usage
{{infobox |image= |image-caption= |image2= |image2-caption= |first_appearance= |latest_appearance= |dimensions= |designer= |builder= |affiliation= |function= }}
Adding "|name=TitleHere" will override the name of the infobox, otherwise it defaults to the name of the article.
These affect the color of the template:
|bgcolor= // use a dark color |bgcolor2= // use a light color |txtcolor= |bordercolor=