Template:Character: Difference between revisions

From Dragon Quest Wiki
mNo edit summary
m (removed italics)
 
(18 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
See [[Template:Character/doc]] for documentation on this template.
{{{{PAGENAME}}/doc}}
[[Category:Character templates|Character]]
[[Category:Character templates|Character]]
</noinclude>
</noinclude><onlyinclude><includeonly>{|class="characterTemplateTable" style="padding:5px;margin-left:10px; margin-bottom:10px; float: right; width:250px;"
<onlyinclude><includeonly>
{|class="characterTemplateTable" cellpadding="5" cellspacing="0" style="float: right; width:250px;"
|-
|-
| colspan="2" class="characterTemplateHeader" | [[:Category:Characters|'''''Dragon Quest'' series character''']]
| colspan="2" class="characterTemplateHeader" style="font-size:15px" | '''{{{Name|{{PAGENAME}}}}}'''
|-
| colspan="2" class="characterTemplateHeader" | '''{{{Name}}}'''
|-
|-
| colspan="2" class="characterTemplateCell" | {{{Game}}}
| colspan="2" class="characterTemplateCell" | {{{Game}}}
Line 14: Line 10:
{{!}} colspan="2" class="characterTemplateCell" {{!}} {{{Image}}} | {{!}}- }}
{{!}} colspan="2" class="characterTemplateCell" {{!}} {{{Image}}} | {{!}}- }}
{{#if: {{{Sprite|}}} | {{!}}-
{{#if: {{{Sprite|}}} | {{!}}-
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Sprite'''
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Sprite(s)'''
{{!}} class="characterTemplateCell" {{!}} {{{Sprite}}} | {{!}}- }}
{{!}} class="characterTemplateCell" {{!}} {{{Sprite}}} | {{!}}- }}
{{#if: {{{Japanese name|}}} | {{!}}-
{{#if: {{{Japanese name| {{{Jap | }}} }}} | {{!}}-
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Japanese Name'''
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Japanese name'''
{{!}} class="characterTemplateCell" {{!}} {{{Japanese name}}} | {{!}}- }}
{{!}} class="characterTemplateCell" lang="ja" {{!}} {{{Japanese name| {{{Jap| }}} }}} | {{!}}- }}
{{#if: {{{Roumaji|}}} | {{!}}-
{{#if: {{{Roumaji| {{{Romaji|}}} }}} | {{!}}-
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Roumaji'''
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Romaji'''
{{!}} class="characterTemplateCell" {{!}} {{{Roumaji}}} | {{!}}- }}
{{!}} class="characterTemplateCell" lang="ja" {{!}} {{{Roumaji | {{{ Romaji| }}} }}} | {{!}}- }}
{{#if: {{{Old|}}} | {{!}}-
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Old localization'''
{{!}} class="characterTemplateCell" {{!}} {{{Old}}} | {{!}}- }}
{{#if: {{{Title|}}} | {{!}}-
{{#if: {{{Title|}}} | {{!}}-
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Title'''
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Title'''
Line 37: Line 36:
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Family'''
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Family'''
{{!}} class="characterTemplateCell" {{!}} {{{Family}}} | {{!}}- }}
{{!}} class="characterTemplateCell" {{!}} {{{Family}}} | {{!}}- }}
|}
{{#if: {{{Voice Actor|}}} | {{!}}-
</includeonly></onlyinclude>
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Voice actor'''
{{!}} class="characterTemplateCell" {{!}} {{{Voice Actor}}} | {{!}}- }}
|}</includeonly></onlyinclude>

Latest revision as of 23:08, 15 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
}}