Template:Infobox NPC: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis
mNo edit summary
mNo edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" style="width: 20em; text-align: left; font-size: 90%" cellspacing="2"
{{Infobox
|-
|name        = Infobox NPC
! style="background: {{{box_color|#DEDEE2}}}; font-size: 120%;" align="center" colspan="2" | {{{name}}}
|above        = {{{name|}}}
|-
|abovestyle  = background: {{{box_color|#DEDEE2}}};


{{#if: {{{image|}}} |
|image       = {{{image|}}}
{{!}} align="center" colspan="2" {{!}} {{{image}}} {{#if: {{{caption|}}} | <br>{{{caption}}}}} }}
|caption     = {{{caption|}}}
|-
! style="background: {{{box_color|#DEDEE2}}}; font-size: 120%;" align="center" colspan="2" | Details
|-


{{#if: {{{sd|}}} |
|headerstyle  = background: {{{box_color|#DEDEE2}}};
! Real Name
|labelstyle  =
{{!}} {{{sd}}}
|datastyle    =
}}
|-


{{#if: {{{gender|}}} |
|header1  = Details
! Gender
|label1  =
{{!}} {{{gender}}}
|data1    =
}}
|header2  =
|-
|label2  = Real Name
|data2    = {{{sd|}}}
|header3  =
|label3  = Gender
|data3    = {{{gender|}}}
|header4  =
|label4  = Origin
|data4    = {{{origin|}}}
|header5  =
|label5  = Archetype
|data5    = {{{archetype|}}}
|header6  =
|label6  = Affiliation
|data6    = {{{affiliation|}}}
|header7  =
|label7  = Age
|data7    = {{{age|}}}
|header8  =
|label8  = Romantic Associations
|data8    = {{{romantic|}}}
|header9  =
|label9  = Known Family
|data9    = {{{family|}}}
|header10 =
|label10  = Primary Powers
|data10  = {{{pp|}}}
|header11 =
|label11  = Secondary Powers
|data11  = {{{sp|}}}
|header12 =
|label12  = Signature Powers
|data12  = {{{sig|}}}
|header13 =
|label13  = Other Powers
|data13  = {{{other|}}}
|header14 =
|label14  = Zone Locations
|data14  = {{{loc|}}}
|header15 =
|label15  =
|data15  =
|header16 =
|label16  =
|data16  =
|header17 =
|label17  =
|data17  =
|header18 =
|label18  =
|data18  =
|header19 =
|label19  =
|data19  =
|header20 =
|label20  =
|data20  =


{{#if: {{{archetype|}}} |
|belowstyle =
! Archetype
|below =  
{{!}} {{{archetype}}}
}}<noinclude>{{documentation}}</noinclude>
}}
|-
 
{{#if: {{{affiliation|}}} |
! Affiliation
{{!}} {{{affiliation}}}
}}
|-
 
{{#if: {{{age|}}} |
! Age
{{!}} {{{age}}}
}}
|-
 
{{#if: {{{romantic|}}} |
! Romantic Associations
{{!}} {{{romantic}}}
}}
|-
 
{{#if: {{{family|}}} |
! Known Family
{{!}} {{{family}}}
}}
|-
 
{{#if: {{{pp|}}} |
! Primary Powers
{{!}} {{{pp}}}
}}
|-
 
{{#if: {{{sp|}}} |
! Secondary Powers
{{!}} {{{sp}}}
}}
|-
 
{{#if: {{{loc|}}} |
! Zone Locations
{{!}} {{{loc}}}
}}
|}<noinclude>
 
== Usage ==
{| style="background: transparent;"
|<pre>{{Infobox NPC
| box_color  = Hexadecimal colour (EG: #FFFFFF, Default: #DEDEE2)
| name      = Name of the character
| image      = Image of the character
| caption    = Image caption
| sd        = Real Name
| gender    = Gender of the character (if not obvious)
| archetype  = NPC's Archetype (if applicable), 'Civilian' if not super.
| affiliation= Affiliation of the character
| age        = Age of the character
| romantic  = Romantic Associations
| family    = Known Family
| pp        = Primary Powers
| sp        = Secondary Powers
| loc        = Zone Location(s) if applicable
 
}}</pre>
|}
 
[[Category: Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 16:46, 1 June 2020

Details
v  d  e
[edit] [purge] Documentation

Usage

{{Infobox NPC
| box_color  = Hexadecimal colour (EG: #FFFFFF, Default: #DEDEE2)
| name       = Character name
| image      = Character image
| caption    = Caption
| sd         = Real name
| gender     = Gender (if not obvious)
| origin     = Origin of powers
| archetype  = Archetype (if applicable), 'Civilian' if not super
| affiliation= Affiliation of the character
| age        = Age
| romantic   = Romantic associations
| family     = Known family
| pp         = Primary powers
| sp         = Secondary powers
| sig        = Signature powers (if applicable)
| other      = Other notable powers
| loc        = Zone location(s) (if applicable)
}}

Examples

Character name
Character image
Caption
Details
Real Name Real name
Gender Gender (if not obvious)
Origin Origin of powers
Archetype Archetype (if applicable), 'Civilian' if not super
Affiliation Affiliation of the character
Age Age
Romantic Associations Romantic associations
Known Family Known family
Primary Powers Primary powers
Secondary Powers Secondary powers
Signature Powers Signature powers (if applicable)
Other Powers Other notable powers
Zone Locations Zone location(s) (if applicable)
v  d  e
{{Infobox NPC
| box_color  = #DEDEE2
| name       = Character name
| image      = Character image
| caption    = Caption
| sd         = Real name
| gender     = Gender (if not obvious)
| archetype  = Archetype (if applicable), 'Civilian' if not super
| affiliation= Affiliation of the character
| age        = Age
| romantic   = Romantic associations
| family     = Known family
| pp         = Primary powers
| sp         = Secondary powers
| sig        = Signature powers (if applicable)
| other      = Other notable powers
| loc        = Zone location(s) (if applicable)
}}