Template:Infobox Character: Difference between revisions

Template page
No edit summary
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 5: Line 5:
<th width="55%" valign="top">
<th width="55%" valign="top">
[[File:{{{Image}}}|none|top|600px|]]
[[File:{{{Image}}}|none|top|600px|]]
{{{Gallery}}}


</th>
</th>
<th width="45%" valign="top" style="padding-bottom:135px">
<th width="45%" valign="top" style="padding-bottom:10px">
<table class="infobox-table floatright " style="padding-top:0">
<table class="infobox-table floatright " style="padding-top:0">
<tr style="background-color: #1c1e24; border-top-left-radius: 12px; border-top-right-radius: 12px;">
<tr style="background-color: #1c1e24; border-top-left-radius: 12px; border-top-right-radius: 12px; margin-top: -10px;">
<th width="100%" colspan="3" class="infobox-table-name" style="text-align: center !important; background-color: #1c1e24; padding-top: 10px; padding-bottom: 10px;">{{{Name}}}</th>
<th width="100%" colspan="3" class="infobox-table-name" style="text-align: center !important; background-color: #1c1e24; padding-top: 10px; padding-bottom: 10px; border-top-left-radius: 12px; border-top-right-radius: 12px; border-bottom: 1px solid #2e3138 !important;">{{{Name}}}</th>
</tr>
</tr>
{{#ifeq:{{{Deceased}}}|yes|<tr>
{{#ifeq:{{{Deceased}}}|yes|<tr>
Line 16: Line 18:
</tr>}}
</tr>}}
{{#if:{{{Callsign|}}}|<tr>
{{#if:{{{Callsign|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Callsign</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Callsign</td>
<td width="60%" style="padding:3px;">{{{Callsign}}}</td>
<td width="60%" style="padding:3px;">{{{Callsign}}}</td>
</tr>}}
</tr>}}
{{#if:{{{RealName|}}}|<tr>
{{#if:{{{RealName|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Real Name</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Real Name</td>
<td width="60%" style="padding:3px;">{{{RealName}}}</td>
<td width="60%" style="padding:3px;">{{{RealName}}}</td>
</tr>}}
</tr>}}
{{#if:{{{Aliases|}}}|<tr>
{{#if:{{{Aliases|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Aliases</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Aliases</td>
<td width="60%" style="padding:3px;">{{{Aliases}}}</td>
<td width="60%" style="padding:3px;">{{{Aliases}}}</td>
</tr>}}
</tr>}}
{{#if:{{{Relatives|}}}|<tr>
{{#if:{{{Relatives|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Relatives</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Relatives</td>
<td width="60%" style="padding:3px;">{{{Relatives}}}</td>
<td width="60%" style="padding:3px;">{{{Relatives}}}</td>
</tr>}}
</tr>}}


{{#if:{{{Gender|}}}{{{Race|}}}{{{Height|}}}{{{Weight|}}}{{{Eyes|}}}{{{Hair|}}}{{{UnusualFeatures|}}}|<tr>
{{#if:{{{Gender|}}}{{{Race|}}}{{{Height|}}}{{{Weight|}}}{{{Eyes|}}}{{{Hair|}}}{{{UnusualFeatures|}}}|<tr>
<th width="450px" colspan="3" class="infobox-table-h1" style="text-align: center !important; border-top: 1px solid #2e3138 !important; padding-top: 10px !important; border-bottom: 1px solid #2e3138 !important; padding-bottom: 10px !important; background-color: #1c1e24;">Physical Characteristics</th>
<th width="450px" colspan="3" class="infobox-table-h1" style="text-align: center !important; border-top: 1px solid #2e3138 !important; padding-top: 10px !important; border-bottom: 1px solid #2e3138 !important; padding-bottom: 10px !important; background-color: #1c1e24; color: var(--color-base--emphasized); font-family: Titillium Web; text-transform: uppercase; letter-spacing: 2px;">Physical Characteristics</th>
</tr>}}
</tr>}}


{{#if:{{{Gender|}}}|<tr>
{{#if:{{{Gender|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Gender</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Gender</td>
<td width="60%" style="padding:3px;">[[:Category:{{{Gender}}} Characters|{{{Gender}}}]]</td>
<td width="60%" style="padding:3px;">[[:Category:{{{Gender}}} Characters|{{{Gender}}}]]</td>
[[Category:{{{Gender}}} Characters]]
[[Category:{{{Gender}}} Characters]]
</tr>}}
</tr>}}
{{#if:{{{Race|}}}|<tr>
{{#if:{{{Race|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Race</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Race</td>
<td width="60%" style="padding:3px;">[[{{{Race}}}]]</td>
<td width="60%" style="padding:3px;">[[{{{Race}}}]]</td>
[[Category:{{{Race}}}]]
[[Category:{{{Race}}}]]
</tr>}}
</tr>}}
{{#if:{{{Sire|}}}|<tr>
{{#if:{{{Sire|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Sire</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Sire</td>
<td width="60%" style="padding:3px;">{{{Sire}}}</td>
<td width="60%" style="padding:3px;">{{{Sire}}}</td>
</tr>}}
</tr>}}
{{#if:{{{Height|}}}|<tr>
{{#if:{{{Height|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Height</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Height</td>
<td width="60%" style="padding:3px;">{{{Height}}}</td>
<td width="60%" style="padding:3px;">{{{Height}}}</td>
</tr>}}
</tr>}}
{{#if:{{{Weight|}}}|<tr>
{{#if:{{{Weight|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Weight</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Weight</td>
<td width="60%" style="padding:3px;">{{{Weight}}}</td>
<td width="60%" style="padding:3px;">{{{Weight}}}</td>
</tr>}}
</tr>}}
{{#if:{{{Eyes|}}}|<tr>
{{#if:{{{Eyes|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Eyes</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Eyes</td>
<td width="60%" style="padding:3px;">{{{Eyes}}}</td>
<td width="60%" style="padding:3px;">{{{Eyes}}}</td>
</tr>}}
</tr>}}
{{#if:{{{Hair|}}}|<tr>
{{#if:{{{Hair|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Hair</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Hair</td>
<td width="60%" style="padding:3px;">{{{Hair}}}</td>
<td width="60%" style="padding:3px;">{{{Hair}}}</td>
</tr>}}
</tr>}}
{{#if:{{{UnusualFeatures|}}}|<tr>
{{#if:{{{UnusualFeatures|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Unusual Features</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Unusual Features</td>
<td width="60%" style="padding:3px;">{{{UnusualFeatures}}}</td>
<td width="60%" style="padding:3px;">{{{UnusualFeatures}}}</td>
</tr>}}
</tr>}}
{{#ifeq:{{{Arcgene}}}|yes|<tr>
{{#ifeq:{{{Arcgene}}}|yes|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Arcgene Cluster</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Arcgene Cluster</td>
<td width="60%" style="padding:3px; color: #04ae00 !important;">POSITIVE</td>
<td width="60%" style="padding:3px; color: #04ae00 !important;">POSITIVE</td>
[[Category:Arcgene Positive Characters]]
[[Category:Arcgene Positive Characters]]
</tr>|<tr>
</tr>|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Arcgene Cluster</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Arcgene Cluster</td>
<td width="60%" style="padding:3px;">Negative</td>
<td width="60%" style="padding:3px;">Negative</td>
</tr>}}
</tr>}}
{{#if:{{{PlaceofBirth|}}}|<tr>
{{#if:{{{PlaceofBirth|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Place of Birth</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Place of Birth</td>
<td width="60%" style="padding:3px;">{{{PlaceofBirth}}}</td>
<td width="60%" style="padding:3px;">{{{PlaceofBirth}}}</td>
</tr>}}
</tr>}}
{{#if:{{{PlaceofDeath|}}}|<tr>
{{#if:{{{PlaceofDeath|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Place of Death</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Place of Death</td>
<td width="60%" style="padding:3px;">{{{PlaceofDeath}}}</td>
<td width="60%" style="padding:3px;">{{{PlaceofDeath}}}</td>
[[Category:Deceased Characters]]
[[Category:Deceased Characters]]
Line 89: Line 91:


{{#if:{{{Citizenship|}}}{{{MaritalStatus|}}}{{{Occupation|}}}{{{Education|}}}|<tr>
{{#if:{{{Citizenship|}}}{{{MaritalStatus|}}}{{{Occupation|}}}{{{Education|}}}|<tr>
<th width="450px" colspan="3" class="infobox-table-h1" style="text-align: center !important; border-top: 1px solid #2e3138 !important; padding-top: 10px !important; border-bottom: 1px solid #2e3138 !important; padding-bottom: 10px !important; background-color: #1c1e24;">Current Status</th>
<th width="450px" colspan="3" class="infobox-table-h1" style="text-align: center !important; border-top: 1px solid #2e3138 !important; padding-top: 10px !important; border-bottom: 1px solid #2e3138 !important; padding-bottom: 10px !important; background-color: #1c1e24; color: var(--color-base--emphasized); font-family: Titillium Web; text-transform: uppercase; letter-spacing: 2px;">Current Status</th>
</tr>}}
</tr>}}


{{#if:{{{Citizenship|}}}|<tr>
{{#if:{{{Citizenship|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Citizenship Status</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Citizenship Status</td>
<td width="60%" style="padding:3px;">{{#if: {{#pos:{{{Citizenship|}}}|,}}  
<td width="60%" style="padding:3px;">{{#if: {{#pos:{{{Citizenship|}}}|,}}  
                     | [[:Category:{{CtzenCat|{{#explode:{{{Citizenship}}}|,}}}}|{{Ctzen|{{#explode:{{{Citizenship}}}|,}}}}]], [[:Category:{{CtzenCat|{{#explode:{{{Citizenship}}}|,|1}}}}|{{Ctzen|{{#explode:{{{Citizenship}}}|,|1}}}}]][[Category:{{CtzenCat|{{#explode:{{{Citizenship}}}|,}}}}]][[Category:{{CtzenCat|{{#explode:{{{Citizenship}}}|,|1}}}}]]
                     | [[:Category:{{CtzenCat|{{#explode:{{{Citizenship}}}|,}}}}|{{Ctzen|{{#explode:{{{Citizenship}}}|,}}}}]], [[:Category:{{CtzenCat|{{#explode:{{{Citizenship}}}|,|1}}}}|{{Ctzen|{{#explode:{{{Citizenship}}}|,|1}}}}]][[Category:{{CtzenCat|{{#explode:{{{Citizenship}}}|,}}}}]][[Category:{{CtzenCat|{{#explode:{{{Citizenship}}}|,|1}}}}]]
Line 100: Line 102:
</tr>}}
</tr>}}
{{#if:{{{MaritalStatus|}}}|<tr>
{{#if:{{{MaritalStatus|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Marital Status</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Marital Status</td>
<td width="60%" style="padding:3px;">{{#if: {{#pos:{{{MaritalStatus}}}|;}}
<td width="60%" style="padding:3px;">{{#if: {{#pos:{{{MaritalStatus}}}|;}}
             | {{#switch: {{lc:{{#explode:{{{MaritalStatus}}}|;}}}}
             | {{#switch: {{lc:{{#explode:{{{MaritalStatus}}}|;}}}}
Line 116: Line 118:
</tr>}}
</tr>}}
{{#if:{{{Faction|}}}|<tr>
{{#if:{{{Faction|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Faction</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Faction</td>
<td width="60%" style="padding:3px;">[[:Category:{{{Faction}}}|{{{Faction}}}]]</td>
<td width="60%" style="padding:3px;">[[:Category:{{{Faction}}}|{{{Faction}}}]]</td>
</tr>}}
</tr>}}
{{#if:{{{FormerFaction|}}}|<tr>
{{#if:{{{FormerFaction|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Former Factions</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Former Factions</td>
<td width="60%" style="padding:3px;">{{{FormerFaction}}}</td>
<td width="60%" style="padding:3px;">{{{FormerFaction}}}</td>
</tr>}}
</tr>}}
{{#if:{{{Occupation|}}}|<tr>
{{#if:{{{Occupation|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Occupation</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Occupation</td>
<td width="60%" style="padding:3px;">{{{Occupation}}}</td>
<td width="60%" style="padding:3px;">{{{Occupation}}}</td>
</tr>}}
</tr>}}
{{#if:{{{Education|}}}|<tr>
{{#if:{{{Education|}}}|<tr>
<td width="35%" valign="top" colspan="2" style="padding:3px;">Education</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Education</td>
<td width="60%" style="padding:3px;">{{{Education}}}</td>
<td width="60%" style="padding:3px;">{{{Education}}}</td>
</tr>}}
</tr>}}
<!-- {{#ifeq:{{{Theme}}}|omega|<tr>
{{#ifeq:{{{Theme}}}|omega|<tr>
<th width="200px" class="infobox-button-bar" style="text-align: center;padding-left: 0 !important;">{{Infobox buttons|type=omega|threat=OMEGA Operative|omegaclass={{{Class}}}|omegarank={{{Rank}}}|stationed={{{Stationed}}}|theme=#60017B}}|<span></span></th></tr>}}
<th width="450px" class="infobox-button-bar" style="text-align: center;padding-left: 0 !important; padding-right: 0 !important;">{{Infobox buttons|type=omega|threat=OMEGA Operative|omegaclass={{{Class}}}|omegarank={{{Rank}}}|stationed={{{Stationed}}}|theme=#60017B}}|<span></span></th></tr>}}
{{#ifeq:{{{Theme}}}|hostile|<tr>
{{#ifeq:{{{Theme}}}|hostile|<tr>
<th width="400px" class="infobox-button-bar" style="text-align: center;padding-left: 0 !important;">{{Infobox buttons|type=threat|threat=Hostile Threat|threatrank={{{ThreatRank}}}|threattype={{{ThreatType}}}|theme=#CD0000}}|<span></span></th></tr>}}
<th width="450px" class="infobox-button-bar" style="text-align: center;padding-left: 0 !important; padding-right: 0 !important;">{{Infobox buttons|type=threat|threat=Hostile Threat|threatrank={{{ThreatRank}}}|threattype={{{ThreatType}}}|theme=#CD0000}}|<span></span></th></tr>}}
{{#ifeq:{{{Theme}}}|caution|<tr>
{{#ifeq:{{{Theme}}}|caution|<tr>
<th width="400px" class="infobox-button-bar" style="text-align: center;padding-left: 0 !important;">{{Infobox buttons|type=threat|threat=Cautionary Threat|threatrank={{{ThreatRank}}}|threattype={{{ThreatType}}}|theme=#D96D00}}|<span></span></th></tr>}}
<th width="450px" class="infobox-button-bar" style="text-align: center;padding-left: 0 !important; padding-right: 0 !important;">{{Infobox buttons|type=threat|threat=Cautionary Threat|threatrank={{{ThreatRank}}}|threattype={{{ThreatType}}}|theme=#D96D00}}|<span></span></th></tr>}}
{{#ifeq:{{{Theme}}}|friendly|<tr>
{{#ifeq:{{{Theme}}}|friendly|<tr>
<th width="400px" class="infobox-button-bar" style="text-align: center;padding-left: 0 !important;">{{Infobox buttons|type=threat|threat=Friendly (Non-Threat)|threatrank={{{ThreatRank}}}|threattype={{{ThreatType}}}|theme=#056b00}}|<span></span></th></tr>}} -->
<th width="450px" class="infobox-button-bar" style="text-align: center;padding-left: 0 !important; padding-right: 0 !important;">{{Infobox buttons|type=threat|threat=Friendly (Non-Threat)|threatrank={{{ThreatRank}}}|threattype={{{ThreatType}}}|theme=#056b00}}|<span></span></th></tr>}}
</table>
</table>
</th></tr></table>
</th></tr></table>
Line 328: Line 330:
"FormerFaction": {
"FormerFaction": {
"type": "string"
"type": "string"
}
},
"Gallery": {}
},
},
"paramOrder": [
"paramOrder": [
"Image",
"Image",
"Gallery",
"Theme",
"Theme",
"Name",
"Name",

Latest revision as of 19:32, 14 October 2023

{{/doc}

No description.

[Edit template data]

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
ImageImage

no description

Filesuggested
GalleryGallery

no description

Unknownoptional
ThemeTheme

no description

Stringrequired
NameName

no description

Stringrequired
RealNameRealName

no description

Stringoptional
TaglineTagline

no description

Default
Individual of Interest
Auto value
Stringrequired
CallsignCallsign

no description

Stringoptional
AliasesAliases

no description

Stringoptional
RelativesRelatives

no description

Stringoptional
GenderGender

no description

Stringrequired
RaceRace

no description

Default
Human
Stringrequired
SireSire

Only required if race is Methuselah

Stringoptional
HeightHeight

no description

Stringrequired
WeightWeight

no description

Stringrequired
EyesEyes

no description

Stringrequired
HairHair

no description

Stringrequired
UnusualFeaturesUnusualFeatures

no description

Unknownoptional
ArcgeneArcgene

no description

Default
Negative
Auto value
Stringrequired
PlaceofBirthPlaceofBirth

no description

Stringrequired
PlaceofDeathPlaceofDeath

Only required if deceased is 'yes'

Stringoptional
DeceasedDeceased

no description

Stringrequired
CitizenshipCitizenship

no description

Stringrequired
MaritalStatusMaritalStatus

no description

Stringoptional
FactionFaction

no description

Stringoptional
FormerFactionFormerFaction

no description

Stringoptional
OccupationOccupation

no description

Stringoptional
EducationEducation

no description

Stringoptional
RankRank

Only required if Faction is OMEGA

Stringoptional
ClassClass

Only required if Faction is OMEGA

Stringoptional
StationedStationed

Only required if Faction is OMEGA

Stringoptional
ThreatRankThreatRank

Only required if theme is hostile, caution, or friendly

Numberoptional
ThreatTypeThreatType

Only required if theme is hostile, caution, or friendly

Unknownoptional
DescriptionDescription

no description

Stringrequired
HistoryTextHistoryText

no description

Stringoptional
PersonalityPersonality

no description

Stringoptional
PowersPowers

no description

Stringoptional
AbilitiesAbilities

no description

Stringoptional
StrengthStrength

no description

Unknownoptional
WeaknessesWeaknesses

no description

Stringoptional
EquipmentEquipment

no description

Stringoptional
TransportationTransportation

no description

Stringoptional
WeaponsWeapons

no description

Stringoptional

}