Template:Character: Difference between revisions

m
24 revisions imported
No edit summary
m (24 revisions imported)
 
(11 intermediate revisions by 2 users not shown)
Line 1:
<infobox>
{| style="clear: right; border: solid #aaa 1px; margin: 0 0 1em 1em; font-size: 95%; background: #f9f9f9; color:black; width: 310px; padding: 10px; text-align: left; float: right;"
<title source="name">
|-
<default>{{PAGENAME}}</default>
| colspan="2" align="center" style="font-size:125%;" bgcolor=#cef2e0 | {{PAGENAME}}
</title>
|-
<image source="image">
|
<caption source="caption"/>
|-
</image>
{{#if: {{{image|}}} | {{!}} align=center colspan=2 {{!}} [[Image:{{{image}}}|center|250px]] }}
<data source="real name">
|- style="vertical-align: top;"
<label>'''Real Name'''</label>
{{#if: {{{name}}} | {{!}} valign=top {{!}} '''Name:''' {{!!}} {{{name}}} }}
</data>
|- style="vertical-align: top;"
<data source="designation">
{{#if: {{{born|}}} | {{!}} valign=top {{!}} '''Born:''' {{!!}} {{{born}}} }}
<label>'''Designation'''</label>
|- style="vertical-align: top;"
</data>
{{#if: {{{first appearance|}}} | {{!}} valign=top {{!}} '''First Appearance:''' {{!!}} {{{first appearance}}} }}
<data source="species">
|- style="vertical-align: top;"
<label>'''Species'''</label>
{{#if: {{{last appearance|}}} | {{!}} valign=top {{!}} '''Last Appearance:''' {{!!}} {{{last appearance}}} }}
</data>
|- style="vertical-align: top;"
<data source="affiliates">
{{#if: {{{cause|}}} | {{!}} valign=top {{!}} '''Cause:''' {{!!}} {{{cause}}} }}
<label>'''Affiliations'''</label>
|- style="vertical-align: top;"
</data>
{{#if: {{{alias|}}} | {{!}} valign=top {{!}} '''Alias:''' {{!!}} {{{alias}}} }}
<data source="occupation">
|- style="vertical-align: top;"
<label>'''Occupation'''</label>
{{#if: {{{species|}}} | {{!}} valign=top {{!}} '''Species:''' {{!!}} {{{species}}} }}
</data>
|- style="vertical-align: top;"
<data source="status">
{{#if: {{{designation|}}} | {{!}} valign=top {{!}} '''Designation:''' {{!!}} {{{designation}}} }}
<label>'''Status'''</label>
|- style="vertical-align: top;"
</data>
{{#if: {{{group|}}} | {{!}} valign=top {{!}} '''Group:''' {{!!}} {{{group}}} }}
<data source="birth">
|- style="vertical-align: top;"
<label>'''Born'''</label>
{{#if: {{{occupation|}}} | {{!}} '''Occupation:''' {{!!}} {{{occupation}}} }}
</data>
|- style="vertical-align: top;"
<data source="age">
{{#if: {{{status|}}} | {{!}} '''Current Status:''' {{!!}} {{{status}}} }}
<label>'''Age'''</label>
|- style="vertical-align: top;"
</data>
{{#if: {{{family|}}} | {{!}} '''Family:''' {{!!}} {{{family}}} }}
<data source="family">
|- style="vertical-align: top;"
<label>'''Family'''</label>
{{#if: {{{relationships|}}} | {{!}} '''Relationships:''' {{!!}} {{{relationships}}} }}
</data>
{{#if: {{{friends|}}} | {{!}} '''Friends:''' {{!!}} {{{friends}}} }}
<data source="interests">
|- style="vertical-align: top;"
<label>'''Interests'''</label>
{{#if: {{{actor|}}} | {{!}} '''Portrayed by:''' {{!!}} {{{actor}}} }}
</data>
|}<noinclude>
<brdata clearsource="allgender">
<label>'''Gender'''</label>
----
</data>
To use this template, enter the following and fill in the appropriate fields. Any field left blank will not show up. Don't forget to include brackets, to make the fields into links.
<data source="hair color">
<label>'''Hair color'''</label>
</data>
<data source="eye color">
<label>'''Eye color'''</label>
</data>
<data source="height">
<label>'''Height'''</label>
</data>
<data source="first appearance">
<label>'''First appearance'''</label>
</data>
<data source="portrayed by">
<label>'''Portrayed by'''</label>
</data>
<navigation>{{#ifexist:{{PAGENAME}}/Gallery|<center>[[{{PAGENAME}}/Gallery|'''<span>GALLERY</span>]]</center>}}</navigation>
</infobox>
<noinclude>
== Usage & preview ==
Type in this:
 
<pre>{{Character
{{Character
| image =
| name =
| born image=
|real name=
| first appearance =
|designation=
| last appearance =
|species=
| cause =
|affiliates=
| alias =
|occupation=
| species =
|status=
| designation =
|birth=
| group =
|age=
| occupation =
|family=
| status =
|interests=
| family =
|gender=
| relationships =
|hair color=
| friends =
|eye actor color=
|height=
}}</pre>
|first appearance=
[[Category:Templates|Character]]
|portrayed by=
}}
 
</pre>
 
to see this:
 
{{Character
|name=This is a test
|image=This is a test
|real name=This is a test
|designation=This is a test
|species=This is a test
|affiliates=This is a test
|occupation=This is a test
|status=This is a test
|birth=This is a test
|age=This is a test
|family=This is a test
|interests=This is a test
|gender=This is a test
|hair color=This is a test
|eye color=This is a test
|height=This is a test
|first appearance=This is a test
|portrayed by=This is a test
}}
 
 
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
</noinclude>