Difference between revisions of "Template:NPC"
From sureai
(Rounded image corners) |
m (Fix rounded corners in newer Firefox versions) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {| style = "float: right; background: RGB(177, 171, 143); border-collapse: collapse; margin: 5px 5px 10px 20px;" | + | {| style = "float: right; background: RGB(177, 171, 143); border-collapse: collapse; margin: 5px 5px 10px 20px; width: 300px; clear: right; " |
|- | |- | ||
− | | colspan="4" style=" | + | | colspan="4" style="text-align: center; color: white; font-weight: bold; width: 300px; "| <div style="background: RGB(147, 56, 56); border-radius: 5px;><div style="font-size: 150%; padding: 0 10px; "> {{{name|{{PAGENAME}}}}} </div> {{#if: {{{refid|}}} |(Ref ID: {{{refid}}}) |}}</div> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
| style="text-align: right; padding-right: 5px; width: 25%; " | '''Race''' | | style="text-align: right; padding-right: 5px; width: 25%; " | '''Race''' | ||
Line 13: | Line 8: | ||
| style="width: 25%;" | {{{gender|-}}} | | style="width: 25%;" | {{{gender|-}}} | ||
|- | |- | ||
− | | style="text-align: right; padding-right: 5px; " | ''' | + | | style="text-align: right; padding-right: 5px; " | '''Path''' |
− | | {{{ | + | | {{{path|-}}} |
− | | style="text-align: right; padding-right: 5px; " | ''' | + | | style="text-align: right; padding-right: 5px; " | '''Job''' |
− | | {{{ | + | | {{{job|-}}} |
|- | |- | ||
− | | style="text-align: right; padding-right: 5px; " | ''' | + | | style="text-align: right; padding-right: 5px; " | '''Essential''' |
− | | {{{ | + | | {{{essential|No}}} |
− | | style="text-align: right; padding-right: 5px; " | ''' | + | | style="text-align: right; padding-right: 5px; " | '''Form ID''' |
| {{{baseid|-}}} | | {{{baseid|-}}} | ||
|- | |- | ||
− | | | + | | style="text-align: right; padding-right: 5px; width: 25%; " | '''Location''' |
+ | | colspan = 3 | {{{location|-}}} | ||
|- | |- | ||
+ | | colspan="4" style="padding: 5px 0 10px 0; text-align: center; " | <span style="display: inline-block; overflow: hidden; border-radius: 5px;">[[File:{{{image|SureaiLogo2016.png}}}|300x500px|center]]</span> | ||
+ | |- | ||
+ | | style="text-align: right; padding-right: 5px; " | '''Level''' | ||
+ | | {{{level|-}}} | ||
| style="text-align: right; padding-right: 5px; " | '''Health''' | | style="text-align: right; padding-right: 5px; " | '''Health''' | ||
| {{{health|-}}} | | {{{health|-}}} | ||
+ | |- | ||
| style="text-align: right; padding-right: 5px; " | '''Magicka''' | | style="text-align: right; padding-right: 5px; " | '''Magicka''' | ||
| {{{magicka|-}}} | | {{{magicka|-}}} | ||
− | |||
| style="text-align: right; padding-right: 5px; " | '''Stamina''' | | style="text-align: right; padding-right: 5px; " | '''Stamina''' | ||
| {{{stamina|-}}} | | {{{stamina|-}}} | ||
− | |||
− | |||
|} | |} | ||
<noinclude> | <noinclude> | ||
Line 44: | Line 42: | ||
=== Examples === | === Examples === | ||
− | <pre> | + | <pre style = "width: 33%; " > |
{{NPC | {{NPC | ||
|name = Gary | |name = Gary | ||
− | |image = EN- | + | |image = EN-NPC-Jespar Dal'Varek.png |
|location = [[Main Page|SureAI Wiki]] | |location = [[Main Page|SureAI Wiki]] | ||
|race = Aeterna | |race = Aeterna | ||
|gender = Male | |gender = Male | ||
|level = 25 | |level = 25 | ||
− | | | + | |path = Erudite |
+ | |job = Arcanist | ||
|refid = 25B33F | |refid = 25B33F | ||
|baseid = 67A33 | |baseid = 67A33 | ||
Line 62: | Line 61: | ||
</pre> | </pre> | ||
+ | <div style="display: inline-block; "> | ||
{{NPC | {{NPC | ||
|name = Gary | |name = Gary | ||
− | |image = EN- | + | |image = EN-NPC-Jespar Dal'Varek.png |
|location = [[Main Page|SureAI Wiki]] | |location = [[Main Page|SureAI Wiki]] | ||
|race = Aeterna | |race = Aeterna | ||
|gender = Male | |gender = Male | ||
|level = 25 | |level = 25 | ||
− | | | + | |path = Erudite |
+ | |job = Arcanist | ||
|refid = 25B33F | |refid = 25B33F | ||
|baseid = 67A33 | |baseid = 67A33 | ||
Line 77: | Line 78: | ||
|essential = Yes | |essential = Yes | ||
}} | }} | ||
+ | </div> | ||
+ | |||
+ | <pre style = "width: 33%; " > | ||
+ | {{NPC}} | ||
+ | </pre> | ||
+ | |||
+ | <div style="display: inline-block; "> | ||
+ | {{NPC}} | ||
+ | </div> | ||
+ | |||
</noinclude> | </noinclude> |
Latest revision as of 15:37, 25 June 2017
NPC | |||
Race | - | Gender | - |
Path | - | Job | - |
Essential | No | Form ID | - |
Location | - | ||
Level | - | Health | - |
Magicka | - | Stamina | - |
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-NPC-Jespar Dal'Varek.png |location = [[Main Page|SureAI Wiki]] |race = Aeterna |gender = Male |level = 25 |path = Erudite |job = Arcanist |refid = 25B33F |baseid = 67A33 |health = 100 |magicka = 500 |stamina = 100 |essential = Yes }}
Gary (Ref ID: 25B33F) | |||
Race | Aeterna | Gender | Male |
Path | Erudite | Job | Arcanist |
Essential | Yes | Form ID | 67A33 |
Location | SureAI Wiki | ||
Level | 25 | Health | 100 |
Magicka | 500 | Stamina | 100 |
{{NPC}}
NPC | |||
Race | - | Gender | - |
Path | - | Job | - |
Essential | No | Form ID | - |
Location | - | ||
Level | - | Health | - |
Magicka | - | Stamina | - |