Difference between revisions of "Template:Character Infobox"

From Final Kingdom MUSH
Jump to: navigation, search
m
m
Line 29: Line 29:
 
</noinclude>
 
</noinclude>
 
<includeonly>{{#css:
 
<includeonly>{{#css:
   .CharacterBox {width: 300px; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; padding: 0.2em; float: right; clear: right; text-align:left; border-radius: 5px; border-spacing:1px;}
+
   .CharacterBox {width: 300px; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left; border-radius: 5px; border-spacing:1px;}
 
   .CharacterBox td,th { padding:0px 0px 0px 5px;}
 
   .CharacterBox td,th { padding:0px 0px 0px 5px;}
 
   .CharacterBox th:nth-child(1) { width:100px; }
 
   .CharacterBox th:nth-child(1) { width:100px; }
Line 35: Line 35:
 
   .CharacterBox tr:nth-child(2n+2) {background-color: rgba(0,70,70,.3)}
 
   .CharacterBox tr:nth-child(2n+2) {background-color: rgba(0,70,70,.3)}
 
   .CharacterBox tr:nth-last-child(1) td {border-radius:0px 0px 5px 5px;}
 
   .CharacterBox tr:nth-last-child(1) td {border-radius:0px 0px 5px 5px;}
 +
 +
  .Image tr {margin-left: 0em;}
 +
  .Image tr td {margin-left: 0em;}
 
}}{| class="CharacterBox"
 
}}{| class="CharacterBox"
 
! style="text-align: center; background-color:#ccccff; border-radius: 5px 5px 0px 0px;" colspan="2" width="100%" |{{#if:{{{firstname|}}}|'''{{{firstname}}} {{#if:{{{middlename|}}} |{{{middlename|}}}&nbsp;|}}{{{lastname|}}}'''|{{PAGENAME}} }}
 
! style="text-align: center; background-color:#ccccff; border-radius: 5px 5px 0px 0px;" colspan="2" width="100%" |{{#if:{{{firstname|}}}|'''{{{firstname}}} {{#if:{{{middlename|}}} |{{{middlename|}}}&nbsp;|}}{{{lastname|}}}'''|{{PAGENAME}} }}
 
|-
 
|-
 
{{#if:{{{image|}}}|
 
{{#if:{{{image|}}}|
{{!}} colspan="2" {{!}}<center>[[File:{{{image|}}}|{{{imageoptions|300px}}}]]</center>
+
{{!}} colspan="2" style="Image" {{!}}<center>[[File:{{{image|}}}|{{{imageoptions|300px}}}]]</center>
 
{{#if:{{{caption|}}}|<center>{{{caption}}}</center>|}}
 
{{#if:{{{caption|}}}|<center>{{{caption}}}</center>|}}
 
{{!}}-|}}| colspan="2" style="text-align:center;" bgcolor="9e9e9e" | '''Appearance'''
 
{{!}}-|}}| colspan="2" style="text-align:center;" bgcolor="9e9e9e" | '''Appearance'''

Revision as of 10:34, 26 September 2012

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

{{Character Infobox
|firstname=
|lastname=
|middlename=
|image=
|imageoptions=
|caption=
|age=
|species=
|sex=
|height=
|weight=
|series=
|styles=
|hometown=
|group=
|occupation=
|alignment=
|themesong=
|quote=
|footer=
}}

Edit the page to see the template text.