Difference between revisions of "Template:Character"
From EVE RP Wiki
m |
(Added "citizenship" field, optional.) |
||
(39 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[Category:Characters|{{PAGENAME}}]]</includeonly> | <includeonly>[[Category:Characters|{{PAGENAME}}]]</includeonly> | ||
− | {| cellspacing="0" cellpadding="0" style="clear:both;width: | + | {| cellspacing="0" cellpadding="0" style="clear:both;width:290px; background:#3E3E3C; margin: 1em; padding: 0.5em; margin-top: 1em; border:1px #303030 solid;" align="right" |
|- | |- | ||
− | | colspan="2" style="background:#222; text-align:left; border-bottom:1px #303030 solid" | <center>[[Image:{{{pilotpicture| | + | | colspan="2" style="background:#222; text-align:left; padding: 0.5em; border-bottom:1px #303030 solid" | <center>[[Image:{{{pilotpicture|No_Portrait.jpg}}}|256px]]</center> |
|- | |- | ||
− | | style="width: 80px;background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" | Name | + | {{ifnotempty|{{{characterID|}}}| |
− | + | {{!}}- | |
+ | }}{{#if:{{{characterID|}}}| | ||
+ | {{!}} style="width: 80px;background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Name | ||
+ | {{!}} style="width: 220px;background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} [https://evewho.com/character/{{{characterID|}}} {{{name}}}]| | ||
+ | {{!}} style="width: 80px;background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Name | ||
+ | {{!}} style="width: 220px;background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} [https://evewho.com/character/{{urlencode: {{{name}}}}} {{{name}}}]}} | ||
{{ifnotempty|{{{concordid|}}}| | {{ifnotempty|{{{concordid|}}}| | ||
{{!}}- | {{!}}- | ||
Line 16: | Line 21: | ||
{{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Book of Records | {{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Book of Records | ||
{{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{bookofrecords}}} | {{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{bookofrecords}}} | ||
− | }} | + | }}{{ifnotempty|{{{gender|}}}| |
− | + | {{!}}- | |
− | | style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" | + | }}{{#if:{{{gender|}}}| |
− | + | {{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Gender | |
− | | | + | {{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{gender}}} |
− | + | }}{{ifnotempty|{{{race|}}}| | |
− | + | {{!}}- | |
− | | | + | }}{{#if:{{{race|}}}| |
− | + | {{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Race | |
− | + | {{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{race}}} | |
− | {{ifnotempty|{{{bloodtype|}}}| | + | }}{{ifnotempty|{{{bloodline|}}}| |
+ | {{!}}- | ||
+ | }}{{#if:{{{bloodline|}}}| | ||
+ | {{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Bloodline | ||
+ | {{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{bloodline}}} | ||
+ | }}{{#if:{{{Citizenship|}}}| | ||
+ | {{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Bloodline | ||
+ | {{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{Citizenship}}} | ||
+ | }}{{ifnotempty|{{{bloodtype|}}}| | ||
{{!}}- | {{!}}- | ||
}}{{#if:{{{bloodtype|}}}| | }}{{#if:{{{bloodtype|}}}| | ||
Line 79: | Line 92: | ||
{{!}}- | {{!}}- | ||
}}{{#if:{{{dplace|}}}| | }}{{#if:{{{dplace|}}}| | ||
− | {{!}} style="background:#222;border-bottom:1px # | + | {{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Place of Death |
{{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{dplace}}} | {{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{dplace}}} | ||
}}{{ifnotempty|{{{height|}}}| | }}{{ifnotempty|{{{height|}}}| | ||
Line 101: | Line 114: | ||
{{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Eye Color | {{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Eye Color | ||
{{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{eyecolor}}} | {{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{eyecolor}}} | ||
− | }} | + | }}{{ifnotempty|{{{birthdate|}}}| |
− | + | {{!}}- | |
− | | style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" | + | }}{{#if:{{{birthdate|}}}| |
− | + | {{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Licensed | |
− | + | {{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{birthdate}}} | |
− | | style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" | + | }}{{ifnotempty|{{{licensed|}}}| |
− | + | {{!}}- | |
− | {{ifnotempty|{{{occupation|}}}| | + | }}{{#if:{{{licensed|}}}| |
+ | {{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Licensed | ||
+ | {{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{licensed}}} | ||
+ | }}{{ifnotempty|{{{licensed|}}}| | ||
+ | {{!}}- | ||
+ | }}{{#if:{{{issuer|}}}| | ||
+ | {{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} License Issuer | ||
+ | {{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{issuer}}} | ||
+ | }}{{ifnotempty|{{{sponsor|}}}| | ||
+ | {{!}}- | ||
+ | }}{{#if:{{{sponsor|}}}| | ||
+ | {{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} License Sponsor | ||
+ | {{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{sponsor}}} | ||
+ | }}{{ifnotempty|{{{occupation|}}}| | ||
{{!}}- | {{!}}- | ||
}}{{#if:{{{occupation|}}}| | }}{{#if:{{{occupation|}}}| | ||
Line 118: | Line 144: | ||
{{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Specialization | {{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Specialization | ||
{{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{specialisation}}} | {{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{specialisation}}} | ||
− | }}{{ifnotempty|{{{ | + | }}{{ifnotempty|{{{education|}}}| |
+ | {{!}}- | ||
+ | }}{{#if:{{{education|}}}| | ||
+ | {{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Education | ||
+ | {{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{education}}} | ||
+ | }}{{ifnotempty|{{{corporation|}}}| | ||
+ | {{!}}- | ||
+ | }}{{#if:{{{corporation|}}}| | ||
+ | {{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Corporation | ||
+ | {{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{corporation}}} | ||
+ | }}{{ifnotempty|{{{religion|}}}| | ||
{{!}}- | {{!}}- | ||
− | }}{{#if:{{{ | + | }}{{#if:{{{religion|}}}| |
− | {{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} | + | {{!}} style="background:#222;border-bottom:1px #303030 solid; padding: 0.5em;border-right:1px #000000 solid;" {{!}} Religion |
− | {{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{ | + | {{!}} style="background:#000000;border-bottom:1px #222 solid; padding: 0.5em;" {{!}} {{{religion}}} |
}}{{ifnotempty|{{{affiliation|}}}| | }}{{ifnotempty|{{{affiliation|}}}| | ||
{{!}}- | {{!}}- |
Latest revision as of 20:53, 19 July 2022
Name | {{{name}}} |
Usage
This template is for use with player character pages and helps you display an info box. This template will also automatically include your character in the Characters Category.
Copy and paste the code below into your character page and complete the info.
- (Note: This template is the product of over a decade of feature creep making it unwieldy and annoying. It's relatively easy to add additional fields to it without issue, but it makes it more and more difficult to maintain. Consider using custom infoboxes for information that may not apply to many characters. Removing parameters is unfortunately difficult without a mass fix of any affected profiles, as a result, existing fields should stay as they are. This leads to unfortunate situations such as the following:
- "birthdate" refers to character creation date instead of character birthdate, which is "bdate".
- "concordid" refers to made up ID numbers instead of a more useful characterID for API purposes, which is instead under "characterID".
- The template is not intuitive, but fully fixing it would be next to impossible.
- In fringe cases where a character name has been used before by a now-doomheim'ed previously existing character, or in cases where your characters name doesn't match their in-game name, the link to EVEwho will not work. You can get your characterID from Evewho(it's in the url) and add that under characterID to avoid this, if this applies to you, and you care enough.)
{{Character |name=required |characterID=optional |bookofrecords=optional |pilotpicture=optional |caption=optional |concordid=optional |gender=optional |race=optional |bloodline=optional |citizenship=optional |bloodtype=optional |father=optional |mother=optional |siblings=optional |spouse=optional |children=optional |extendedfamily=optional |bdate=optional |bplace=optional |ddate=optional |dplace=optional |height=optional |weight=optional |haircolor=optional |eyecolor=optional |birthdate=optional |licensed=optional |issuer=optional |sponsor=optional |occupation=optional |specialisation=optional |education=optional |corporation=optional |religion=optional |affiliation=optional |augmentations=optional |tattoos=optional |piercings=optional |marks=optional |vessels=optional |remarks=optional }}
Example
Here's a completed example:
Name | Adrielle Firewalker |
CONCORD ID | 123-45-6789 |
Gender | Female |
Race | Minmatar |
Bloodline | Sebiestor |
Blood Type | A+ |
Father | Adam Firewalker |
Mother | Ada Firewalker |
Siblings | Anarya Firewalker Astrid Firewalker |
Date of Birth | 85.10.14 |
Place of Birth | Mikramurka |
Date of Death | 112.01.05 |
Place of Death | Mikramurka |
Height | 167cm (5'6") |
Weight | 65kg (145lbs) |
Hair Color | Black |
Eye Color | Blue |
Licensed | 105.07.08 (20) |
Occupation | CEO |
Specialization | Industrial |
Education | Combat, Republic Military School |
Corporation | Wasteland Miners Inc. |
Religion | Tribal spiritualism |
Affiliation | Minmatar Republic |
Augmentations | Ocular implant Memory Augmentation implant |
Tattoos | Dragon on right shoulder |
Piercings | Ears |
Marks | Scar on left arm |
Vessels | SSS Mayday |
Remarks | Likes kebabs. |
{{Character |name=Adrielle Firewalker |pilotpicture=Adrielle_Firewalker.jpg |caption=Adrielle Firewalker's current pod pilot licence image. |concordid=123-45-6789 |gender=Female |race=Minmatar |bloodline=Sebiestor |bloodtype=A+ |father=Adam Firewalker |mother=Ada Firewalker |siblings=Anarya Firewalker<br/>Astrid Firewalker |bdate=85.10.14 |bplace=[[Matar#Mikramurka|Mikramurka]] |ddate=112.01.05 |dplace=[[Matar#Mikramurka|Mikramurka]] |height=167cm (5'6") |weight=65kg (145lbs) |haircolor=Black |eyecolor=Blue |birthdate=105.07.08 (20) |corporation=[[Wasteland Miners Inc. (Player corporation)|Wasteland Miners Inc.]] |occupation=CEO |specialisation=Industrial |education=Combat, Republic Military School |religion=Tribal spiritualism |affiliation=Minmatar Republic |augmentations=Ocular implant<br/>Memory Augmentation implant |tattoos=Dragon on right shoulder |piercings=Ears |marks=Scar on left arm |vessels=SSS Mayday |remarks=Likes kebabs. }}
Template:- And the minimal example:
Name | Adrielle Firewalker |
{{Character |name=Adrielle Firewalker }}