Difference between revisions of "Template:Infobox Character"

From Manaverse Wiki
Jump to: navigation, search
(Undo revision 3323 by Lord X-Giga-X (talk))
 
(9 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
|}
 
|}
 
|-
 
|-
| colspan="2" align="right" | <div style="z-index:-10"><div style="width: auto !important; margin-right:0; opacity:0.25; position:relative;">{{{Planet Icon|}}}</div>
+
| colspan="2" align="right" | <div style="z-index:-10"><div style="width:100%; position:relative; margin-right:0; opacity:0.25;">{{{Planet Icon|}}}</div>
<div style="margin-top:-{{#if: {{{Planet Icon|}}}|150px|20px}}; z-index:-10">
+
<div style="margin-top:-{{#if: {{{Planet Icon|}}}|150px|0px}}; z-index:-10">
 
{| colspan="2" align="center" width="99%" style="background:#999999; border:2px outset #888888; border-radius:0.25em;"
 
{| colspan="2" align="center" width="99%" style="background:#999999; border:2px outset #888888; border-radius:0.25em;"
 
|-
 
|-
| align="center" style="width:21%; background-color:#777777; border-radius:0.25em 0 0 0" |
+
| align="center" style="width:21%; background-color:#777777; border-radius:0.25em 0 0 0; z-index:0; position:relative;" |
 
'''Aliases'''
 
'''Aliases'''
| align="left" style="width:79%; z-index:0;" |
+
| align="left" style="width:79%; z-index:0; position:relative; " |
 
{{{Aliases}}}
 
{{{Aliases}}}
 
|-
 
|-
| align="center" style="width:21%; background-color:#777777" |
+
| align="center" style="width:21%; background-color:#777777; z-index:0; position:relative;" |
 
'''Age'''
 
'''Age'''
| align="left" style="width:79%; z-index:0;" |
+
| align="left" style="width:79%; z-index:0; position:relative" |
 
{{{Age}}}
 
{{{Age}}}
 
|-
 
|-
| align="center" style="width:21%; background-color:#777777" |
+
| align="center" style="width:21%; background-color:#777777; z-index:0; position:relative;" |
 
'''Gender'''
 
'''Gender'''
| align="left" style="width:79%;" |
+
| align="left" style="width:79%; position:relative;" |
 
{{{Gender}}}
 
{{{Gender}}}
 
|-
 
|-
| align="center" style="width:21%; background-color:#777777" |
+
| align="center" style="width:21%; background-color:#777777; z-index:0; position:relative;" |
 
'''Species'''
 
'''Species'''
| align="left" style="width:79%; z-index:0; position:absolute;" |
+
| align="left" style="width:79%; z-index:0; position:relative;" |
 
{{{Species}}}
 
{{{Species}}}
 
|-
 
|-
| align="center" style="width:21%; background-color:#777777; border-radius:0 0 0 0.25em" |
+
| align="center" style="width:21%; background-color:#777777; border-radius:0 0 0 0.25em; z-index:0; position:relative;" |
 
'''Homeworld'''
 
'''Homeworld'''
| align="left" style="width:79%; z-index:0; position:absolute;" |
+
| align="left" style="width:79%; z-index:0; position:relative;" |
 
{{{Planet}}}
 
{{{Planet}}}
 
|}
 
|}
Line 72: Line 72:
 
<noinclude>
 
<noinclude>
 
Basically, it'll be setup like this:
 
Basically, it'll be setup like this:
<pre>{{Infobox Character
+
<pre style="white-space: pre-wrap">{{Infobox Character
 
|Color=(Character color. Remove this parameter for default color.)
 
|Color=(Character color. Remove this parameter for default color.)
 
|Box title=(Character's name as indicated by the page title.)
 
|Box title=(Character's name as indicated by the page title.)

Latest revision as of 22:23, 25 September 2015

{{{Box title}}}

Aliases

{{{Aliases}}}

Age

{{{Age}}}

Gender

{{{Gender}}}

Species

{{{Species}}}

Homeworld

{{{Planet}}}

Domain

{{{Domain}}}

Soul Phantasms

{{{Powers}}}

Affiliations

{{{Allegiance}}}

Relatives

{{{Family}}}

Basically, it'll be setup like this:

{{Infobox Character
|Color=(Character color. Remove this parameter for default color.)
|Box title=(Character's name as indicated by the page title.)
|image=(Character image. Prefered size is 250px.)
|Caption=(Image caption. Remove this parameter if you're not filling it in. For whatever reason,
 leaving it empty results in a random apostrophe for some reason.)
|Aliases=(Character's Aliases.)
|Age=(Character's Age.)
|Gender=(Self explanatory.)
|Species=(Character's species.)
|Planet=(Character's homeworld.)
|Domain=(Character's Domain.)
|Powers=(Character's Soul Phantasms.)
|Allegiance=
|Family=}}

Example, this:

{{Infobox Character
|Color=#123456
|Box title=Bobbert
|image=
|Aliases=Bob
|Age=25?
|Gender=Male
|Species=Human
|Planet=6KT Land
|Allegiance=EH Men
|Domain=n/a
|Powers=n/a
|Family=Dead. They're all dead.}}

Produces this:

Bobbert

Aliases

Bob

Age

25?

Gender

Male

Species

Human

Homeworld

6KT Land

Domain

n/a

Soul Phantasms

n/a

Affiliations

EH Men

Relatives

Dead. They're all dead.

It also works if you set it up as a single line.