Difference between revisions of "Template:NPC"

From sureai
Jump to: navigation, search
m (Added background color)
(Improved aesthetics (Begone hard edges!))
Line 1: Line 1:
{| border="1" style = "float: right; border-collapse: collapse; background: RGB(177, 171, 143);"
+
{| style = "float: right; background: RGB(177, 171, 143); border-collapse: collapse; margin: 5px 5px 10px 20px;"
 
|-
 
|-
| colspan="4" style="background: RGB(147, 56, 56); border-width: 0 1px; text-align: center; color: white; font-weight: bold; "| <div style="font-size: 150%; "> {{{name|{{PAGENAME}}}}} </div> {{#if: {{{refid|}}} |(RefID: {{{refid}}}) |}}
+
| colspan="4" style="background: RGB(147, 56, 56); border-radius: 10px; text-align: center; color: white; font-weight: bold; "| <div style="font-size: 150%; "> {{{name|{{PAGENAME}}}}} </div> {{#if: {{{refid|}}} |(RefID: {{{refid}}}) |}}
 
|-
 
|-
 
| colspan="4" style="border-width: 0 1px; padding: 5px;" | [[File:{{{image|SureaiLogo2016.png}}}|300px|center]]
 
| colspan="4" style="border-width: 0 1px; padding: 5px;" | [[File:{{{image|SureaiLogo2016.png}}}|300px|center]]
|-
+
|-  
| style="background: RGB(173, 173, 159); text-align: center; width: 25%;" | '''Location'''
+
| style="text-align: right; padding-right: 5px; width: 25%;" | '''Location'''
 
| colspan = 3 | {{{location|-}}}
 
| colspan = 3 | {{{location|-}}}
 
|-
 
|-
| style="background: RGB(173, 173, 159); text-align: center; " | '''Race'''
+
| style="text-align: right; padding-right: 5px; width: 25%; " | '''Race'''
 
| style="width: 25%;" | {{{race|-}}}
 
| style="width: 25%;" | {{{race|-}}}
| style="background: RGB(173, 173, 159); text-align: center; width: 25%; " | '''Gender'''
+
| style="text-align: right; padding-right: 5px; width: 25%; " | '''Gender'''
 
| style="width: 25%;" | {{{gender|-}}}
 
| style="width: 25%;" | {{{gender|-}}}
 
|-
 
|-
| style="background: RGB(173, 173, 159); text-align: center; " | '''Level'''
+
| style="text-align: right; padding-right: 5px; " | '''Level'''
 
| {{{level|-}}}
 
| {{{level|-}}}
| style="background: RGB(173, 173, 159); text-align: center; " | '''Class'''
+
| style="text-align: right; padding-right: 5px; " | '''Class'''
 
| {{{class|-}}}
 
| {{{class|-}}}
 
|-
 
|-
| style="background: RGB(173, 173, 159); text-align: center; " | '''RefID'''
+
| style="text-align: right; padding-right: 5px; " | '''RefID'''
 
| {{{refid|-}}}
 
| {{{refid|-}}}
| style="background: RGB(173, 173, 159); text-align: center; " | '''BaseID'''
+
| style="text-align: right; padding-right: 5px; " | '''BaseID'''
 
| {{{baseid|-}}}
 
| {{{baseid|-}}}
 
|-
 
|-
| colspan="4" style="background: RGB(147, 56, 56); border-width: 0 1px; text-align: center; color: white; "| '''Other Information'''
+
| colspan="4" style="background: RGB(147, 56, 56); border-radius: 10px; text-align: center; color: white; "| '''Other Information'''
 
|-
 
|-
| style="background: RGB(173, 173, 159); text-align: center; " | '''Health'''
+
| style="text-align: right; padding-right: 5px; " | '''Health'''
 
| {{{health|-}}}
 
| {{{health|-}}}
| style="background: RGB(173, 173, 159); text-align: center; " | '''Magicka'''
+
| style="text-align: right; padding-right: 5px; " | '''Magicka'''
 
| {{{magicka|-}}}
 
| {{{magicka|-}}}
 
|-
 
|-
| style="background: RGB(173, 173, 159); text-align: center; " | '''Stamina'''
+
| style="text-align: right; padding-right: 5px; " | '''Stamina'''
 
| {{{stamina|-}}}
 
| {{{stamina|-}}}
| style="background: RGB(173, 173, 159); text-align: center; " | '''Essential'''
+
| style="text-align: right; padding-right: 5px; " | '''Essential'''
 
| {{{essential|No}}}
 
| {{{essential|No}}}
 
|}
 
|}

Revision as of 00:38, 31 August 2016

NPC
SureaiLogo2016.png
Location -
Race - Gender -
Level - Class -
RefID - BaseID -
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
|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
SureaiLogo2016.png
Level 25 Health 100
Magicka 500 Stamina 100