Difference between revisions of "Template:NPC"
Jump to navigation
Jump to search
m (Corrected styling) |
(Revised the template) |
||
Line 1: | Line 1: | ||
− | < | + | <includeonly>{{Sidebar |
− | + | |image=[[File:{{{npcprofileimage|Character_Profile_{{BASEPAGENAME}}.png}}}|250px|link=|{{{fullname|{{ROOTPAGENAME}}}}]] | |
− | + | |content={{SidebarHeadline|Information}} | |
− | + | {{SidebarLine|Full name|{{{fullname|{{ROOTPAGENAME}}}}}}} | |
− | + | {{SidebarLine|Affiliation|{{#if:{{{affiliation|}}}|{{{affiliation}}}|Unknown/None}}}} | |
− | + | {{SidebarLine|Voice actor|{{#if:{{{voiceactor|}}}|{{{voiceactor}}}|-TBA-}}}} | |
− | + | {{SidebarLine|Artist|{{#if:{{{artist|}}}|{{{artist}}}|Unknown}}}} | |
− | + | {{SidebarLine|Released on|{{#if:{{{releasedon|}}}|{{{releasedon}}}|Not released yet}}}} | |
− | + | }}{{{summary|}}} | |
− | == | + | |
− | {{{ | + | __TOC__ |
+ | |||
+ | {{#if:{{{background|}}}|<nowiki></nowiki> | ||
+ | == Background == | ||
+ | {{{background|}}}}}{{#if:{{{characterinfo|}}}|<nowiki></nowiki> | ||
+ | == Character Info == | ||
+ | {{{characterinfo|}}}}}{{#if:{{{storyinvolvement|}}}|<nowiki></nowiki> | ||
+ | == Story Involvement == | ||
+ | {{{storyinvolvement|}}}}}{{#if:{{{gallery|}}}|<nowiki></nowiki> | ||
+ | == Gallery == | ||
+ | {{{gallery|}}}}}{{#if:{{{trivia|}}}|<nowiki></nowiki> | ||
+ | == Trivia == | ||
+ | {{{trivia|}}}}} | ||
+ | == References == | ||
+ | <references/>{{#ifeq:{{NAMESPACE}}||[[Category:Characters]]}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 20:42, 11 January 2020
Template used for displaying NPCs.
Parameters
Parameter name | Required? | Default value | Description |
---|---|---|---|
summary |
Yes | (n/a) | A small summary about the NPC. This information is visible on Google. |
fullname |
No | (n/a) | The full name of the NPC. |
npcprofileimage |
No | Character_Profile_PAGENAME.png |
Optional. Defines the image of the NPCin the sidebar. |
affiliation |
No | (n/a) | The organizations and teams the character is involved with. |
releasedon |
No | (n/a) | The servers the NPC appears on. {{server short|CN}}
|
background |
No | (n/a) | Some background information about the character. For example: The past. |
characterinfo |
No | (n/a) | Information about the NPC's character so the reader gets an idea of what type of character the NPC is. (Moody, trustworthy,...) |
storyinvolvement |
No | (n/a) | Sections describing the story involvement of the character. Dialogues should be linked to the proper story page. |
gallery |
No | (n/a) | A place for images about the NPC. Usually filled with a gallery: <gallery></gallery> .
|
trivia |
No | (n/a) | Place for trivial information about the NPC such as name translations or the like. |
Usage
See the template's testcases:
Usual parameter usement | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Wiki code | {{NPC |fullname=Havier Witkin |npcprofileimage=Character_Profile_Weitkins.png |affiliation=[[I.O.P]] |releasedon={{server short|CN}}, {{server short|TW}}, {{server short|KR}}, {{server short|EN}} |summary=Small summary (this is seen on google, too) |background=Some background information about the character. For example: The past. |characterinfo=Character information describing him/her/it. |storyinvolvement=Talking about when the character appears. |gallery=<gallery> File:Character_Profile_Weitkins.png|Artwork of Witkin </gallery> |trivia=*trivia1 *trivia2}} | ||||||||||||||
Main version |
Contents
BackgroundSome background information about the character. For example: The past. Character InfoCharacter information describing him/her/it. Story InvolvementTalking about when the character appears. GalleryTrivia
References
| ||||||||||||||
Sandbox version |
The above documentation is transcluded from Template:NPC/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |