helialprofile.png
Welcome to IOPWiki, Commander. You can contribute to this wiki without an account. Learn how to contribute and join our Discord server.

Difference between revisions of "Template:NPC"

Welcome to IOP Wiki. This website is maintained by the Girls' Frontline community and is free to edit by anyone.
Jump to navigation Jump to search
m (Corrected styling)
(Added character tabber for possible Live2D)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<table class="floatright profiletable" style="color:white;border-style:none;width:350px;margin-left:10px;" cellpadding="5" cellspacing="0"><!--
+
<includeonly>{{CharacterTabber}}{{Sidebar
--><tr><th colspan="2" style="background-color:rgba(0,0,0,0.5);text-align:center"><div style="max-width:256px;max-height:356px;padding:10px;margin-left:auto;margin-right:auto;position:relative"><img src="{{filepath:{{{npcprofileimage|Character_Profile_{{BASEPAGENAMEE}}.png}}}}}" style="border: 2px solid white;width:255px;"/></div></th></tr><!--
+
|image=[[File:{{{npcprofileimage|Character_Profile_{{BASEPAGENAME}}.png}}}|250px|link=|{{{fullname|{{ROOTPAGENAME}}}}]]
--><tr><th colspan="2" style="font-size:125%;background-color:#f0b000">Information</th></tr><!--
+
|content={{SidebarHeadline|Information}}
--><tr style="background-color:rgba(0,0,0,0.5);"><th>Full name </th><td>{{{fullname|{{BASEPAGENAME}}}}}</td></tr><!--
+
{{SidebarLine|Full name|{{{fullname|{{ROOTPAGENAME}}}}}}}
--><tr style="background-color:rgba(0,0,0,0.5);"><th>Affiliation</th><td>{{{affiliation|Unknown/None}}}</td></tr><!--
+
{{SidebarLine|Affiliation|{{#if:{{{affiliation|}}}|{{{affiliation}}}|Unknown/None}}}}
-->{{#if:{{{artist|}}}|<tr style="background-color:rgba(0,0,0,0.5);"><th>Artist</th><td>{{{artist|}}}</td></tr>}}<!--
+
{{SidebarLine|Voice actor|{{#if:{{{voiceactor|}}}|{{{voiceactor}}}|-TBA-}}}}
-->{{#if:{{{voiceactor|}}}|<tr style="background-color:rgba(0,0,0,0.5);"><th>Voice actor</th><td>{{{voiceactor|}}}</td></tr>}}<!--
+
{{SidebarLine|Artist|{{#if:{{{artist|}}}|{{{artist}}}|Unknown}}}}
--><tr style="background-color:rgba(0,0,0,0.5);"><th>Released on</th><td>{{{releasedon|Not released yet}}}</td></tr>
+
{{SidebarLine|Released on|{{#if:{{{releasedon|}}}|{{{releasedon}}}|Not released yet}}}}
</table>
+
}}{{{summary|}}}
== Summary ==
+
 
{{{summary|}}}<includeonly>[[Category:Characters]]</includeonly>
+
__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 21:07, 11 January 2020

Documentation icon Template documentation[view] [edit] [history] [purge]

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
NPC
{Template:fullname
Information
Full name Havier Witkin
Affiliation I.O.P
Voice actor -TBA-
Artist Unknown
Released on CN, TW, KR, EN
Small summary (this is seen on google, too)

Background

Some background information about the character. For example: The past.

Character Info

Character information describing him/her/it.

Story Involvement

Talking about when the character appears.

Gallery

Trivia

  • trivia1
  • trivia2

References


Sandbox version