Template:Character: Difference between revisions

From Dragon Quest Wiki
(Japanese fix. See Template_talk:Monster_Infobox.)
(just so that it displays by default)
Line 2: Line 2:
{{{{PAGENAME}}/doc}}
{{{{PAGENAME}}/doc}}
[[Category:Character templates|Character]]
[[Category:Character templates|Character]]
</noinclude><onlyinclude><includeonly>{|class="characterTemplateTable" cellpadding="5" cellspacing="0" style="margin-left:10px; margin-bottom:10px; float: right; width:250px;"
</noinclude><onlyinclude><includeonly>{|class="characterTemplateTable" style="padding:5px;margin-left:10px; margin-bottom:10px; float: right; width:250px;"
|-
|-
| colspan="2" class="characterTemplateHeader" | [[:Category:Characters|'''''Dragon Quest'' series character''']]
| colspan="2" class="characterTemplateHeader" | [[:Category:Characters|'''''Dragon Quest'' series character''']]
|-
|-
| colspan="2" class="characterTemplateHeader" | '''{{{Name}}}'''
| colspan="2" class="characterTemplateHeader" | '''{{{Name|{{PAGENAME}}}}}'''
|-
|-
| colspan="2" class="characterTemplateCell" | {{{Game}}}
| colspan="2" class="characterTemplateCell" | {{{Game}}}
Line 15: Line 15:
{{!}} class="characterTemplateCell" {{!}} {{{Sprite}}} | {{!}}- }}
{{!}} class="characterTemplateCell" {{!}} {{{Sprite}}} | {{!}}- }}
{{#if: {{{Japanese name| {{{Jap | }}} }}} | {{!}}-
{{#if: {{{Japanese name| {{{Jap | }}} }}} | {{!}}-
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Japanese Name'''
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Japanese name'''
{{!}} class="characterTemplateCell" lang="ja" {{!}} {{{Japanese name| {{{Jap| }}} }}} | {{!}}- }}
{{!}} class="characterTemplateCell" lang="ja" {{!}} {{{Japanese name| {{{Jap| }}} }}} | {{!}}- }}
{{#if: {{{Roumaji| {{{Romaji|}}} }}} | {{!}}-
{{#if: {{{Roumaji| {{{Romaji|}}} }}} | {{!}}-
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Romanized Jap.'''
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Romaji'''
{{!}} class="characterTemplateCell" lang="ja" {{!}} {{{Roumaji | {{{ Romaji| }}} }}} | {{!}}- }}
{{!}} class="characterTemplateCell" lang="ja" {{!}} {{{Roumaji | {{{ Romaji| }}} }}} | {{!}}- }}
{{#if: {{{Old|}}} | {{!}}-
{{#if: {{{Old|}}} | {{!}}-
Line 39: Line 39:
{{!}} class="characterTemplateCell" {{!}} {{{Family}}} | {{!}}- }}
{{!}} class="characterTemplateCell" {{!}} {{{Family}}} | {{!}}- }}
{{#if: {{{Voice Actor|}}} | {{!}}-
{{#if: {{{Voice Actor|}}} | {{!}}-
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Voice Actor'''
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Voice actor'''
{{!}} class="characterTemplateCell" {{!}} {{{Voice Actor}}} | {{!}}- }}
{{!}} class="characterTemplateCell" {{!}} {{{Voice Actor}}} | {{!}}- }}
|}</includeonly></onlyinclude>
|}</includeonly></onlyinclude>

Revision as of 17:40, 13 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

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

Parameters

  • 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

Sample

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


Code

{{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
}}