Template:Character infobox: Difference between revisions

(Created page with "{| class="infobox" style="width:300px; color:{{{color|#000}}}; background:{{{BG|#555}}}" cellspacing="0" ! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:#fff" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} |- {{#if:{{{image|}}}| {{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#f0f0f0}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} }} |- {{#if:{{{fullna...")
 
No edit summary
Line 159: Line 159:
|-
|-
| class="infoboxfooter" colspan="2" |  
| class="infoboxfooter" colspan="2" |  
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Character {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}{{#if:{{{nocat|{{NAMESPACE}}}}}||{{#if:{{#pos:{{lc:{{{gender|}}}}}|female}}|[[Category:Female characters]]|{{#if:{{#pos:{{lc:{{{gender|}}}}}|male}}|[[Category:Male characters]]}}}}}}</includeonly><noinclude>{{clear}}
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Character}}}}}</includeonly><noinclude>{{clear}}
==Usage==
==Usage==
Copy and paste the following into the article and fill in the fields.
Copy and paste the following into the article and fill in the fields.

Revision as of 10:21, August 21, 2023

Character infobox
 

Usage

Copy and paste the following into the article and fill in the fields.

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

Custom parameters

The following allow you to alter the style and title of the sub-sections:

|color=
|color2=
|BG=
|nameBG=
|imageBG=
|sectionBG=
|fieldBG=
|lineBG=
|section1-title=
|section2-title=
|section3-title=

Display parameters

The following allow you to force-hide the section headers:

|hidea=
|hideb=
|hidec=