Difference between revisions of "Template:CharacterInfoBox"

From Tenebrae
Jump to navigation Jump to search
(Created page with "<noinclude> This is the "CharacterInfoBox" template. It should be called in the following format: <pre> {{CharacterInfoBox |gradientcolor=Example: #F76806 |backgroundcolor=Example: white |race=Your character's race |class=Your character's class |level=Your character's class level |classleveloverride=(Optional) Use this if you have a multiclass |gender=Your character's Gender |deity=Your character's deity |eyes=Your character's eyecolor |hair=Your character's hair style/c...")
 
m
 
(7 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
|race=Your character's race
 
|race=Your character's race
 
|class=Your character's class
 
|class=Your character's class
|level=Your character's class level
+
|level=(Optional) Your character's class level
 
|classleveloverride=(Optional) Use this if you have a multiclass
 
|classleveloverride=(Optional) Use this if you have a multiclass
 
|gender=Your character's Gender
 
|gender=Your character's Gender
 
|deity=Your character's deity
 
|deity=Your character's deity
  +
|alignment=Your character's alignment
 
|eyes=Your character's eyecolor
 
|eyes=Your character's eyecolor
 
|hair=Your character's hair style/color
 
|hair=Your character's hair style/color
 
|scales=Your character's scales, if they have any
 
|scales=Your character's scales, if they have any
  +
|scales=Your character's feathers, if they have any
 
|horns=Your character's horns, if they have any
 
|horns=Your character's horns, if they have any
  +
|companion=Your character's companion, if they have any
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| class="infobox" style="float:right; border:0px solid; margin: 5px; background-image: linear-gradient(to right, {{{gradientcolor:black}}}, transparent); background-origin: border-box; border-spacing: 2px; border: 2px solid transparent; "
+
</noinclude><includeonly>{| class="infobox" style="float:right; border:0px solid; margin: 5px; background-image: linear-gradient(to right, {{{gradientcolor|black}}}, transparent); background-origin: border-box; border-spacing: 2px; border: 2px solid transparent; "
 
|-
 
|-
! colspan="3" style="border-bottom:2px solid; background:{{{backgroundcolor|white}}};"| Character Details
+
! colspan="3" style="border-bottom:0px solid; background:{{{backgroundcolor|white}}};"| Character Details
 
|-
 
|-
 
| style="text-align:right; background:{{{backgroundcolor|white}}};" | '''Race:'''
 
| style="text-align:right; background:{{{backgroundcolor|white}}};" | '''Race:'''
| style="background:{{{backgroundcolor|white}}};" | [[Category:{{{race|Unknown}}}]]
+
| style="background:{{{backgroundcolor|white}}};" | [[{{{race|Unknown}}}]]
 
|-
 
|-
 
| style="text-align:right; background:{{{backgroundcolor|white}}};" | '''Class/Level:'''
 
| style="text-align:right; background:{{{backgroundcolor|white}}};" | '''Class/Level:'''
| style="background:{{{backgroundcolor|white}}};" | {{#if:{{{classleveloverride|}}}|{{{classleveloverride}}}|{{{class}}} {{{level}}}}}
+
| style="background:{{{backgroundcolor|white}}};" | {{#if:{{{classleveloverride|}}}|{{{classleveloverride}}}|{{{class}}} {{{level|}}}}}
 
|-
 
|-
 
| style="text-align:right; background:{{{backgroundcolor|white}}};" | '''Gender:'''
 
| style="text-align:right; background:{{{backgroundcolor|white}}};" | '''Gender:'''
Line 43: Line 46:
 
{{#if:{{{scales|}}}|{{!}} style="text-align:right; background:{{{backgroundcolor|white}}};" {{!}} '''Scales:'''
 
{{#if:{{{scales|}}}|{{!}} style="text-align:right; background:{{{backgroundcolor|white}}};" {{!}} '''Scales:'''
 
{{!}} style="background:{{{backgroundcolor|white}}};" {{!}} {{{scales|Unknown}}}
 
{{!}} style="background:{{{backgroundcolor|white}}};" {{!}} {{{scales|Unknown}}}
  +
{{!}}-}}
  +
{{#if:{{{feathers|}}}|{{!}} style="text-align:right; background:{{{backgroundcolor|white}}};" {{!}} '''Feathers:'''
  +
{{!}} style="background:{{{backgroundcolor|white}}};" {{!}} {{{feathers|Unknown}}}
 
{{!}}-}}
 
{{!}}-}}
 
{{#if:{{{horns|}}}|{{!}} style="text-align:right; background:{{{backgroundcolor|white}}};" {{!}} '''Horns:'''
 
{{#if:{{{horns|}}}|{{!}} style="text-align:right; background:{{{backgroundcolor|white}}};" {{!}} '''Horns:'''
Line 49: Line 55:
 
{{#if:{{{eyes|}}}|{{!}} style="text-align:right; background:{{{backgroundcolor|white}}};" {{!}} '''Eyes:'''
 
{{#if:{{{eyes|}}}|{{!}} style="text-align:right; background:{{{backgroundcolor|white}}};" {{!}} '''Eyes:'''
 
{{!}} style="background:{{{backgroundcolor|white}}};" {{!}} {{{eyes|Unknown}}}
 
{{!}} style="background:{{{backgroundcolor|white}}};" {{!}} {{{eyes|Unknown}}}
  +
{{!}}-}}
  +
{{#if:{{{companion|}}}|{{!}} style="text-align:right; background:{{{backgroundcolor|white}}};" {{!}} '''Companion:'''
  +
{{!}} style="background:{{{backgroundcolor|white}}};" {{!}} [[{{{companion|N/A}}}]]
 
{{!}}-}}
 
{{!}}-}}
 
|}
 
|}
[[Category:Characters]]</includeonly>
+
</includeonly>

Latest revision as of 23:29, 27 September 2023

This is the "CharacterInfoBox" template. It should be called in the following format:

{{CharacterInfoBox
|gradientcolor=Example: #F76806
|backgroundcolor=Example: white
|race=Your character's race
|class=Your character's class
|level=(Optional) Your character's class level
|classleveloverride=(Optional) Use this if you have a multiclass
|gender=Your character's Gender
|deity=Your character's deity
|alignment=Your character's alignment
|eyes=Your character's eyecolor
|hair=Your character's hair style/color
|scales=Your character's scales, if they have any
|scales=Your character's feathers, if they have any
|horns=Your character's horns, if they have any
|companion=Your character's companion, if they have any
}}

Edit the page to see the template text.