Difference between revisions of "Template:CharacterInfobox"

From BattleMaster Wiki
Jump to navigation Jump to search
m
(Greatly expanded template visual options)
Line 1: Line 1:
{| style="float: {{{orientation}}}; margin:0 0 1em 1em; font-size:90%; width: 10%; background-color: #ffffff; border: solid #aaaaaa 1px; margin-right: 1em;"
+
{| style="float: {{{orientation|right}}}; margin:0 0 1em 1em; font-family: {{{fontfamily}}}; font-size:90%; color:{{{basefontcolor|black}}}; width: {{{width|10%}}}; background-color: {{{basebackcolor|#ffffff}}}; border: solid {{{basebordcolor|#aaaaaa}}} 1px; margin-right: 1em;"
| colspan="2" bgcolor=#4863A0 style="text-align: center;" | <font color="white"> <font size=2>'''{{{name}}}'''
+
| colspan="2" bgcolor={{{titlebackcolor|#4863A0}}} style="text-align: center;" | <font color="{{{titlefontcolor|white}}}"> <font size=2>'''{{{name}}}'''
 
|-
 
|-
| colspan="2" style="text-align:center;" style="border-bottom: 1px solid #AAAAAA;"| [[Image:{{{image}}}|150px]]
+
| colspan="2" style="text-align:center;" style="border-bottom: 1px solid {{{imagebordcolor|#aaaaaa}}};"| [[File:{{{image}}}|{{{imagesize|150px}}}]]
 
|-
 
|-
 
| style="vertical-align: top; text-align: right;" | '''Status:'''
 
| style="vertical-align: top; text-align: right;" | '''Status:'''
Line 70: Line 70:
 
The infobox should be added using the Infobox character template, as shown below:
 
The infobox should be added using the Infobox character template, as shown below:
  
<div style="width:150px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
+
<div style="width:25%;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
 
{{CharacterInfobox
 
{{CharacterInfobox
 
|orientation=
 
|orientation=
 +
|width=
 +
|fontfamily=
 +
|basefontcolor=
 +
|basebackcolor=
 +
|titlebackcolor=
 +
|titlefontcolor=
 +
|imagebordcolor=
 +
|imagesize=
 
|name=
 
|name=
 
|image=
 
|image=

Revision as of 07:08, 2 December 2019

{{{name}}}
[[File:{{{image}}}|150px]]
Status: {{{status}}}
Continent: {{{continent}}}
Realm: {{{realm}}}
Titles Held: {{{titles}}}
Class: {{{class}}}
Honor: {{{honor}}}
Prestige: {{{prestige}}}
Age: {{{age}}}
Height: {{{height}}}
Weight: {{{weight}}}
Eyes: {{{eyes}}}
Hair: {{{hair}}}















The infobox should be added using the Infobox character template, as shown below:

{{CharacterInfobox
|orientation=
|width=
|fontfamily=
|basefontcolor=
|basebackcolor=
|titlebackcolor=
|titlefontcolor=
|imagebordcolor=
|imagesize=
|name=
|image=
|status=
|continent=
|realm=
|titles=
|class=
|honor=
|prestige=
|age=
|height=
|weight=
|eyes=
|hair=
}}