Template:Character: Difference between revisions

Content deleted Content added
import>Meraculas
mNo edit summary
m 24 revisions imported
 
(18 intermediate revisions by 3 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: {{{first appearance|}}} | {{!}} valign=top {{!}} '''First Appearance:''' {{!!}} {{{first appearance}}} }}
</data>
|- style="vertical-align: top;"
<data source="designation">
{{#if: {{{last appearance|}}} | {{!}} valign=top {{!}} '''Last Appearance:''' {{!!}} {{{last appearance}}} }}
<label>'''Designation'''</label>
|- style="vertical-align: top;"
</data>
{{#if: {{{cause|}}} | {{!}} valign=top {{!}} '''Cause:''' {{!!}} {{{cause}}} }}
<data source="species">
|- style="vertical-align: top;"
<label>'''Species'''</label>
{{#if: {{{alias|}}} | {{!}} valign=top {{!}} '''Alias:''' {{!!}} {{{alias}}} }}
</data>
|- style="vertical-align: top;"
<data source="affiliates">
{{#if: {{{species|}}} | {{!}} valign=top {{!}} '''Species:''' {{!!}} {{{species}}} }}
<label>'''Affiliations'''</label>
|- style="vertical-align: top;"
</data>
{{#if: {{{designation|}}} | {{!}} valign=top {{!}} '''Designation:''' {{!!}} {{{designation}}} }}
<data source="occupation">
|- style="vertical-align: top;"
<label>'''Occupation'''</label>
{{#if: {{{group|}}} | {{!}} valign=top {{!}} '''Group:''' {{!!}} {{{group}}} }}
</data>
|- style="vertical-align: top;"
<data source="status">
{{#if: {{{occupation|}}} | {{!}} '''Occupation:''' {{!!}} {{{occupation}}} }}
<label>'''Status'''</label>
|- style="vertical-align: top;"
</data>
{{#if: {{{status|}}} | {{!}} '''Current Status:''' {{!!}} {{{status}}} }}
<data source="birth">
|- style="vertical-align: top;"
<label>'''Born'''</label>
{{#if: {{{actor|}}} | {{!}} '''Portrayed by:''' {{!!}} {{{actor}}} }}
</data>
|}<noinclude>
<brdata clearsource="allage">
<label>'''Age'''</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="family">
<label>'''Family'''</label>
</data>
<data source="interests">
<label>'''Interests'''</label>
</data>
<data source="gender">
<label>'''Gender'''</label>
</data>
<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=
| first appearance =
|image=
| last appearance =
|real cause name=
|designation=
| alias =
| species =
|affiliates=
| designation =
|occupation=
| group =
|status=
| occupation =
|birth=
| status =
|age=
| actor =
|family=
}}</pre>
|interests=
[[Category:Templates|Character]]
|gender=
|hair color=
|eye color=
|height=
|first appearance=
|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>