Template:Character: Difference between revisions

From Dragon Quest Wiki
(updated colors, changed category, made empty data look better)
m (removed italics)
 
(26 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{|border="1" cellpadding="2" cellspacing="0" style="-moz-border-radius:7px; float: right; font-size:90%; width:300px;"
<noinclude>
|-
{{{{PAGENAME}}/doc}}
|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><onlyinclude><includeonly>{|class="characterTemplateTable" style="padding:5px;margin-left:10px; margin-bottom:10px; float: right; width:250px;"
|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>
|-
| 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>
| colspan="2" class="characterTemplateHeader" style="font-size:15px" | '''{{{Name|{{PAGENAME}}}}}'''
| {{#if: {{{Class|}}} | {{{Class}}} | &nbsp; }}
|-
|-
| style="background:#3366CC;"|<font color="white">'''Race'''</font>
| colspan="2" class="characterTemplateCell" | {{{Game}}}
| {{#if: {{{Race|}}} | {{{Race}}} | &nbsp; }}
{{#if: {{{Image|}}} | {{!}}-
|-
{{!}} colspan="2" class="characterTemplateCell" {{!}} {{{Image}}} | {{!}}- }}
| style="background:#3366CC;"|<font color="white">'''Age'''</font>
{{#if: {{{Sprite|}}} | {{!}}-
| {{#if: {{{Age|}}} | {{{Age}}} | &nbsp; }}
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Sprite(s)'''
|-
{{!}} class="characterTemplateCell" {{!}} {{{Sprite}}} | {{!}}- }}
| style="background:#3366CC;"|<font color="white">'''Family'''</font>
{{#if: {{{Japanese name| {{{Jap | }}} }}} | {{!}}-
| {{#if: {{{Family|}}} | {{{Family}}} | &nbsp; }}
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Japanese name'''
|}
{{!}} class="characterTemplateCell" lang="ja" {{!}} {{{Japanese name| {{{Jap| }}} }}} | {{!}}- }}
<noinclude>
{{#if: {{{Roumaji| {{{Romaji|}}} }}} | {{!}}-
 
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Romaji'''
This template is used for playable characters, temporary or permanent, from the ''[[Dragon Quest (series)|Dragon Quest]]'' series.
{{!}} class="characterTemplateCell" lang="ja" {{!}} {{{Roumaji | {{{ Romaji| }}} }}} | {{!}}- }}
 
{{#if: {{{Old|}}} | {{!}}-
==Usage==
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Old localization'''
Copy these at the top of the article during editing, and fill them in appropriately.
{{!}} class="characterTemplateCell" {{!}} {{{Old}}} | {{!}}- }}
 
{{#if: {{{Title|}}} | {{!}}-
Do not remove fields, just leave them blank if there's no info.
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Title'''
{| style="float: left; "
{{!}} class="characterTemplateCell" {{!}} {{{Title}}} | {{!}}- }}
|
{{#if: {{{Class|}}} | {{!}}-
<pre>
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Class'''
{{Character
{{!}} class="characterTemplateCell" {{!}} {{{Class}}} | {{!}}- }}
|Name=
{{#if: {{{Race|}}} | {{!}}-
|Game=
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Race'''
|Image=
{{!}} class="characterTemplateCell" {{!}} {{{Race}}} | {{!}}- }}
|Sprite=
{{#if: {{{Age|}}} | {{!}}-
|Japanese name=
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Age'''
|Roumaji=
{{!}} class="characterTemplateCell" {{!}} {{{Age}}} | {{!}}- }}
|Title=
{{#if: {{{Family|}}} | {{!}}-
|Class=
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Family'''
|Race=
{{!}} class="characterTemplateCell" {{!}} {{{Family}}} | {{!}}- }}
|Age=
{{#if: {{{Voice Actor|}}} | {{!}}-
|Family=
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Voice actor'''
|}}
{{!}} class="characterTemplateCell" {{!}} {{{Voice Actor}}} | {{!}}- }}
</pre>
|}</includeonly></onlyinclude>
|}
 
[[Category:Character templates|Character]]
</noinclude>

Latest revision as of 00:08, 16 May 2020

The character template displays common information about a character in the Dragon Quest series. Each character article should have this template at the top of the page.

Usage[edit]

{{Character
|Name=
|Game=
|Image=[[Image:]]
|Sprite=[[Image:]]
|Jap=
|Romaji=
|Title=
|Class=
|Race=
|Age=
|Family=
|Voice Actor=
}}

Parameters[edit]

  • Name: The name of the character.
  • Game: The game this character appears in. Should be an interwiki link to the game article.

Following parameters are optional:

  • Image: A single artwork image of the character. Should be of good quality. Should be a thumbnail if the image is large.
  • Sprite: Any sprite images of the character from the game.
  • Jap: The Japanese name of this character.
  • Romaji: The Romanized Japanese name.
  • Title: The title this character possesses if applicable.
  • Class: The job class of this character.
  • Race: The race of this character.
  • Age: The age of this character if known.
  • Family: The family this character belongs to.
  • Voice Actor: The person who voices this character, if any.

Example[edit]

Sample[edit]

Moonbrook
Dragon Quest X
Moonbrook.png
Japanese name ゆあまむ
Romaji Yuamamu
Title Ninja
Class Plumber
Race Kiwi
Age 34
Family Martin family


Code[edit]

{{Character
|Name=Moonbrook
|Game=[[Dragon Quest X]]
|Image=[[Image:Moonbrook.png|160px]]
|Title=Ninja
|Class=Plumber
|Race=Kiwi
|Age=34
|Family=Martin family
|Jap=ゆあまむ
|Romaji=Yuamamu
}}