Template:Character infobox: Difference between revisions

No edit summary
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:300px" cellspacing="0"
{{Infobox|start}}
! class="infoboxheading" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}}}
|-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{#if:{{{image|}}}|
 
{{!}} class="infoboxmedia" colspan="2" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|section|title=Biographical information|entries=
{{Infobox|entry|title=Full name|content={{{fullname|}}}}}
{{Infobox|entry|title=Homeworld|content={{{homeworld|}}}}}
{{Infobox|entry|title=Born|content={{{birth|}}}}}
{{Infobox|entry|title=Died|content={{{death|}}}}}
{{Infobox|entry|title=Cause of death|content={{{causeofdeath|}}}}}
{{Infobox|entry|title=Parents|content={{{parents|}}}}}
{{Infobox|entry|title=Siblings|content={{{siblings|}}}}}
{{Infobox|entry|title=Spouse(s)|content={{{spouses|}}}}}
{{Infobox|entry|title=Children|content={{{children|}}}}}
}}
}}
|-
 
{{#if:{{{fullname|}}}{{{homeworld|}}}{{{birth|}}}{{{death|}}}{{{causeofdeath|}}}{{{parents|}}}{{{siblings|}}}{{{spouses|}}}{{{children|}}}|{{#if:{{{hidea|}}}||
{{Infobox|section|title=Personal details|entries=
! class="infoboxsubheading" colspan="2" {{!}} {{{section1-title|Biographical information}}}}}
{{Infobox|entry|title=Species|content={{{species|}}}}}
{{Infobox|entry|title=Gender|content={{{gender|}}}}}
{{Infobox|entry|title=Pronouns|content={{{pronouns|}}}}}
{{Infobox|entry|title=Height|content={{{height|}}}}}
{{Infobox|entry|title=Weight|content={{{mass|}}}}}
{{Infobox|entry|title=Hair color|content={{{hair|}}}}}
{{Infobox|entry|title=Eye color|content={{{eyes|}}}}}
}}
}}
|-
 
{{#if:{{{fullname|}}}|
{{Infobox|section|title=Political and military information|entries=
{{!}} class="infoboxlabel" style="width:100px" {{!}}
{{Infobox|entry|title=Affiliation|content={{{affiliation|}}}}}
{{{fullname-title|Full name}}}:
{{Infobox|entry|title=Rank|content={{{rank|}}}}}
{{!}} class="infoboxcell" {{!}}
{{Infobox|entry|title=Notable info|content={{{notable|}}}}}
{{{fullname}}}
}}
}}
|-
 
{{#if:{{{homeworld|}}}|
{{Infobox|section|title=''Marathon'' information|entries=
{{!}} class="infoboxlabel" {{!}}
{{Infobox|entry|title=First appearance|content={{{firstappearance|}}}}}
{{{homeworld-title|Homeworld}}}:
{{!}} class="infoboxcell" {{!}}
{{{homeworld}}}
}}
}}
|-
 
{{#if:{{{birth|}}}|
{{Infobox|end}}<noinclude>{{clear}}
{{!}} class="infoboxlabel" {{!}}
==Usage instructions==
{{{birth-title|Born}}}:
Copy and paste the following into an article and fill in the fields as needed.
{{!}} class="infoboxcell" {{!}}
{{{birth}}}
}}
|-
{{#if:{{{death|}}}|
{{!}} class="infoboxlabel" {{!}}
{{{death-title|Died}}}:
{{!}} class="infoboxcell" {{!}}
{{{death}}}
}}
|-
{{#if:{{{causeofdeath|}}}|
{{!}} class="infoboxlabel" {{!}}
{{{causeofdeath-title|Cause of death}}}:
{{!}} class="infoboxcell" {{!}}
{{{causeofdeath}}}
}}
|-
{{#if:{{{parents|}}}|
{{!}} class="infoboxlabel" {{!}}
{{{parents-title|Parents}}}:
{{!}} class="infoboxcell" {{!}}
{{{parents}}}
}}
|-
{{#if:{{{siblings|}}}|
{{!}} class="infoboxlabel" {{!}}
{{{siblings-title|Siblings}}}:
{{!}} class="infoboxcell" {{!}}
{{{siblings}}}
}}
|-
{{#if:{{{spouses|}}}|
{{!}} class="infoboxlabel" {{!}}
{{{spouses-title|Spouse(s)}}}:
{{!}} class="infoboxcell" {{!}}
{{{spouses}}}
}}
|-
{{#if:{{{children|}}}|
{{!}} class="infoboxlabel" {{!}}
{{{children-title|Children}}}:
{{!}} class="infoboxcell" {{!}}
{{{children}}}
}}
|-
{{#if:{{{species|}}}{{{gender|}}}{{{height|}}}{{{mass|}}}{{{hair|}}}{{{eyes|}}}|{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" {{!}} {{{section2-title|Personal details}}}}}
}}
|-
{{#if:{{{species|}}}|
{{!}} class="infoboxlabel" {{!}}
{{{species-title|Species}}}:
{{!}} class="infoboxcell" {{!}}
{{{species}}}
}}
|-
{{#if:{{{gender|}}}|
{{!}} class="infoboxlabel" {{!}}
{{{gender-title|Gender}}}:
{{!}} class="infoboxcell" {{!}}
{{{gender}}}
}}
|-
{{#if:{{{pronouns|}}}|
{{!}} class="infoboxlabel" {{!}}
{{{pronouns-title|Pronouns}}}:
{{!}} class="infoboxcell" {{!}}
{{{pronouns}}}
}}
|-
{{#if:{{{height|}}}|
{{!}} class="infoboxlabel" {{!}}
{{{height-title|Height}}}:
{{!}} class="infoboxcell" {{!}}
{{{height}}}
}}
|-
{{#if:{{{mass|}}}|
{{!}} class="infoboxlabel" {{!}}
{{{mass-title|Weight}}}:
{{!}} class="infoboxcell" {{!}}
{{{mass}}}
}}
|-
{{#if:{{{hair|}}}|
{{!}} class="infoboxlabel" {{!}}
{{{hair-title|Hair color}}}:
{{!}} class="infoboxcell" {{!}}
{{{hair}}}
}}
|-
{{#if:{{{eyes|}}}|
{{!}} class="infoboxlabel" {{!}}
{{{eyes-title|Eye color}}}:
{{!}} class="infoboxcell" {{!}}
{{{eyes}}}
}}
|-
{{#if:{{{affiliation|}}}{{{rank|}}}{{{notable|}}}{{{misc|}}}|{{#if:{{{hidec|}}}||
! class="infoboxsubheading" colspan="2" {{!}} {{{section3-title|Political and military information}}}}}
}}
|-
{{#if:{{{affiliation|}}}|
{{!}} class="infoboxlabel" {{!}}
{{{affiliation-title|Affiliation}}}:
{{!}} class="infoboxcell" {{!}}
{{{affiliation}}}
}}
|-
{{#if:{{{rank|}}}|
{{!}} class="infoboxlabel" {{!}}
{{{rank-title|Rank}}}:
{{!}} class="infoboxcell" {{!}}
{{{rank}}}
}}
|-
{{#if:{{{notable|}}}|
{{!}} class="infoboxlabel" {{!}}
{{{notable-title|Notable info}}}:
{{!}} class="infoboxcell" {{!}}
{{{notable}}}
}}
|-
{{#if:{{{misc|}}}|
{{!}} class="infoboxlabel" {{!}}
{{{misc-title|Miscellaneous}}}:
{{!}} class="infoboxcell" {{!}}
{{{misc}}}
}}
|-
| class="infoboxfooter" colspan="2" | &nbsp;
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Character}}}}}</includeonly><noinclude>{{clear}}
==Usage==
Copy and paste the following into the article and fill in the fields.


<pre>
<pre>
{{Character infobox
{{Character infobox
|name=
|image=
|image=
|fullname=
|homeworld=
|homeworld=
|birth=
|birth=
Line 185: Line 61:
|rank=
|rank=
|notable=
|notable=
|firstappearance=
}}
}}
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 10:53, June 14, 2024

Character infobox
 

Usage instructions

Copy and paste the following into an article and fill in the fields as needed.

{{Character infobox
|image=
|fullname=
|homeworld=
|birth=
|death=
|causeofdeath=
|parents=
|siblings=
|spouses=
|children=
|species=
|gender=
|pronouns=
|height=
|mass=
|hair=
|eyes=
|affiliation=
|rank=
|notable=
|firstappearance=
}}