Template:Infobox PCs: Difference between revisions

From World of Adaptation
No edit summary
No edit summary
Tag: Manual revert
 
(7 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:#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}}}
|-
|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>
|image=
<td class="infobox-image" colspan="2"> [[File:{{{image|}}}|300px|thumb|center]] </td>
|
  </tr>
}}
|}}
  </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>
| image || An image filename should be placed here, for example "butts.jpg"
|}}
|}
 
{{#if: {{{nicknames|}}}|
<tr>
<td class="infoboxtd1strow">Nicknames:</td>
<td>{{{nicknames}}}</td>
</tr>
|}}
 
{{#if: {{{pronouns|}}}|
<tr>
<td class="infoboxtd1strow">Pronouns:</td>
<td>{{{pronouns}}}</td>
</tr>
|}}
 
{{#if: {{{player|}}}|
<tr>
<td class="infoboxtd1strow">Player:</td>
<td>{{{player}}}</td>
</tr>
|}}
 
<tr>
<th class="infobox-title" colspan="2" style="text-align:center;background:{{{headerhex|#837f7e}}};color:#fff;"><b>Notables</b></th>
</tr>
 
{{#if: {{{job|}}}|
<tr>
<td class="infoboxtd1strow">Occupation:</td>
<td>{{{job}}}</td>
</tr>
|}}
 
{{#if: {{{element|}}}|
<tr>
<td class="infoboxtd1strow">Element:</td>
<td>{{{element}}}</td>
</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