Difference between revisions of "Template:Person"

From LGPedia
Jump to: navigation, search
(fixed first and last condidtional)
m (Protected "Template:Person": Excessive vandalism ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(118 intermediate revisions by 14 users not shown)
Line 1: Line 1:
<div style="width:220px;float:right;clear:right;margin:1em 0 1em 1em;border:1px solid {{ #if: {{{color|}}} | {{{color}}} | #909090}};background:#f5faff;-moz-border-radius:10px;padding:10px 10px 10px 10px;">
+
{| align="right" style="border:#aaa 1px solid;margin-left:2em;margin-bottom:2em;width: 21em; text-align: left; font-size: 90%;background-color: #fff; position: relative; top: 0px; left: 0px; z-index: 10;" cellspacing="2"
<div style="text-align:center;font-size:16px;font-weight:900;line-height:1.5em;"><font color=#535353>{{{name}}}</font>
+
! style="color: {{{tcolor|{{Person/tcolor|{{{series}}}}}}}}; background-color: {{{color|{{Person/color|{{{series}}}}}}}}; font-size:1.4em; line-height:1.3em;" align="center" colspan="2" | '''{{{name}}}'''
</div>
+
|-
<center>{{#if: {{{image|}}} | [[Image:{{{image}}}|200px]] |}}</center>
+
|align="center" colspan="2"|{{#if: {{{image|}}}|[[Image:{{{image}}}|200px]]|}}
<div style="clear:left;font-size:10px;text-align:center;">
+
{| width="100%" cellspacing="0" style="background:transparent;"
<div style="width:110px;float:left;">{{ #if: {{{unseen|}}} | First Mention | First Appearance}}</div>
+
|- align="center"
<div style="width:110px;float:left;clear:right;">{{ #if: {{{unseen|}}} | Last Mention | Last Appearance}}</div><br clear="all">
+
|{{#if:{{{unseen|}}}|First Mention|First Appearance}}
<div style="width:110px;float:left;clear:left;border-top:1px solid #535353;">
+
|{{#if:{{{unseen|}}}|Last Mention|Last Appearance}}
{{#if: {{{first|}}} |{{{first}}}|}}</div>
+
|- align="center"
<div style="width:110px;float:left;border-top:1px solid #535353;">{{#if: {{{last|}}} |{{{last}}}|}}</div>
+
|style="border-top:#535353 1px solid;"|{{{first}}}
</div><br clear="all"/>
+
|style="border-top:#535353 1px solid;"|{{{last}}}
</div><br clear="all"/>
+
|}
{{ #if: {{{blogs|}}} | <div style="clear:left;font-size:10px;text-align:center;border-top:2px solid {{ #if: {{{color|}}} | {{{color}}} | #909090}};">
+
|-
<div style="width:220px;float:center;text-align:center;">{{{blogs}}}</div></div> | {{ #if: {{{youtube|}}} | <div style="clear:left;font-size:10px;text-align:center;border-top:2px solid {{ #if: {{{color|}}} | {{{color}}} | #909090}};">
+
! style="color: {{{tcolor|{{Person/tcolor|{{{series}}}}}}}}; background-color: {{{color|{{Person/color|{{{series}}}}}}}}; line-height:1.5em;" align="center" colspan="2" {{!}} Character information
<div style="width:220px;float:center;text-align:center;">[[:Category:{{{name}}}'s blogs|List of {{{name}}}'s blogs]]</div>
+
|-
</div> |}} |}}
+
!style="width:8em"{{!}}Age
<div style="clear:left;font-size:10px;text-align:center;border-top:2px solid {{ #if: {{{color|}}} | {{{color}}} | #909090}};">
+
|{{#if:{{{age|}}}|{{{age}}}|Unknown}}{{#if:{{{birthday|}}} | <br>
<div style="width:65px;float:left;text-align:left;">Age</div>
+
{{+}}
<div style="width:155px;float:left;text-align:right;">{{ #if: {{{age|}}}|{{{age}}}|Unknown}}</div>
+
!style="width:8em"{{!}}Date of Birth
</div>
+
{{!}}[[Breeniverse Timeline|{{{birthday}}}]] |}}{{#if:{{{dateofdeath|}}} | <br>
{{ #if: {{{birthday|}}} | <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #535353;">
+
{{+}}
<div style="width:65px;float:left;text-align:left;">Birthday</div>
+
!style="width:8em"{{!}}Date of Death
<div style="width:155px;float:left;text-align:right;">[[Breeniverse Timeline|{{{birthday}}}]]</div>
+
{{!}}[[Breeniverse Timeline|{{{dateofdeath}}}]] |}}{{#if:{{{trait|}}} | <br>
</div> |}}{{ #if: {{{myspace|}}} | <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #535353;">
+
{{+}}
<div style="width:65px;float:left;text-align:left;">MySpace</div>
+
!style="width:8em"{{!}}Trait
<div style="width:155px;float:left;text-align:right;">{{myspace|{{{myspace}}}}}</div>
+
{{!}}{{ #ifexpr: {{ #ifeq: {{{trait}}} | + | 1 | 0 }} or {{ #ifeq: {{{trait}}} | - | 1 | 0 }} | <!--
</div>|}}{{ #if: {{{youtube|}}} | <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #535353;">
+
-->{{ #ifeq: {{{trait}}} | + | [[Trait positive|Positive]]<includeonly>[[Category:Trait positive humans]]</includeonly>}}<!--
<div style="width:65px;float:left;text-align:left;">YouTube</div>
+
-->{{ #ifeq: {{{trait}}} | - | [[Trait positive|Negative]]<includeonly>[[Category:Trait negative humans]]</includeonly>}}<!--
<div style="width:155px;float:left;text-align:right;">[http://www.youtube.com/{{{youtube}}} {{{youtube}}}]</div>
+
--> | [[Trait positive|{{{trait}}}]] |}}|}}{{#if:{{{placeoforigin|}}} | <br>
</div>|}}{{ #if: {{{revver|}}} | <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #535353;">
+
{{+}}
<div style="width:65px;float:left;text-align:left;">Revver</div>
+
!style="width:8em"{{!}}Place of Origin
<div style="width:155px;float:left;text-align:right;">[http://one.revver.com/account/show/{{{revver}}} {{{revver}}}]</div>
+
{{!}}{{{placeoforigin}}} |}}{{#if:{{{relationships|}}} | <br>
</div>|}}<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #535353;">
+
{{+}}
<div style="width:65px;float:left;text-align:left;">Portrayed by</div>
+
!style="width:8em"{{!}}Relationships
<div style="width:155px;float:left;text-align:right;">{{ #if: {{{actor|}}} | [[{{{actor}}}]] | Unknown}}</div>
+
{{!}}{{{relationships}}} |}}{{#if: {{{lg15|}}} | <br>
</div>
+
{{+}}
</div>
+
!style="width:8em"{{!}}[[LG15.com|LG15]]
<noinclude>
+
{{!}}{{lg15user|{{{lg15}}}}} |}}{{#if:{{{n1ckola|}}} | <br>
<br clear="all"/>
+
{{+}}
 +
!style="width:8em"{{!}}[[N1ckola.pl|N1ckola]]
 +
{{!}}[{{{n1ckola}}}]|}}{{#if:{{{myspace|}}} | <br>
 +
{{+}}
 +
!style="width:8em"{{!}}[[MySpace]]
 +
{{!}}{{myspace|{{{myspace}}}}} |}}{{#if:{{{blogspot|}}} | <br>
 +
{{+}}
 +
!style="width:8em"{{!}}Blogspot
 +
{{!}}[{{{blogspot}}}] |}}{{#if:{{{phone|}}} | <br>
 +
{{+}}
 +
!style="width:8em"{{!}}Phone
 +
{{!}}{{{phone}}} |}}{{#if:{{{email|}}} | <br>
 +
{{+}}
 +
!style="width:8em"{{!}}Email
 +
{{!}}{{email|{{{email}}}|Email {{{name}}}}} |}}{{#if:{{{forum-posts|}}} | <br>
 +
{{+}}
 +
!style="width:8em"{{!}}[[Forum|Forum Posts]]
 +
{{!}} {{forum-posts|{{{forum-posts}}}||{{#if:{{{target-forum|}}}|{{{target-forum}}}}} }} |}}{{#if:{{{whatweird|}}} | <br>
 +
{{+}}
 +
!style="width:8em"{{!}}[[Whatweird.com|WhatWeird]]
 +
{{!}}[{{{whatweird}}}] |}}{{#if:{{{youtube|}}} | <br>
 +
{{+}}
 +
!style="width:8em"{{!}}[[YouTube]]
 +
{{!}}{{youtube-user|{{{youtube}}}}} |}}{{#if:{{{revver|}}} | <br>
 +
{{+}}
 +
!style="width:8em"{{!}}[[Revver]]
 +
{{!}}{{revver-user|{{{revver}}}}} |}}{{#if:{{{facebook|}}} | <br>
 +
{{+}}
 +
!style="width:8em"{{!}}[[Facebook]]
 +
{{!}}{{facebook|{{{facebook}}}}} |}}{{#if:{{{bebo|}}} | <br>
 +
{{+}}
 +
!style="width:8em"{{!}}[[Bebo]]
 +
{{!}}{{bebo-acct|{{{bebo}}}}} |}}{{#if:{{{windowslive|}}} | <br>
 +
{{+}}
 +
!style="width:8em"{{!}}[[Windows Live]]
 +
{{!}}[{{{windowslive}}}]|}}{{#if:{{{twitter|}}} | <br>
 +
{{+}}
 +
!style="width:8em"{{!}}[[Twitter]]
 +
{{!}}{{twitter|{{{twitter}}}}} |}}{{#if:{{{snapvine|}}} | <br>
 +
{{+}}
 +
!style="width:8em"{{!}}[[Snapvine]]
 +
{{!}}{{snapvine|{{{snapvine}}}}} |}}{{#if:{{{gabcast|}}} | <br>
 +
{{+}}
 +
!style="width:8em"{{!}}[[Gabcast]]
 +
{{!}}{{gabcast|{{{gabcast}}}}} |}}
 +
|- valign="top"
 +
!style="width:8em"{{!}}Portrayed by
 +
{{!}} {{ #if: {{{actor|}}} | {{{actor}}} | Unknown}} {{ #ifexpr: {{ #if: {{{blogs|}}} | 1 | 0 }} or {{ #ifexist: Category:{{{name}}}'s blogs | 1 | 0 }} or {{ #ifexist: Category:Videos with {{PAGENAME}} | 1 | 0 }} | <br>
 +
{{+}}
 +
{{!}}colspan="2" align="center"{{!}}{{#if:{{{blogs|}}} | {{{blogs}}} | {{#if:{{{youtube|}}} | {{#ifexist: Category:{{{name}}}'s blogs | [[:Category:{{{name}}}'s blogs|List of {{{name}}}'s blogs]]}}|}}|}}<br>{{#if:{{{unseen|}}}||{{#ifexist: Category:Videos with {{PAGENAME}}|[[:Category:Videos with {{PAGENAME}}|Videos with {{{name}}}]]|}}}}|}}
 +
|}<noinclude>
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
 
{{Person
 
{{Person
| name     =
+
| name       =
| image     =
+
| image       =
| first     =
+
| first       =
| last     =
+
| last       =
| age       =
+
| age         =  
| birthday =
+
| birthday   =
| myspace   =
+
| dateofdeath =
| youtube   =
+
| placeoforigin =
| revver    =
+
| relationships =
| actor    =
+
| lg15        =
| color     =  
+
| n1ckola    =
| blogs     =
+
| myspace     =
 +
| blogspot    =
 +
| phone      =
 +
| email      =
 +
| forum-posts =
 +
| youtube     =
 +
| revver     =
 +
| facebook   =
 +
| bebo        =
 +
| imeem      =
 +
| windowslive =
 +
| snapvine    =
 +
| lg15nation  =
 +
| gabcast     =
 +
| actor      =
 +
| blogs       =
 +
| trait      = +, - (use only if character was trait positive at one point)
 +
| series      = LG15, KM, RES, LAST, or N1
 +
 
 +
<!--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      =  
 
}}
 
}}
 
</pre>
 
</pre>
 +
The colors that are available for use in this template can be seen at [http://en.wikipedia.org/wiki/Web_colors#X11_color_names 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 <code>age</code> as just the number (e.g. <code>age = 23</code>). If the birthday is known, use [[Template:Age]] instead, giving it as <code>age = <nowiki>{{Age|DATE}}</nowiki></code> (e.g. <code>age = <nowiki>{{age|19840401}}</nowiki></code>), so the current age will always be calculated automatically.
 +
 +
[[Category:Person templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 00:15, 5 June 2011

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

Usage

{{Person
| name        =
| image       =
| first       =
| last        =
| age         = 
| birthday    =
| dateofdeath =
| placeoforigin =
| relationships =
| lg15        =
| n1ckola     =
| myspace     =
| blogspot    =
| phone       =
| email       =
| forum-posts =
| youtube     =
| revver      =
| facebook    =
| bebo        =
| imeem       =
| windowslive =
| snapvine    =
| lg15nation  =
| gabcast     =
| actor       =
| blogs       =
| trait       = +, - (use only if character was trait positive at one point)
| series      = LG15, KM, RES, LAST, or N1

<!--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.