Template:Character: Difference between revisions

From Dragon Quest Wiki
(updated colors, changed category, made empty data look better)
(Cleaned up)
Line 1: Line 1:
{|border="1" cellpadding="2" cellspacing="0" style="-moz-border-radius:7px; float: right; font-size:90%; width:300px;"
<noinclude>
|-
See [[Template:Character/doc]] for documentation on this template.
|colspan="2" style="text-align:center; font-size:13.5px; background:#3366CC; -moz-border-radius-bottomright:7px; -moz-border-radius-bottomleft:7px;"|[[:Category:Characters|<font color="white">'''''Dragon Quest'' series character'''</font>]]
[[Category:Character templates|Character]]
|-
</noinclude>
|colspan="2" style="-moz-border-radius-topright:7px; -moz-border-radius-topleft:7px; text-align:center; font-size:13.5px; background:#3366CC;"|<font color="white">'''{{{Name}}}'''</font>
<onlyinclude><includeonly>
|-
{|class="characterTemplateTable" cellpadding="5" cellspacing="0" style="float: right; width:300px;"
| colspan="2" align=center|{{{Game}}}
|-
| colspan="2" align=center|{{#if: {{{Image|}}} | {{{Image}}} | }}
|-
|style=" background:#3366CC; width:110px;"|<font color="white">'''Sprite'''</font>
| {{#if: {{{Sprite|}}} | {{{Sprite}}} | &nbsp; }}
|-
| style="background:#3366CC;"|<font color="white">'''Japanese Name'''</font>
| {{#if: {{{Japanese name|}}} | {{{Japanese name}}} | &nbsp; }}
|-
| style="background:#3366CC;"|<font color="white">'''Roumaji'''</font>
| {{#if: {{{Roumaji|}}} | {{{Roumaji}}} | &nbsp; }}
|-
| style="background:#3366CC;"|<font color="white">'''Title'''</font>
| {{#if: {{{Title|}}} | {{{Title}}} | &nbsp; }}
|-
| style="background:#3366CC;"|<font color="white">'''Class'''</font>
| {{#if: {{{Class|}}} | {{{Class}}} | &nbsp; }}
|-
|-
| style="background:#3366CC;"|<font color="white">'''Race'''</font>
| colspan="2" class="characterTemplateHeader | [[:Category:Characters|'''''Dragon Quest'' series character''']]
| {{#if: {{{Race|}}} | {{{Race}}} | &nbsp; }}
|-
|-
| style="background:#3366CC;"|<font color="white">'''Age'''</font>
| colspan="2" class="characterTemplateHeader | '''{{{name}}}'''
| {{#if: {{{Age|}}} | {{{Age}}} | &nbsp; }}
|-
|-
| style="background:#3366CC;"|<font color="white">'''Family'''</font>
| colspan="2" class="characterTemplateCell" | {{{game}}}
| {{#if: {{{Family|}}} | {{{Family}}} | &nbsp; }}
{{#if: {{{image|}}} | {{!}}- colspan="2"
|}
{{!}} class="characterTemplateCell" {{!}} {{{image}}} | {{!}}- }}
<noinclude>
{{#if: {{{sprite|}}} | {{!}}-
 
{{!}} style="width:110px;" class="characterTemplateHeader" {{!}} '''Sprite'''
This template is used for playable characters, temporary or permanent, from the ''[[Dragon Quest (series)|Dragon Quest]]'' series.
{{!}} class="characterTemplateCell" {{!}} {{{sprite}}} | {{!}}- }}
 
{{#if: {{{japanese name|}}} | {{!}}-
==Usage==
{{!}} style="width:110px;" class="characterTemplateHeader" {{!}} '''Japanese Name'''
Copy these at the top of the article during editing, and fill them in appropriately.
{{!}} class="characterTemplateCell" {{!}} {{{japanese name}}} | {{!}}- }}
 
{{#if: {{{roumaji|}}} | {{!}}-
Do not remove fields, just leave them blank if there's no info.
{{!}} style="width:110px;" class="characterTemplateHeader" {{!}} '''Roumaji'''
{| style="float: left; "
{{!}} class="characterTemplateCell" {{!}} {{{roumaji}}} | {{!}}- }}
|
{{#if: {{{title|}}} | {{!}}-
<pre>
{{!}} style="width:110px;" class="characterTemplateHeader" {{!}} '''Title'''
{{Character
{{!}} class="characterTemplateCell" {{!}} {{{title}}} | {{!}}- }}
|Name=
{{#if: {{{class|}}} | {{!}}-
|Game=
{{!}} style="width:110px;" class="characterTemplateHeader" {{!}} '''Class'''
|Image=
{{!}} class="characterTemplateCell" {{!}} {{{class}}} | {{!}}- }}
|Sprite=
{{#if: {{{race|}}} | {{!}}-
|Japanese name=
{{!}} style="width:110px;" class="characterTemplateHeader" {{!}} '''Race'''
|Roumaji=
{{!}} class="characterTemplateCell" {{!}} {{{race}}} | {{!}}- }}
|Title=
{{#if: {{{age|}}} | {{!}}-
|Class=
{{!}} style="width:110px;" class="characterTemplateHeader" {{!}} '''Age'''
|Race=
{{!}} class="characterTemplateCell" {{!}} {{{age}}} | {{!}}- }}
|Age=
{{#if: {{{family|}}} | {{!}}-
|Family=
{{!}} style="width:110px;" class="characterTemplateHeader" {{!}} '''Family'''
|}}
{{!}} class="characterTemplateCell" {{!}} {{{family}}} | {{!}}- }}
</pre>
|}
|}
 
</includeonly></onlyinclude>
[[Category:Character templates|Character]]
</noinclude>

Revision as of 13:14, 23 February 2010

See Template:Character/doc for documentation on this template.