Template:Character: Difference between revisions

From Dragon Quest Wiki
(New page: {|border="1" cellpadding="2" cellspacing="0" style="-moz-border-radius:7px; float: right; font-size:90%; width:300px;" |- |colspan="2" style="-moz-border-radius-topright:7px; -moz-border-r...)
 
m (removed italics)
 
(38 intermediate revisions by 13 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="-moz-border-radius-topright:7px; -moz-border-radius-topleft:7px; text-align:center; font-size:13.5px; background:purple;"|<font color="white">'''{{{Name}}}'''</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" align=center|{{{Game}}}
|-
| colspan="2" align=center|{{{Image}}}
|-
|style=" background:purple; width:110px;"|<font color="white">'''Sprite(s)'''</font>
|{{{Sprite}}}
|-
| style="background:purple;"|<font color="white">'''AKA'''</font>
| style="background:#CCCCFF;"|{{{Aka}}}
|-
| style="background:purple;"|<font color="white">'''Japanese Name'''</font>
| style="background:#CCCCFF;"|{{{JapaneseName}}}
|-
| style="background:purple;"|<font color="white">'''Roumaji'''</font>
| style="background:#CCCCFF"|{{{Roumaji}}}
|-
| style="background:purple;"|<font color="white">'''Class'''</font>
|style="background:#CCCCFF"|{{{Class}}}
|-
| style="background:purple;"|<font color="white">'''Race'''</font>
|style="background:#CCCCFF"|{{{Race}}}
|-
|-
| style="background:purple;"|<font color="white">'''Age'''</font>
| colspan="2" class="characterTemplateHeader" style="font-size:15px" | '''{{{Name|{{PAGENAME}}}}}'''
|style="background:#CCCCFF"|{{{Age}}}
|-
|-
| style="background:purple;"|<font color="white">'''Build'''</font>
| colspan="2" class="characterTemplateCell" | {{{Game}}}
|style="background:#CCCCFF"|{{{Build}}}
{{#if: {{{Image|}}} | {{!}}-
|-
{{!}} colspan="2" class="characterTemplateCell" {{!}} {{{Image}}} | {{!}}- }}
|colspan="2" style="text-align:center; font-size:13.5px; background:purple; -moz-border-radius-bottomright:7px; -moz-border-radius-bottomleft:7px;"|[[Category:Characters|<font color="white">'''''Dragon Quest'' series character'''</font>]]
{{#if: {{{Sprite|}}} | {{!}}-
|}
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Sprite(s)'''
<noinclude>
{{!}} class="characterTemplateCell" {{!}} {{{Sprite}}} | {{!}}- }}
 
{{#if: {{{Japanese name| {{{Jap | }}} }}} | {{!}}-
This template is used for playable characters, temporary or permanent, from the ''[[Dragon Quest (series)|Dragon Quest]]'' series.
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Japanese name'''
 
{{!}} class="characterTemplateCell" lang="ja" {{!}} {{{Japanese name| {{{Jap| }}} }}} | {{!}}- }}
==Usage==
{{#if: {{{Roumaji| {{{Romaji|}}} }}} | {{!}}-
Copy these at the top of the article during editing, and fill them in appropriately.
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Romaji'''
 
{{!}} class="characterTemplateCell" lang="ja" {{!}} {{{Roumaji | {{{ Romaji| }}} }}} | {{!}}- }}
Do not remove fields, just leave them blank if there's no info.
{{#if: {{{Old|}}} | {{!}}-
{| style="float: left; "
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Old localization'''
|
{{!}} class="characterTemplateCell" {{!}} {{{Old}}} | {{!}}- }}
<pre>
{{#if: {{{Title|}}} | {{!}}-
{{Character
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Title'''
|Name=
{{!}} class="characterTemplateCell" {{!}} {{{Title}}} | {{!}}- }}
|Game=
{{#if: {{{Class|}}} | {{!}}-
|Image=
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Class'''
|Sprite=
{{!}} class="characterTemplateCell" {{!}} {{{Class}}} | {{!}}- }}
|Aka=
{{#if: {{{Race|}}} | {{!}}-
|Japanese name=
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Race'''
|Roumaji=
{{!}} class="characterTemplateCell" {{!}} {{{Race}}} | {{!}}- }}
|Title=
{{#if: {{{Age|}}} | {{!}}-
|Class=
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Age'''
|Race=
{{!}} class="characterTemplateCell" {{!}} {{{Age}}} | {{!}}- }}
|Age=
{{#if: {{{Family|}}} | {{!}}-
|Build=
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Family'''
|}}
{{!}} class="characterTemplateCell" {{!}} {{{Family}}} | {{!}}- }}
</pre>
{{#if: {{{Voice Actor|}}} | {{!}}-
|}
{{!}} style="width:50%;" class="characterTemplateHeader" {{!}} '''Voice actor'''
 
{{!}} class="characterTemplateCell" {{!}} {{{Voice Actor}}} | {{!}}- }}
[[Category:Infobox templates]]
|}</includeonly></onlyinclude>
</noinclude>

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