Template:Infobox Old: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m Caseytube moved page Template:Infobox to Template:Infobox Old |
||
(54 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
{{!}}colspan=2 style="text-align:center;background:transparent"{{!}}{{{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}}}''' | |||
}} | }} | ||
|- | |- | ||
Line 17: | Line 29: | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{designer|}}}| | ||
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}''' | {{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Designed By''' | ||
{{!}}{{{ | {{!}}{{{designer}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{builder|}}}| | ||
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}''' | {{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Built by''' | ||
{{!}}{{{ | {{!}}{{{builder}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{dimensions|}}}| | ||
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}''' | {{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Dimensions''' | ||
{{!}}{{{ | {{!}}{{{dimensions}}} | ||
}} | }} | ||
|- | |- | ||
{{!}}- | {{!}}- | ||
{{#if: | {{#if:{{{affiliation|}}}{{{function|}}}| | ||
{{!}}colspan=2 style="font-size:110%;text-align:center;background:{{{bgcolor|#99B1FF}}};color:{{{txtcolor|black}}}"{{!}}'''In-universe information''' | {{!}}colspan=2 style="font-size:110%;text-align:center;background:{{{bgcolor|#99B1FF}}};color:{{{txtcolor|black}}}"{{!}}'''In-universe information''' | ||
{{!}}- | {{!}}- | ||
{{#if:{{{affiliation|}}}| | {{#if:{{{affiliation|}}}| | ||
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Affiliation | {{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Affiliation''' | ||
{{!}}{{{affiliation}}} | {{!}}{{{affiliation}}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{ | {{#if:{{{function|}}}| | ||
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}''' | {{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Primary Function''' | ||
{{!}}{{{ | {{!}}{{{function}}} | ||
}} | }} | ||
}} | }} | ||
Line 84: | Line 62: | ||
==Usage== | ==Usage== | ||
<pre style="width:30em"> | <pre style="width:30em"> | ||
{{ | {{infobox | ||
|image= | |image= | ||
|image-caption= | |||
|image2= | |||
|image2-caption= | |||
|first_appearance= | |first_appearance= | ||
|latest_appearance= | |latest_appearance= | ||
| | |dimensions= | ||
| | |designer= | ||
| | |builder= | ||
|affiliation= | |affiliation= | ||
| | |function= | ||
}} | }} | ||
</pre> | </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: | These affect the color of the template: |
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=