Template:Infobox PCs: Difference between revisions

From World of Adaptation
No edit summary
No edit summary
Tag: Manual revert
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" style="width:300px;"
<table class="infobox" style="text-align: left; width: 300px; border: 1px #aaa solid; overflow:hidden; float:right;" >
|+colspan=2 style="text-align:center;background:{{{headerhex|#837f7e}}};color:#fff;"|'''{{PAGENAME}}'''
<tr>
|-
<th class="infobox-title" colspan="2" style="text-align:center;background:{{{headerhex|#837f7e}}};color:#fff;"><b>{{PAGENAME}}</b></th>
|colspan=2 style="text-align:center"|[[File:{{{image|}}}|300px|thumb|center]]
</tr>
|-
|colspan=2 style="text-align:center;background:#837f7e;color:#fff;"|'''Identity'''
|-
|'''Full Name:'''||{{{fullname}}}
|-
|'''Other names:'''||{{{othernames}}}
|-
|'''Player:'''||{{{player}}}
|-
|'''Pronouns:'''||{{{pronouns}}}
|-
|colspan=2 style="text-align:center;background:#837f7e;color:#fff;"|'''Notables'''
|-
|'''Occupation:'''||{{{job}}}
|-
|'''Element:'''||{{{element}}}
|-
|'''Class:'''||{{{class}}}
|-
|'''Animal Friend:'''||{{{lilbuddy|None}}}
|-
|'''Specialties:'''||{{{specialties}}}
|-
|colspan=2 style="text-align:center;background:#837f7e;color:#fff;"|'''Personal Details'''
|-
|'''Birthday:'''||{{{bday}}}
|-
|'''Nationality:'''||{{{nationality}}}
|-
|'''Height:'''||{{{height}}}
|-
|'''Weight:'''||{{{weight}}}
|-
|'''Hair:'''||{{{hair}}}
|-
|'''Eyes:'''||{{{eyes}}}
|-
|'''Skin:'''||{{{skin}}}
|-
|colspan=2 style="text-align:center;background:#837f7e;color:#fff;"|'''Relationships'''
|-
|'''Affiliation:'''||{{{affiliation}}}
|-
|'''Family:'''||{{{family}}}
|-
|'''Partners:'''||{{{partners}}}
|}


The below code should be copied and placed under Edit Source. To use the visual editor, navigate to templates.


<nowiki>
{{#if: {{{image|}}}|
{{Infobox PCs
<tr>
|headerhex=
<td class="infobox-image" colspan="2"> [[File:{{{image|}}}|300px|thumb|center]] </td>
|image=
</tr>
|fullname=
|}}
|othernames=
|player=
|pronouns=
|job=
|element=
|class=
|lilbuddy=
|bday=
|nationality=
|height=
|weight=
|hair=
|eyes=
|skin=
|affiliation=
|family=
|partners=
}}
</nowiki>


<tr>
<th class="infobox-title" colspan="2" style="text-align:center;background:{{{headerhex|#837f7e}}};color:#fff;"><b>Identity</b></th>
</tr>


{| class="wikitable" style="margin:auto"
{{#if: {{{othernames|}}}|
|+ Tag Explanations
<tr>
|-
<td class="infoboxtd1strow">Aliases:</td>
! Tag !! Info
<td>{{{othernames}}}</td>
|-
</tr>
| headerhex || To set the color of the background of the headers, please use a 6 digit #hexcode. Ensure it is dark as the text is defaulted to white.
|}}
|-
 
| image || An image filename should be placed here, for example "butts.jpg"
{{#if: {{{nicknames|}}}|
|-
<tr>
| fullname || The full legal name of the character.
<td class="infoboxtd1strow">Nicknames:</td>
|-
<td>{{{nicknames}}}</td>
| othernames || Nicknames, aliases, pet names, former names, as the player pleases
</tr>
|-
|}}
| player || The person playing the PC.
 
|-
{{#if: {{{pronouns|}}}|
| pronouns || The character's pronouns.
<tr>
|-
<td class="infoboxtd1strow">Pronouns:</td>
| job || The character's primary occupation before or during the adventure.
<td>{{{pronouns}}}</td>
|-
</tr>
| element || The character's elemental alignment.
|}}
|-
 
| class || The character's class in game.
{{#if: {{{player|}}}|
|-
<tr>
| lilbuddy || The character's animal companion. Leave blank if no animal companion.
<td class="infoboxtd1strow">Player:</td>
|-
<td>{{{player}}}</td>
| bday || When the character was born.
</tr>
|-
|}}
| nationality || The character's country of origin.
 
|-
<tr>
| height || Character height.
<th class="infobox-title" colspan="2" style="text-align:center;background:{{{headerhex|#837f7e}}};color:#fff;"><b>Notables</b></th>
|-
</tr>
| weight || Character weight.
 
|-
{{#if: {{{job|}}}|
| hair || Character hair color.
<tr>
|-
<td class="infoboxtd1strow">Occupation:</td>
| eyes || Character eye color.
<td>{{{job}}}</td>
|-
</tr>
| skin || Character skin tone.
|}}
|-
 
| affiliation || The factions the character aligns with, such as the Outside or Ascendance.
{{#if: {{{element|}}}|
|-
<tr>
| family || Character's family members. If there are many, please use the <nowiki><br></nowiki> tag between each name.
<td class="infoboxtd1strow">Element:</td>
|-
<td>{{{element}}}</td>
| partners || Character's sexual or romantic partners of note.
</tr>
|}
|}}
 
{{#if: {{{class|}}}|
<tr>
<td class="infoboxtd1strow">Class:</td>
<td>{{{class}}}</td>
</tr>
|}}
 
{{#if: {{{lilbuddy|}}}|
<tr>
<td class="infoboxtd1strow">Animal Friend:</td>
<td>{{{lilbuddy}}}</td>
</tr>
|}}
 
{{#if: {{{specialties|}}}|
<tr>
<td class="infoboxtd1strow">Specialties:</td>
<td>{{{specialties}}}</td>
</tr>
|}}
 
{{#if: {{{weapon|}}}|
<tr>
<td class="infoboxtd1strow">Weapon of Choice:</td>
<td>{{{weapon}}}</td>
</tr>
|}}
 
{{#if: {{{fight|}}}|
<tr>
<td class="infoboxtd1strow">Fighting Styles:</td>
<td>{{{fight}}}</td>
</tr>
|}}
 
<tr>
<th class="infobox-title" colspan="2" style="text-align:center;background:{{{headerhex|#837f7e}}};color:#fff;"><b>Personal Details</b></th>
</tr>
 
{{#if: {{{bday|}}}|
<tr>
<td class="infoboxtd1strow">Birthday:</td>
<td>{{{bday}}}</td>
</tr>
|}}
 
{{#if: {{{birthplace|}}}|
<tr>
<td class="infoboxtd1strow">Birthplace:</td>
<td>{{{birthplace}}}</td>
</tr>
|}}
 
{{#if: {{{nationality|}}}|
<tr>
<td class="infoboxtd1strow">Nationality:</td>
<td>{{{nationality}}}</td>
</tr>
|}}
 
{{#if: {{{residence|}}}|
<tr>
<td class="infoboxtd1strow">Residence:</td>
<td>{{{residence}}}</td>
</tr>
|}}
 
{{#if: {{{height|}}}|
<tr>
<td class="infoboxtd1strow">Height:</td>
<td>{{{height}}}</td>
</tr>
|}}
 
{{#if: {{{weight|}}}|
<tr>
<td class="infoboxtd1strow">Weight:</td>
<td>{{{weight}}}</td>
</tr>
|}}
 
{{#if: {{{eyes|}}}|
<tr>
<td class="infoboxtd1strow">Eyes:</td>
<td>{{{eyes}}}</td>
</tr>
|}}
 
{{#if: {{{skin|}}}|
<tr>
<td class="infoboxtd1strow">Skin:</td>
<td>{{{skin}}}</td>
</tr>
|}}
 
<tr>
<th class="infobox-title" colspan="2" style="text-align:center;background:{{{headerhex|#837f7e}}};color:#fff;"><b>Relationships</b></th>
</tr>
 
{{#if: {{{affiliation|}}}|
<tr>
<td class="infoboxtd1strow">Affiliation:</td>
<td>{{{affiliation}}}</td>
</tr>
|}}
 
{{#if: {{{family|}}}|
<tr>
<td class="infoboxtd1strow">Family:</td>
<td>{{{family}}}</td>
</tr>
|}}
 
{{#if: {{{partners|}}}|
<tr>
<td class="infoboxtd1strow">Partners:</td>
<td>{{{partners}}}</td>
</tr>
|}}
 
</table>

Latest revision as of 20:57, 14 July 2024

Infobox PCs
Identity
Notables
Personal Details
Relationships