Welcome to the Power Master Wiki! Content is being updated with data from the new demo. Enjoy your time here!

Difference between revisions of "Template:Infobox Character"

From Power Master Wiki
Jump to navigationJump to search
m (Preparing for Power Master 2)
Import>Game widow
Line 1: Line 1:
<onlyinclude><infobox>
{| class="infoboxtable"
<title source="name">
|-
    <default>{{PAGENAME}}</default>
! colspan="2" class="infoboxname" |  {{{name|{{PAGENAME}}}}}
</title>
|-
<image source="image">
{{#if: {{{image|}}} | ! colspan="2" {{!}} [[File:{{{image}}}{{!}}{{{size|250x250px}}}]] | ! colspan="2" {{!}} ''No image yet''{{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}} }}{{#if:{{{imagecaption|}}} |<br>''{{{imagecaption}}}'' }}
    <caption source="imagecaption" />
|-class="stop-section-collapse"
</image>
{{#if: {{{aliases|}}}{{{relatives|}}}{{{affiliation|}}}{{{appearances|}}}{{{voice|}}} | ! colspan="2" class="infoboxname" | Character Information <span class="section-collapse" style="font-size:70%; float:right;"></span> }}
<group collapse="open">
|-
    <header>Character Information</header>
{{#if: {{{aliases|}}} | {{!}} <div>Aliases/Titles</div> {{!!}} {{{aliases}}} }}
    <data source="aliases"><label>Aliases/Titles</label><default>''Unknown''</default></data>
|-
    <data source="relatives"><label>Relatives</label><default>''Unknown''</default></data>
{{#if: {{{relatives|}}} | {{!}} <div>Relatives</div> {{!!}} {{{relatives}}} }}
    <data source="affiliation"><label>Affiliation</label><default>''Unknown''</default></data>
|-
    <data source="appearances"><label>Appearances</label><default>''Unknown''</default></data>
{{#if: {{{affiliation|}}} | {{!}} <div>Affiliation</div> {{!!}} {{{affiliation}}} }}
    <data source="voice"><label>Voice Actor</label><default>''Unknown''</default></data>
|-
    </group>
{{#if: {{{appearances|}}} | {{!}} <div>Appearances</div> {{!!}} {{{appearances}}} }}
    <group collapse="open">
|-
        <header>Biographical Information</header>
{{#if: {{{voice|}}} | {{!}} <div>Voice Actor</div> {{!!}} {{{voice}}} }}
    <data source="birthDate"><label>Date of birth</label><default>''Unknown''</default></data>
|-class="stop-section-collapse"
        <data source="birthPlace"><label>Place of birth</label><default>''Unknown''</default></data>
{{#if: {{{birthDate|}}}{{{birthPlace|}}}{{{deathDate|}}}{{{deathPlace|}}} | ! colspan="2" class="infoboxname" | Biographical Information <span class="section-collapse" style="font-size:70%; float:right;"></span> }}
        <data source="deathDate"><label>Date of death</label><default>''Unknown''</default></data>
|-
        <data source="deathPlace"><label>Place of death</label><default>''Unknown''</default></data>
{{#if: {{{birthDate|}}} | {{!}} <div>Date of birth</div> {{!!}} {{{birthDate}}} }}
    </group>
|-
    <group collapse="open">
{{#if: {{{birthPlace|}}} | {{!}} <div>Place of birth</div> {{!!}} {{{birthPlace}}} }}
        <header>Physical Description</header>
|-
        <data source="species"><label>Species</label><default>''Unknown''</default></data>
{{#if: {{{deathDate|}}} | {{!}} <div>Date of death</div> {{!!}} {{{deathDate}}} }}
        <data source="gender"><label>Gender</label><default>''Unknown''</default></data>
|-
        <data source="eyes"><label>Eye color</label><default>''Unknown''</default></data>
{{#if: {{{deathPlace|}}} | {{!}} <div>Place of death</div> {{!!}} {{{deathPlace}}} }}
        <data source="hair"><label>Hair color</label><default>''Unknown''</default></data>
|-class="stop-section-collapse"
</group>
{{#if: {{{species|}}}{{{gender|}}}{{{eyes|}}}{{{hair|}}} | ! colspan="2" class="infoboxname" | Physical Description <span class="section-collapse" style="font-size:70%; float:right;"></span> }}
</infobox></onlyinclude><noinclude><br style="clear:both;"/>
|-
{{#if: {{{species|}}} | {{!}} <div>Species</div> {{!!}} {{{species}}} }}
|-
{{#if: {{{gender|}}} | {{!}} <div>Gender</div> {{!!}} {{{gender}}} }}
|-
{{#if: {{{eyes|}}} | {{!}} <div>Eye color</div> {{!!}} {{{eyes}}} }}
|-
{{#if: {{{hair|}}} | {{!}} <div>Hair color</div> {{!!}} {{{hair}}} }}
|}</onlyinclude><noinclude><br style="clear:both;"/>
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Revision as of 16:04, 7 June 2017

Character Information Biographical Information Physical Description
Infobox Character
No image yet


Template:Documentation