Template:ModdedCharProfile: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<!-- MAIN TEMPLATE CODE -->
<!-- MAIN TEMPLATE CODE --><includeonly>{| align="right" style="width: 22em; margin: 10px 1px 10px 10px; clear:both; background:#FFF;" cellpadding="0" cellspacing="0"
<includeonly>{| align="right" style="width: 22em; margin: 10px 1px 10px 10px; clear:both; background:#FFF;" cellpadding="0" cellspacing="0"
| align=center |
| align="center" |
{| style="border: 2px {{{border-color|#aaa}}} solid; width: 100%; font-size: 95%; text-align: left;"
! colspan=2 style="white-space: nowrap; background-color: {{{background-color|#8B7355}}}; color: {{{color|#FFFFFF}}}; font-size: larger; text-align: center;" | {{{name}}}
{| style="border: 2px {{{border-color|#aaa}}} solid; width: 100%; font-size: 95%; text-align: left;"
! colspan="2" style="white-space: nowrap; background-color: {{{background-color|#8B7355}}}; color: {{{color|#FFFFFF}}}; font-size: larger; text-align: center;" | {{{name}}}
|-
|-
{{#if: {{{image|}}} |
{{#if: {{{image|}}} |
{{!}} colspan=2 style="white-space: nowrap; text-align: center;" {{!}} {{{image|}}}
| colspan="2" style="white-space: nowrap; text-align: center;" | {{{image|}}}
{{!}}-
|}}
|-
}}
{{#if: {{{caption|}}} |
{{#if: {{{caption|}}} |
{{!}} colspan=2 style="white-space: nowrap; font-size: smaller; text-align: center;" {{!}} '''{{{caption|}}}'''
| colspan="2" style="white-space: nowrap; font-size: smaller; text-align: center;" | '''{{{caption|}}}'''
{{!}}-
|}}
|-
}}
{{#if: {{{race|}}} |
{{#if: {{{race|}}} |
! valign="top" {{!}} Race
{{!}} align="right" valign="top" {{!}} [[{{{race|}}}]]
! valign="top" | Race
| align="right" valign="top" | [[{{{race|}}}]]
{{!}}-
|}}
|-
}}
{{#if: {{{age|}}} |
! valign="top" {{!}} Age
{{#if: {{{age|}}} |
{{!}} align="right" valign="top" {{!}} {{{age|}}}
! valign="top" | Age
| align="right" valign="top" | {{{age|}}}
{{!}}-
|}}
|-
}}
{{#if: {{{culture|}}} |
{{#if: {{{culture|}}} |
! valign="top" {{!}} Culture
{{!}} align="right" valign="top" {{!}} [[{{{culture|}}}]]{{#if: {{{culture2|}}} |
! valign="top" | Culture
<br> [[{{{culture2|}}}]]
| align="right" valign="top" | [[{{{culture|}}}]]{{#if: {{{culture2|}}} |<br> [[{{{culture2|}}}]]}}
|-
}}
{{#if: {{{hometown|}}} |
! valign="top" | Hometown
| align="right" valign="top" | {{{hometown|}}}
|-
}}
{{#if: {{{class|}}} |
! valign="top" | Class
| align="right" valign="top" | {{{class|}}}
|-
}}
{{#if: {{{profession|}}} |
! valign="top" | Profession
| align="right" valign="top" | {{{profession|}}}
|-
}}
{{#if: {{{religion|}}} |
! valign="top" | Religion
| align="right" valign="top" | {{{religion|}}}
|-
}}
{{#if: {{{affiliations|}}} |
! valign="top" | Affiliation(s)
| align="right" valign="top" | {{{affiliations|}}}
|-
}}
{{#if: {{{word|}}} |
! valign="top" style="white-space: nowrap;" | In-a-Word
| align="right" valign="top" | {{{word|}}}
|-
}}
{{#if: {{{disposition|}}} |
! valign="top" | Disposition
| align="right" valign="top" | {{{disposition|}}}
|-
}}
{{#if: {{{demeanor|}}} |
! valign="top" | Demeanor
| align="right" valign="top" | {{{demeanor|}}}
|-
}}
{{#if: {{{ptrait|}}} |
! valign="top" style="white-space: nowrap;" | Primary Trait
| align="right" valign="top" | {{{ptrait|}}}
|-
}}
{{#if: {{{strait|}}} |
! valign="top" style="white-space: nowrap;" | Secondary Trait
| align="right" valign="top" | {{{strait|}}}
|-
}}
{{#if: {{{flaw|}}} |
! valign="top" | Flaw
| align="right" valign="top" | {{{flaw|}}}
|-
}}
{{#if: {{{strength|}}} |
! valign="top" style="white-space: nowrap;" | Greatest Strength
| align="right" valign="top" | {{{strength|}}}
|-
}}
{{#if: {{{weakness|}}} |
! valign="top" style="white-space: nowrap;" | Greatest Weakness
| align="right" valign="top" | {{{weakness|}}}
|-
}}
{{#if: {{{habits|}}} |
! valign="top" | Habits
| align="right" valign="top" | {{{habits|}}}
|-
}}
{{#if: {{{hobbies|}}} |
! valign="top" style="white-space: nowrap;" | Hobbies
| align="right" valign="top" | {{{hobbies|}}}
|-
}}
{{#if: {{{soft|}}} |
! valign="top" style="white-space: nowrap;" | Soft Spots
| align="right" valign="top" | {{{soft|}}}
|-
}}
{{#if: {{{likes|}}} |
! valign="top" | Likes
| align="right" valign="top" | {{{likes|}}}
|-
}}
{{#if: {{{dislikes|}}} |
! valign="top" | Dislikes
| align="right" valign="top" | {{{dislikes|}}}
|-
}}
{{#if: {{{fears|}}} |
! valign="top" | Fears
| align="right" valign="top" | {{{fears|}}}
|-
}}
{{#if: {{{loyalties|}}} |
! valign="top" | Loyalties
| align="right" valign="top" | {{{loyalties|}}}
|-
}}
{{#if: {{{friend|}}} |
! valign="top" | Best Friend
| align="right" valign="top" | {{{friend|}}}
|-
}}
{{#if: {{{friends|}}} |
! valign="top" | Friends
| align="right" valign="top" | {{{friends|}}}
|-
}}
{{#if: {{{spouse|}}} |
! valign="top" | Spouse
| align="right" valign="top" | {{{spouse|}}}
|-
}}
{{#if: {{{loved|}}} |
! valign="top" style="white-space: nowrap;" | Loved One
| align="right" valign="top" | {{{loved|}}}
|-
}}
{{#if: {{{children|}}} |
! style="white-space: nowrap;" | Children
| align="right" valign="top" | {{{children|}}}
|-
}}
}}
{{!}}-
|}}
{{#if: {{{hometown|}}} |
! valign="top" {{!}} Hometown
{{!}} align="right" valign="top" {{!}} {{{hometown|}}}
{{!}}-
|}}
{{#if: {{{class|}}} |
! valign="top" {{!}} Class
{{!}} align="right" valign="top" {{!}} {{{class|}}}
{{!}}-
|}}
{{#if: {{{profession|}}} |
! valign="top" {{!}} Profession
{{!}} align="right" valign="top" {{!}} {{{profession|}}}
{{!}}-
|}}
{{#if: {{{religion|}}} |
! valign="top" {{!}} Religion
{{!}} align="right" valign="top" {{!}} {{{religion|}}}
{{!}}-
|}}
{{#if: {{{affiliations|}}} |
! valign="top" {{!}} Affiliation(s)
{{!}} align="right" valign="top" {{!}} {{{affiliations|}}}
{{!}}-
|}}
{{#if: {{{word|}}} |
! valign="top" style="white-space: nowrap;" {{!}} In-a-Word
{{!}} align="right" valign="top" {{!}} {{{word|}}}
{{!}}-
|}}
{{#if: {{{disposition|}}} |
! valign="top" {{!}} Disposition
{{!}} align="right" valign="top" {{!}} {{{disposition|}}}
{{!}}-
|}}
{{#if: {{{demeanor|}}} |
! valign="top" {{!}} Demeanor
{{!}} align="right" valign="top" {{!}} {{{demeanor|}}}
{{!}}-
|}}
{{#if: {{{ptrait|}}} |
! valign="top" style="white-space: nowrap;" {{!}} Primary Trait
{{!}} align="right" valign="top" {{!}} {{{ptrait|}}}
{{!}}-
|}}
{{#if: {{{strait|}}} |
! valign="top" style="white-space: nowrap;" {{!}} Secondary Trait
{{!}} align="right" valign="top" {{!}} {{{strait|}}}
{{!}}-
|}}
{{#if: {{{flaw|}}} |
! valign="top" {{!}} Flaw
{{!}} align="right" valign="top" {{!}} {{{flaw|}}}
{{!}}-
|}}
{{#if: {{{strength|}}} |
! valign="top" style="white-space: nowrap;" {{!}} Greatest Strength
{{!}} align="right" valign="top" {{!}} {{{strength|}}}
{{!}}-
|}}
{{#if: {{{weakness|}}} |
! valign="top" style="white-space: nowrap;" {{!}} Greatest Weakness
{{!}} align="right" valign="top" {{!}} {{{weakness|}}}
{{!}}-
|}}
{{#if: {{{habits|}}} |
! valign="top" {{!}} Habits
{{!}} align="right" valign="top" {{!}} {{{habits|}}}
{{!}}-
|}}
{{#if: {{{hobbies|}}} |
! valign="top" style="white-space: nowrap;" {{!}} Hobbies
{{!}} align="right" valign="top" {{!}} {{{hobbies|}}}
{{!}}-
|}}
{{#if: {{{soft|}}} |
! valign="top" style="white-space: nowrap;" {{!}} Soft Spots
{{!}} align="right" valign="top" {{!}} {{{soft|}}}
{{!}}-
|}}
{{#if: {{{likes|}}} |
! valign="top" {{!}} Likes
{{!}} align="right" valign="top" {{!}} {{{likes|}}}
{{!}}-
|}}
{{#if: {{{dislikes|}}} |
! valign="top" {{!}} Dislikes
{{!}} align="right" valign="top" {{!}} {{{dislikes|}}}
{{!}}-
|}}
{{#if: {{{fears|}}} |
! valign="top" {{!}} Fears
{{!}} align="right" valign="top" {{!}} {{{fears|}}}
{{!}}-
|}}
{{#if: {{{loyalties|}}} |
! valign="top" {{!}} Loyalties
{{!}} align="right" valign="top" {{!}} {{{loyalties|}}}
{{!}}-
|}}
{{#if: {{{friend|}}} |
! valign="top" {{!}} Best Friend
{{!}} align="right" valign="top" {{!}} {{{friend|}}}
{{!}}-
|}}
{{#if: {{{friends|}}} |
! valign="top" {{!}} Friends
{{!}} align="right" valign="top" {{!}} {{{friends|}}}
{{!}}-
|}}
{{#if: {{{spouse|}}} |
! valign="top" {{!}} Spouse
{{!}} align="right" valign="top" {{!}} {{{spouse|}}}
{{!}}-
|}}
{{#if: {{{loved|}}} |
! valign="top" style="white-space: nowrap;" {{!}} Loved One
{{!}} align="right" valign="top" {{!}} {{{loved|}}}
{{!}}-
|}}
{{#if: {{{children|}}} |
! style="white-space: nowrap;" {{!}} Children
{{!}} align="right" valign="top" {{!}} {{{children|}}}
{{!}}-
|}}
|}
|}
|}{{#ifeq: {{lc:{{{categories}}}}} | no ||[[Category:Player Characters]]}}{{#if: {{{instance|}}} | [[Category:{{{instance}}} player characters]] }} {{#if: {{{town|}}} | [[Category:{{{town}}} player characters]] }} {{#if: {{{town2|}}} | [[Category:{{{town2}}} player characters]] }} {{#if: {{{race|}}} | [[Category:{{{race}}} player characters]] }} {{#if: {{{culture|}}} | [[Category:{{{culture|}}} player characters]] }} {{#if: {{{culture2|}}} | [[Category:{{{culture2|}}} player characters]] }}</includeonly>
|}{{#ifeq: {{lc:{{{categories|}}}}} | no ||[[Category:Player Characters]]}} {{#if: {{{instance|}}} | [[Category:{{{instance}}} player characters]] }} {{#if: {{{town|}}} | [[Category:{{{town}}} player characters]] }} {{#if: {{{town2|}}} | [[Category:{{{town2}}} player characters]] }} {{#if: {{{race|}}} | [[Category:{{{race}}} player characters]] }} {{#if: {{{culture|}}} | [[Category:{{{culture}}} player characters]] }} {{#if: {{{culture2|}}} | [[Category:{{{culture2}}} player characters]] }}</includeonly>

<noinclude>
==Usage==
<pre>
{{ModdedCharProfile
{{ModdedCharProfile
|name= NAME
|name= NAME
|image= <nowiki>[[File:filename|thumbnail|center]]</nowiki>
|image= [[File:filename|thumbnail|center]]
|caption= CAPTION
|caption= CAPTION
|race=
|race=
|age= UNKNOWN
|age= UNKNOWN
|culture=
|culture=
|hometown= HOMETOWN
|hometown= HOMETOWN
|class= CLASS
|class= CLASS
Line 190: Line 193:
|categories= no
|categories= no
}}
}}
</pre>

===Instructions===
===Instructions===
Please see [[Help:Character pages]] for instructions on page setup and use of this template.
Please see [[Help:Character pages]] for instructions on page setup and use of this template.

[[Category:Roleplay templates]]</noinclude>
[[Category:Roleplay templates]]
</noinclude>

Revision as of 14:29, 25 September 2025



Usage

{{ModdedCharProfile 
|name= NAME
|image= [[File:filename|thumbnail|center]]
|caption= CAPTION
|race=
|age= UNKNOWN
|culture=
|hometown= HOMETOWN
|class= CLASS
|profession= PROFESSION
|religion= RELIGION
|affiliations= AFFILIATION(S)
|word= IN-A-WORD
|disposition= DISPOSITION
|demeanor= DEMEANOR
|ptrait= PRIMARY TRAIT
|strait= SECONDARY TRAIT
|flaw= FLAW
|strength= STRENGTH
|weakness= WEAKNESS
|habits= HABITS
|hobbies= HOBBIES
|soft= SOFT SPOTS
|likes= LIKES
|dislikes= DISLIKES
|fears= FEARS
|loyalties= LOYALTIES
|friend= FRIEND
|friends= FRIENDS
|spouse= SPOUSE
|loved= LOVED ONE
|children= CHILDREN
|categories= no
}}

Instructions

Please see Help:Character pages for instructions on page setup and use of this template.