Toggle menu
4
2
4
7.8K
Buzz Lightyear of Star Command Unofficial Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Character: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="bbbg" style="width:252px; float:right; clear:right; margin:0.5em 0 1em 1em; border-radius: 10px; color: white; border: 1px solid #161616; font-size: 10px; margin:0.5em 0 1em 1em; background:#323232; box-shadow: 0px 0px 3px 0px #000; text-align: center;">
<infobox>
<div style="text-align:center; background-color:#1e1e2e; border-top-left-radius: 10px; border-top-right-radius: 10px; font-size:16px; font-weight:bold; line-height:1.5em;">{{{name|{{PAGENAME}}}}}</div>
  <title source="name">
<div class="{{#if:{{{image|}}}||hiddenStructure}}">[[File:{{{image|No_image.png}}}|{{{image_size|250px}}}|center]]</div>
    <default>{{{name|{{PAGENAME}}}}}</default>
<div style="text-align:center; background-color:#1e1e2e; font-size:12px; font-weight:bold; line-height:2em;">Biographical Information</div>
  </title>
{{#if:{{{fullname|}}}|
  <image>
<table align="center" width="93%"><td width="30%" style="text-align: left;" valign="top">'''Full name'''</td><td width="70%" style="text-align: right;">{{{fullname}}}</td></table>
    <default>{{#if:{{{image|}}}|[[File:{{{image|No_image.png}}}|{{{image_size|250px}}}|center]]</default>
{{Hr}}
  </image>
}}{{#if:{{{species|}}}|
  <group collapse="open">
<table align="center" width="93%"><td width="30%" style="text-align: left;" valign="top">'''Species'''</td><td width="70%" style="text-align: right;">{{{species}}}</td></table>
    <header>Biographical Information</header>
{{Hr}}
    <data source="fullname">
}}{{#if:{{{birthplace|}}}|
      <label>Full name</label>
<table align="center" width="93%"><td width="30%" style="text-align: left;" valign="top">'''Birthplace'''</td><td width="70%" style="text-align: right;">{{{birthplace}}}</td></table>
    </data>
{{Hr}}
    <data source="alias">
}}{{#if:{{{residence|}}}|
      <label>{{#switch:{{#rpos:{{{alias}}}|*}}|-1=Alias|Aliases}}</label>
<table align="center" width="93%"><td width="30%" style="text-align: left;" valign="top">'''Residence'''</td><td width="70%" style="text-align: right;">{{{residence}}}</td></table>
    </data>
{{Hr}}
    <data source="nickname">
}}{{#if:{{{occupation|}}}|
      <label>{{#switch:{{#rpos:{{{nickname}}}|*}}|-1=Nickname|Nicknames}}</label>
<table align="center" width="93%"><td width="30%" style="text-align: left;" valign="top">'''Occupation'''</td><td width="70%" style="text-align: right;">{{{occupation}}}</td></table>
    </data>
}}{{#if: {{{gender|}}}{{{haircolor|}}}{{{eyecolor|}}}{{{skincolor|}}}|<div style="text-align:center; background-color:#1e1e2e; font-size:12px; font-weight:bold; line-height:2em;">Physical Description</div>}}
    <data source="homeworld">
{{#if:{{{gender|}}}|
      <label>Homeworld</label>
<table align="center" width="93%"><td width="30%" style="text-align: left;" valign="top">'''Gender'''</td><td width="70%" style="text-align: right;">{{{gender}}}</td></table>
    </data>
{{Hr}}
    <data source="residence">
}}{{#if:{{{haircolor|}}}|
      <label>Current residence</label>
<table align="center" width="93%"><td width="30%" style="text-align: left;" valign="top">'''Hair color'''</td><td width="70%" style="text-align: right;">{{{haircolor}}}</td></table>
    </data>
{{Hr}}
    <data source="age">
}}{{#if:{{{eyecolor|}}}|
      <label>Age</label>
<table align="center" width="93%"><td width="30%" style="text-align: left;" valign="top">'''Eye color'''</td><td width="70%" style="text-align: right;">{{{eyecolor}}}</td></table>
    </data>
{{Hr}}
    <data source="birth">
}}{{#if:{{{skincolor|}}}|
      <label>Born</label>
<table align="center" width="93%"><td width="30%" style="text-align: left;" valign="top">'''Skin color'''</td><td width="70%" style="text-align: right;">{{{skincolor}}}</td></table>
    </data>
}}{{#if: {{{relatives|}}}{{{affiliation|}}}|<div style="text-align:center;background-color:#1e1e2e; font-size:12px; font-weight:bold; line-height:2em;">Relationships</div>}}
    <data source="death">
{{#if:{{{relatives|}}}|
      <label>Died</label>
<table align="center" width="93%"><td width="30%" style="text-align: left;" valign="top">'''Relatives'''</td><td width="70%" style="text-align: right;">{{{relatives}}}</td></table>
    </data>
{{Hr}}
  </group>
}}{{#if:{{{affiliation|}}}|
  <group>
<table align="center" width="93%"><td width="30%" style="text-align: left;" valign="top">'''Affiliation'''</td><td width="70%" style="text-align: right;">{{{affiliation}}}</td></table>
    <header>Physical Description</header>
}}{{#if: {{{powers|}}}{{{weaknesses|}}}{{{equipment|}}}|<div style="text-align:center; background-color:#1e1e2e; font-size:12px; font-weight:bold; line-height:2em;">Powers and Abilities</div> }}
    <data source="species">
{{#if:{{{powers|}}}|
      <label>Species</label>
<table align="center" width="93%"><td width="45%" style="text-align: left;" valign="top">'''Powers'''</td><td width="70%" style="text-align: right;">{{{powers}}}</td></table>
    </data>
{{Hr}}
    <data source="pronouns">
}}{{#if:{{{weaknesses|}}}|
      <label>Pronouns</label>
<table align="center" width="93%"><td width="45%" style="text-align: left;" valign="top">'''Weaknesses'''</td><td width="70%" style="text-align: right;">{{{weaknesses}}}</td></table>
    </data>
{{Hr}}
    <data source="hair">
}}{{#if:{{{equipment|}}}|
      <label>Hair color</label>
<table align="center" width="93%"><td width="45%" style="text-align: left;" valign="top">'''Equipment'''</td><td width="70%" style="text-align: right;">{{{equipment}}}</td></table>
    </data>
{{Hr}}
    <data source="eyes">
}}{{#if: {{{first|}}}{{{last|}}}{{{only|}}}{{{voice|}}}|<div style="text-align:center; background-color:#1e1e2e; font-size:12px; font-weight:bold; line-height:2em;">Production Details</div>}}
      <label>Eye color</label>
{{#if:{{{first|}}}|
    </data>
<table align="center" width="93%"><td width="45%" style="text-align: left;" valign="top">'''First appearance'''</td><td width="70%" style="text-align: right;">{{{first}}}</td></table>
    <data source="skin">
{{Hr}}
      <label>Skin color</label>
}}{{#if:{{{last|}}}|
    </data>
<table align="center" width="93%"><td width="45%" style="text-align: left;" valign="top">'''Last appearance'''</td><td width="70%" style="text-align: right;">{{{last}}}</td></table>
    <data source="feathers">
{{Hr}}
      <label>Feather color</label>
}}{{#if:{{{only|}}}|
    </data>
<table align="center" width="93%"><td width="45%" style="text-align: left;" valign="top">'''Appears in'''</td><td width="70%" style="text-align: right;">{{{only}}}</td></table>
    <data source="cyber">
{{Hr}}
      <label>Cybernetics</label>
}}{{#if:{{{voice|}}}|
    </data>
<table align="center" width="93%"><td width="45%" style="text-align: left;" valign="top">'''Voiced by'''</td><td width="70%" style="text-align: right;">{{{voice}}}</td></table>
  </group>
}}{{#ifexist:Category:{{BASEPAGENAME}} images|<div style="text-align:center; background-color:#1e1e2e; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; font-size:12px; font-weight:bold; line-height:2em;">[[:Category:{{BASEPAGENAME}} images|Image Gallery ({{#switch:{{PAGESINCAT:{{BASEPAGENAME}} images}}|0={{PAGESINCAT:{{{title}}} images}}|#default={{PAGESINCAT:{{BASEPAGENAME}} images}}}})]]</div>}}</div></includeonly><noinclude>
  <group>
 
    <header>Relationships</header>
==Usage==
    <data source="relatives">
{| style="float: left; background: transparent;"
      <label>{{#switch:{{#rpos:{{{relatives}}}|*}}|-1=Relative|Relatives}}</label>
<pre>{{Character
    </data>
| name          = {{{name}}}
    <data source="partners">
| image        = {{{image}}}
      <label>{{#switch:{{#rpos:{{{partners}}}|*}}|-1=Partner|Partners}}</label>
| fullname      = {{{fullname}}}
    </data>
| species      = {{{species}}}
  </group>
| birthplace    = {{{birthplace}}}
  <group>
| residence    = {{{residence}}}
    <header>Political Information</header>
| occupation    = {{{occupation}}}
    <data source="profession">
| gender        = {{{gender}}}
      <label>Profession</label>
| haircolor    = {{{haircolor}}}
    </data>
| eyecolor      = {{{eyecolor}}}
    <data source="position">
| skincolor    = {{{skincolor}}}
      <label>Position</label>
| relatives    = {{{relatives}}}
    </data>
| affiliation  = {{{affiliation}}}
    <data source="affiliation">
| powers        = {{{powers}}}
      <label>Affiliation</label>
| weaknesses    = {{{weaknesses}}}
    </data>
| equipment    = {{{equipment}}}
  </group>
| first        = {{{first}}}
    <header>Skills and Abilities</header>
| last          = {{{last}}}
    <data source="skills">
| only          = {{{only}}}
      <label>Skills</label>
| voice        = {{{voice}}}
    </data>
| crimes        = {{{crimes}}}
    <data source="powers">
}}</pre>
      <label>Powers</label>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
    </data>
    <data source="Weaknesses">
      <label>Weaknesses</label>
    </data>
    <data source="equipment">
      <label>Equipment</label>
    </data>
  <group>
    <header>Production Details</header>
    <data source="first">
      <label>First appearance</label>
    </data>
    <data source="last">
      <label>Last appearance</label>
    </data>
    <data source="only">
      <label>Appears in</label>
    </data>
    <data source="voice">
      <label>Voiced by</label>
    </data>
  </group>
    <header>{{#ifexist:Category:{{BASEPAGENAME}} images|[[:Category:{{BASEPAGENAME}} images|Image Gallery ({{#switch:{{PAGESINCAT:{{BASEPAGENAME}} images}}|0={{PAGESINCAT:{{{title}}} images}}|#default={{PAGESINCAT:{{BASEPAGENAME}} images}}}})]]</header>
</infobox>
</includeonly><noinclude>
{{Documentation}}
</noinclude>

Revision as of 17:20, 8 September 2024