Template:Infobox Old: Difference between revisions

From Replication Ops
Jump to navigation Jump to search
No edit summary
m Caseytube moved page Template:Infobox to Template:Infobox Old
 
(52 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:{{{franchise|}}}|
{{#if:{{{designer|}}}|
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Franchise'''
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Designed By'''
{{!}}{{{franchise}}}
{{!}}{{{designer}}}
}}
}}
|-
|-
{{#if:{{{created_by|}}}|
{{#if:{{{builder|}}}|
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Created by'''
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Built by'''
{{!}}{{{created_by}}}
{{!}}{{{builder}}}
}}
}}
|-
|-
{{#if:{{{portrayed_by|}}}|
{{#if:{{{dimensions|}}}|
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Portrayed by'''
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Dimensions'''
{{!}}{{{portrayed_by}}}
{{!}}{{{dimensions}}}
}}
}}
|-
|-
{{#if:{{{voiced_by|}}}|
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Voiced by'''
{{!}}{{{voiced_by}}}
}}
|-
{{#if:{{{latest_portrayal|}}}|
{{!}}style="background:#C0CFFF"{{!}}'''Latest portrayal'''
{{!}}{{{latest_portrayal}}}
}}
{{!}}-
{{!}}-
{{#if:{{{full_name|}}}{{{species|}}}{{{gender|}}}{{{residence|}}}{{{occupation|}}}{{{affiliation|}}}{{{aliases|}}}|
{{#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:{{{full_name|}}}|
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Full name'''
{{!}}{{{full_name}}}
}}
{{!}}-
{{#if:{{{species|}}}|
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Species'''
{{!}}{{{species}}}
}}
{{!}}-
{{#if:{{{gender|}}}|
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Gender'''
{{!}}{{{gender}}}
}}
{{!}}-
{{#if:{{{residence|}}}|
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Residence'''
{{!}}{{{residence}}}
}}
{{!}}-
{{#if:{{{occupation|}}}|
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Occupation(s)'''
{{!}}{{{occupation}}}
}}
{{!}}-
{{!}}-
{{#if:{{{affiliation|}}}|
{{#if:{{{affiliation|}}}|
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Affiliation(s)'''
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Affiliation'''
{{!}}{{{affiliation}}}
{{!}}{{{affiliation}}}
}}
}}
{{!}}-
{{!}}-
{{#if:{{{aliases|}}}|
{{#if:{{{function|}}}|
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Alias(es)'''
{{!}}style="background:{{{bgcolor2|#C0CFFF}}}"{{!}}'''Primary Function'''
{{!}}{{{aliases}}}
{{!}}{{{function}}}
}}
}}
}}
}}
Line 84: Line 62:
==Usage==
==Usage==
<pre style="width:30em">
<pre style="width:30em">
{{character infobox
{{infobox
|name=
|image=
|image=
|image-caption=
|image2=
|image2-caption=
|first_appearance=
|first_appearance=
|latest_appearance=
|latest_appearance=
|franchise=
|dimensions=
|created_by=
|designer=
|portrayed_by=
|builder=
|voiced_by=
|latest_portrayal=
|full_name=
|species=
|gender=
|residence=
|occupation=
|affiliation=
|affiliation=
|aliases=
|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=