Difference between revisions of "Template:NPC"

From sureai
Jump to: navigation, search
(Added a fixed width)
(Remove Ref ID duplication)
Line 1: Line 1:
 
{| style = "float: right; background: RGB(177, 171, 143); border-collapse: collapse; margin: 5px 5px 10px 20px; width: 300px; "
 
{| style = "float: right; background: RGB(177, 171, 143); border-collapse: collapse; margin: 5px 5px 10px 20px; width: 300px; "
 
|-
 
|-
| colspan="4" style="background: RGB(147, 56, 56); border-radius: 5px; text-align: center; color: white; font-weight: bold; width: 300px; "| <div style="font-size: 150%; padding: 0 10px; "> {{{name|{{PAGENAME}}}}} </div> {{#if: {{{refid|}}} |(RefID: {{{refid}}}) |}}
+
| colspan="4" style="background: RGB(147, 56, 56); border-radius: 5px; text-align: center; color: white; font-weight: bold; width: 300px; "| <div style="font-size: 150%; padding: 0 10px; "> {{{name|{{PAGENAME}}}}} </div> {{#if: {{{refid|}}} |(Ref ID: {{{refid}}}) |}}
 
|-
 
|-
 
| colspan="4" style="padding: 5px 0 10px 0;" | <span style="display: inline-block; overflow: hidden; border-radius: 5px;">[[File:{{{image|SureaiLogo2016.png}}}|300px|center]]</span>
 
| colspan="4" style="padding: 5px 0 10px 0;" | <span style="display: inline-block; overflow: hidden; border-radius: 5px;">[[File:{{{image|SureaiLogo2016.png}}}|300px|center]]</span>
Line 15: Line 15:
 
| style="text-align: right; padding-right: 5px; " | '''Level'''
 
| style="text-align: right; padding-right: 5px; " | '''Level'''
 
| {{{level|-}}}
 
| {{{level|-}}}
| style="text-align: right; padding-right: 5px; " | '''Class'''
+
| style="text-align: right; padding-right: 5px; " | '''Form ID'''
| {{{class|-}}}
+
|-
+
| style="text-align: right; padding-right: 5px; " | '''RefID'''
+
| {{{refid|-}}}
+
| style="text-align: right; padding-right: 5px; " | '''BaseID'''
+
 
| {{{baseid|-}}}
 
| {{{baseid|-}}}
 +
|-
 +
| style="text-align: right; padding-right: 5px; " | '''Class'''
 +
| colspan="3" | {{{class|-}}}
 
|-
 
|-
 
| colspan="4" style="background: RGB(147, 56, 56); border-radius: 5px; text-align: center; color: white; "| '''Other Information'''
 
| colspan="4" style="background: RGB(147, 56, 56); border-radius: 5px; text-align: center; color: white; "| '''Other Information'''

Revision as of 15:25, 10 April 2017

NPC
SureaiLogo2016.png
Location -
Race - Gender -
Level - Form ID -
Class -
Other Information
Health - Magicka -
Stamina - Essential No

Usage

Parameters

All parameters are optional

  • Text Parameters: name, image, location, race, gender, level, class, refid, baseid, health, magicka, stamina, essential

If the parameter "name" is not set, the template will use the current page's name (without the namespace) as a name.

Examples

{{NPC
|name = Gary
|image = EN-Quest-Every Day Like the Last, Part I.png
|location = [[Main Page|SureAI Wiki]]
|race = Aeterna
|gender = Male
|level =  25
|class = Arcanist
|refid = 25B33F
|baseid = 67A33
|health = 100
|magicka = 500
|stamina = 100
|essential = Yes
}}
Gary
(Ref ID: 25B33F)
Race Aeterna Gender Male
Path - Job -
Essential Yes Form ID 67A33
Location SureAI Wiki
EN-Quest-Every Day Like the Last, Part I.png
Level 25 Health 100
Magicka 500 Stamina 100
{{NPC}}
NPC
Race - Gender -
Path - Job -
Essential No Form ID -
Location -
SureaiLogo2016.png
Level - Health -
Magicka - Stamina -