Difference between revisions of "Template:Person"

From LGPedia
Jump to: navigation, search
m
m (Redesigned. No more rounded edges. Boo hiss!)
Line 1: Line 1:
{| class="infobox" align="right" style="width:242px;border:{{{color|#909090}}} 1px solid;margin:1em 0 1em 1em;text-align: left; background:#f5faff; font-size:10px;-moz-border-radius:10px;padding:10px 10px 10px 10px;" cellspacing="0"  
+
{| class="infobox" align="right" style="border:#c0c0c0 1px solid;margin-left:2em;margin-bottom:2em;width: 21em; text-align: left; font-size: 90%;background-color: #fff;" cellspacing="2"
 +
! style="color: {{{tcolor|#{{#ifeq: {{lc:{{{series}}}}}|km|fff|000}}}}}; background-color: {{{color|{{#switch: {{lc:{{{series}}}}}
 +
|km=<nowiki>#</nowiki>4A2B66
 +
|lg15=lightsteelblue
 +
|#default=lightgray}}}}}; font-size:16px; font-weight:900;line-height:1.5em;" align="center" colspan="2" | '''{{{name}}}'''
 
|-
 
|-
|style="color: #535353; font-size:16px; font-weight:900;line-height:1.5em;" align="center" colspan="2" | '''{{{name}}}'''
+
|align="center" colspan="2"|{{#if: {{{image|}}}|[[Image:{{{image}}}|200px]]|}}
|-
+
|align="center" colspan="2"|
+
{{#if: {{{image|}}} | [[Image:{{{image}}}|200px| ]]|}}
+
 
{| width="100%" cellspacing="0" style="background:transparent;"
 
{| width="100%" cellspacing="0" style="background:transparent;"
 
|- align="center"
 
|- align="center"
Line 13: Line 14:
 
|style="border-top:#535353 1px solid;"|{{{last}}}
 
|style="border-top:#535353 1px solid;"|{{{last}}}
 
|}
 
|}
{{#if:{{{blogs|}}} |
 
{{+}}
 
{{!}}align="center" style="border-top:2px solid {{{color|#909090}}};" colspan="2"{{!}}
 
{{{blogs}}} | {{#if:{{{youtube|}}} | {{#ifexist: Category:{{{name}}}'s blogs |
 
{{+}}
 
{{!}}align="center" style="border-top:2px solid {{{color|#909090}}};" colspan="2"{{!}}
 
[[:Category:{{{name}}}'s blogs|List of {{{name}}}'s blogs]]}}|}}|}}
 
 
|-
 
|-
|style="border-top:2px solid {{{color|#909090}}};"|Age
+
! style="color: {{{tcolor|#{{#ifeq: {{lc:{{{series}}}}}|km|fff|000}}}}}; background-color: {{{color|{{#switch: {{lc:{{{series}}}}}
|align="right" style="border-top:2px solid {{{color|#909090}}};"|{{#if:{{{age|}}}|{{{age}}}|Unknown}}{{#if:{{{birthday|}}} | <br>
+
|km=<nowiki>#</nowiki>4A2B66
 +
|lg15=lightsteelblue
 +
|#default=lightgray}}}}}; line-height:1.5em;" align="center" colspan="2" {{!}} Character information
 +
|-
 +
!Age
 +
|{{#if:{{{age|}}}|{{{age}}}|Unknown}}{{#if:{{{birthday|}}} | <br>
 
{{+}}
 
{{+}}
{{!}}style="border-top:#535353 1px solid;"{{!}}Birthday
+
!Birthday
{{!}}align="right" style="border-top:#535353 1px solid;"{{!}}[[Breeniverse Timeline|{{{birthday}}}]] |}}{{#if:{{{myspace|}}} | <br>
+
{{!}}[[Breeniverse Timeline|{{{birthday}}}]] |}}{{#if:{{{myspace|}}} | <br>
 
{{+}}
 
{{+}}
{{!}}style="border-top:#535353 1px solid;"{{!}}[[MySpace]]
+
![[MySpace]]
{{!}}align="right" style="border-top:#535353 1px solid;"{{!}}{{myspace|{{{myspace}}}}} |}}{{#if:{{{email|}}} | <br>
+
{{!}}{{myspace|{{{myspace}}}}} |}}{{#if:{{{email|}}} | <br>
 
{{+}}
 
{{+}}
{{!}}style="border-top:#535353 1px solid;"{{!}}Email
+
!Email
{{!}}align="right" style="border-top:#535353 1px solid;"{{!}}{{email|{{{email}}}}} |}}{{#if:{{{forum-posts|}}} | <br>
+
{{!}}{{email|{{{email}}}}} |}}{{#if:{{{forum-posts|}}} | <br>
 
{{+}}
 
{{+}}
{{!}}style="border-top:#535353 1px solid;"{{!}}[[Forum|Forum Posts]]
+
![[Forum|Forum Posts]]
{{!}}align="right" style="border-top:#535353 1px solid;"{{!}}{{forum-posts|{{{forum-posts}}}||{{#if:{{{target-forum|}}}|{{{target-forum}}}}} }} |}}{{#if:{{{youtube|}}} | <br>
+
{{!}} {{forum-posts|{{{forum-posts}}}||{{#if:{{{target-forum|}}}|{{{target-forum}}}}} }} |}}{{#if:{{{youtube|}}} | <br>
 
{{+}}
 
{{+}}
{{!}}style="border-top:#535353 1px solid;"{{!}}[[YouTube]]
+
![[YouTube]]
{{!}}align="right" style="border-top:#535353 1px solid;"{{!}}{{youtube-user|{{{youtube}}}}} |}}{{#if:{{{revver|}}} | <br>
+
{{!}}{{youtube-user|{{{youtube}}}}} |}}{{#if:{{{revver|}}} | <br>
 
{{+}}
 
{{+}}
{{!}}style="border-top:#535353 1px solid;"{{!}}[[Revver]]
+
![[Revver]]
{{!}}align="right" style="border-top:#535353 1px solid;"{{!}}{{revver-user|{{{revver}}}}} |}}{{#if:{{{bebo|}}} | <br>
+
{{!}}{{revver-user|{{{revver}}}}} |}}{{#if:{{{bebo|}}} | <br>
 
{{+}}
 
{{+}}
{{!}}style="border-top:#535353 1px solid;"{{!}}[[Bebo]]
+
![[Bebo]]
{{!}}align="right" style="border-top:#535353 1px solid;"{{!}}{{bebo-acct|{{{bebo}}}}} |}}
+
{{!}}{{bebo-acct|{{{bebo}}}}} |}}
 
|-
 
|-
|style="border-top:#535353 1px solid;"|Portrayed by
+
!Portrayed by
|align="right" style="border-top:#535353 1px solid;"|{{ #if: {{{actor|}}} | {{{actor}}} | Unknown}}{{#if:{{{unseen|}}}||{{#ifexist: Category:Videos with {{PAGENAME}}| <br>
+
{{!}} {{ #if: {{{actor|}}} | {{{actor}}} | Unknown}}
 +
{{#if:{{{blogs|}}} |
 +
{{+}}
 +
{{!}}align="center" colspan="2"{{!}}
 +
{{{blogs}}} | {{#if:{{{youtube|}}} | {{#ifexist: Category:{{{name}}}'s blogs |
 +
{{+}}
 +
{{!}}align="center" colspan="2"{{!}}
 +
[[:Category:{{{name}}}'s blogs|List of {{{name}}}'s blogs]]}}|}}|}}{{#if:{{{unseen|}}}||{{#ifexist: Category:Videos with {{PAGENAME}}| <br>
 
{{+}}
 
{{+}}
{{!}}align="center" style="border-top:2px solid {{{color|#909090}}};" colspan="2"{{!}}[[:Category:Videos with {{PAGENAME}}|Videos with {{{name}}}]]|}}}}
+
{{!}}align="center" colspan="2"{{!}}
 +
[[:Category:Videos with {{PAGENAME}}|Videos with {{{name}}}]]|}}}}
 
|}
 
|}
 
<noinclude>==Usage==
 
<noinclude>==Usage==
Line 71: Line 78:
 
| unseen      = yes
 
| unseen      = yes
  
<!--Add this line ONLY if it will not be left blank-->
+
<!--Add these lines ONLY if it will not be left blank-->
 
| color      =  
 
| color      =  
 +
| tcolor      =
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 21:28, 16 May 2008

{{{name}}}
First Appearance Last Appearance
{{{first}}} {{{last}}}
Character information
Age Unknown
Portrayed by Unknown

Usage

{{Person
| name        =
| image       =
| first       =
| last        =
| age         = 
| birthday    =
| myspace     =
| email       =
| forum-posts =
| youtube     =
| revver      =
| bebo        =
| actor       =
| blogs       =

<!--If the character is unseen, add this line. Otherwise, omit it.-->
| unseen      = yes

<!--Add these lines ONLY if it will not be left blank-->
| color       = 
| tcolor      = 
}}

The colors that are available for use in this template can be seen at Web colors on Wikipedia.

Age

If no birthday is given, but the age is known (e.g. through a MySpace or bebo account), put in age as just the number (e.g. age = 23). If the birthday is known, use Template:Age instead, giving it as age = {{Age|DATE}} (e.g. age = {{age|19840401}}), so the current age will always be calculated automatically.