Template:PC Bio

From Gwn

(Difference between revisions)
Line 1: Line 1:
-
<includeonly>
+
{| class="infobox" cellspacing="5" style="width:20em; font-size:90%;"
-
{| class="infobox" style="width: 21em; font-size: 95%;"
+
! colspan="2" style="text-align: center; background-color: #FFF0F5;" | <big>{{{name|{{PAGENAME}}}}}</big>
-
|-
+
{{#if:{{{photo|}}}|<tr><td colspan="2" style="padding-bottom:1em; text-align:center;">{{{photo|}}}{{#if:{{{caption|}}}|<div>{{{caption|}}}</div>}}</td></tr>}}{{#if:
-
! style="text-align: center; background: {{PC Bio|{{{Background|}}} }};" colspan="3" |<big>{{{Name}}}</big>
+
{{{aliases|}}}|<tr valign="top"><td>'''[[Aliases]]:'''</td><td>{{{birth}}}</td></tr>}}{{#if:
-
{{#if:{{{Img|}}}
+
{{{birthdate|}}}|<tr valign="top"><td>'''[[Birthdate|Birthdays]]:'''</td><td>{{{birth date}}}</td></tr>}}{{#if:
-
  |<tr style="text-align: center;"><td colspan="3">[[Image:{{{Img}}}|{{min|220|{{{Img_size|}}}}}px|{{{Img_capt|}}}]] <br /><div style="font-size: 90%; line-height: 15px;">{{{Img_capt|}}}</div></td></tr>
+
{{{birth Place|}}}|<tr valign="top"><td>'''Birth Place:'''</td><td>{{{birth place}}}</td></tr>}}{{#if:
-
}}
+
{{{Nationality|}}}|<tr valign="top"><td>'''[[Nationality:]]'''</td><td>{{{nationality}}}</td></tr>}}{{#if:
-
<!--
+
{{{death|}}}|<tr valign="top"><td>'''[[Death|Date of death]]:'''</td><td>{{{death}}}</td></tr>}}{{#if:
-
-->{{#if:{{{Aliases|}}}
+
{{{height|}}}|<tr valign="top"><td>'''Height:'''</td><td>{{{height}}}</td></tr>}}{{#if:
-
  |<tr><td>'''Aliases'''</td><td colspan="2">{{{Aliases}}}</td></tr>
+
{{{weight|}}}|<tr valign="top"><td>'''Weight:'''</td><td>{{{weight}}}</td></tr>}}{{#if:
-
}}<!--
+
{{{eye color|}}}|<tr valign="top"><td>'''Eye color:'''</td><td>{{{eye color}}}</td></tr>}}{{#if:
-
-->{{#if:{{{Born|}}}
+
{{{hair color|}}}|<tr valign="top"><td>'''Hair color:'''</td><td>{{{hair color}}}</td></tr>}}{{#if:
-
  |<tr><td>'''Born'''</td><td colspan="2">{{{Born}}}</td></tr>
+
{{{Blood Type|}}}|<tr valign="top"><td>'''[[Blood Type:]]'''</td><td>{{{blood type}}}</td></tr>}}{{#if:
-
}}<!--
+
{{{relatives|}}}|<tr valign="top"><td>'''Relatives:'''</td><td>{{{relatives}}}</td></tr>}}{{#if:
-
-->{{#if:{{{Birth Place|}}}
+
-
  |<tr><td>'''[[Birth&nbsp;Place|Birth Place&#xFEFF;(s)]]'''</td><td colspan="2">{{{Birth Place}}}</td></tr>
+
-
}}<!--
+
-
-->{{#if:{{{Nationality|}}}
+
-
  |<tr><td>'''Nationality'''</td><td colspan="2">{{{Nationality}}}</td></tr>
+
-
}}<!--
+
-
-->{{#if:{{{Died|}}}
+
-
  |<tr><td>'''Died'''</td><td colspan="2">{{{Died}}}</td></tr>
+
-
}}<!--
+
-
-->{{#if:{{{Height|}}}
+
-
  |<tr><td>'''[[Height|Height]]'''</td><td colspan="2">{{{Height}}}</td></tr>
+
-
}}<!--
+
-
-->{{#if:{{{Weight|}}}
+
-
  |<tr><td>'''[[Weight|Weight]]'''</td><td colspan="2">{{{Weight}}}</td></tr>
+
-
}}<!--
+
-
-->{{#if:{{{Eye Color|}}}
+
-
  |<tr><td>'''[[Eye&nbsp;Color|Eye Color]]'''</td><td colspan="2">{{{Eye Color}}}</td></tr>
+
-
}}<!--
+
-
-->{{#if:{{{Hair Color|}}}
+
-
  |<tr><td>'''[[Hair&nbsp;Color|Hair Color]]'''</td><td colspan="2">{{{Eye Color}}}</td></tr>
+
-
}}<!--
+
-
-->{{#if:{{{Blood Type|}}}
+
-
  |<tr><td>'''[[Blood&nbsp;Type|Blood Type]]'''</td><td colspan="2">{{{Blood Type}}}</td></tr>
+
-
}}<!--
+
-
-->{{#if:{{{Relatives|}}}
+
-
  |<tr><td>'''[[Relatives|Relatives]]'''</td><td colspan="2">{{{Relatives}}}</td></tr>
+
-
}}<!--
+
-
 
+
-
|}</includeonly><noinclude>
+
-
 
+
-
{| class="wikitable" style="float:right"
+
-
|+ Samples
+
-
| See a sample template at the [[#Sample template|bottom of this page]].
+
-
* Examples of template in action:
+
-
*: [[Tom Epsilon]]
+
-
*: [[Kari Shiro]]
+
-
*: [[Neo Lee]
+
-
|}
+
-
==Usage==
+
|}<noinclude>
-
* '''Placement:'''
+
{| style="float: left; background: transparent;"
-
::This template should be placed in an article at the '''top''' of the page, before the introduction.
+
|<pre>
-
* '''Code:'''
+
-
<pre>
+
{{PC Bio
{{PC Bio
| Name                =  
| Name                =  
-
| Img                =  
+
| Photo              =  
-
| Img_capt            =  
+
| Caption            =  
-
| Img_size            = (Only use for images smaller than 220 pixels)
+
| Aliases            =  
| Aliases            =  
 +
| Birth_Date          =
| Birth_Place        =  
| Birth_Place        =  
| Nationality        =  
| Nationality        =  
| Died                =  
| Died                =  
| Height              =  
| Height              =  
-
| Weight              =  
+
| Weight              =
| Eye_Color          =  
| Eye_Color          =  
| Hair_Color          =  
| Hair_Color          =  
Line 73: Line 33:
| Relatives          =  
| Relatives          =  
}}
}}
-
</pre>
+
<br clear="all"/>  
-
 
+
[[Category:Templates|PC Bio]]
-
==Fields==
+
</noinclude></pre>
-
:''Any fields marked with unessecary information should be ignored.''
+
-
 
+
-
{| class="wikitable" cellpadding=2
+
-
! Field
+
-
! width=75px| Type
+
-
! Description
+
-
|-
+
-
| '''Name'''
+
-
|
+
-
| Name of the group or artist ("the act").
+
-
|-
+
-
| '''Img'''
+
-
|
+
-
| An image of the act, sufficiently clear for display at 200 pixels' width.
+
-
|-
+
-
| '''Img_capt'''
+
-
|
+
-
| Caption for the image above.
+
-
|-
+
-
| '''Background'''
+
-
|
+
-
| A name chosen according to the established guidelines below that specify the color of the template.
+
-
|-
+
-
 
+
-
==Sample template==
+
-
''The following template code produced the infobox to the right.''
+
-
 
+
-
{{PC Bio
+
-
|Name = Jugg Twitty
+
-
|Img =
+
-
|Img_capt =
+
-
|Aliases = My anus
+
-
 
+
-
}}
+
-
 
+
-
<pre>
+
-
{{Infobox musical artist
+
-
|Name = The Five Heartbeats
+
-
|Aliases = My Anus.
+
-
}}
+
-
</pre>
+
-
 
+
-
[[Category:music infobox templates|Main Characters]]
+
-
[[Category:WikiProject Musicians templates|{{PAGENAME}}]]
+
-
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
+
-
</noinclude>
+

Revision as of 02:38, 22 October 2006

PC Bio {{#if:|<tr><td colspan="2" style="padding-bottom:1em; text-align:center;">{{#if:|
}}</td></tr>}}{{#if:
<tr valign="top"><td>Aliases:</td><td>{{{birth}}}</td></tr>}}{{#if: <tr valign="top"><td>Birthdays:</td><td>{{{birth date}}}</td></tr>}}{{#if: <tr valign="top"><td>Birth Place:</td><td>{{{birth place}}}</td></tr>}}{{#if: <tr valign="top"><td>Nationality:</td><td>{{{nationality}}}</td></tr>}}{{#if: <tr valign="top"><td>Date of death:</td><td>{{{death}}}</td></tr>}}{{#if: <tr valign="top"><td>Height:</td><td>{{{height}}}</td></tr>}}{{#if: <tr valign="top"><td>Weight:</td><td>{{{weight}}}</td></tr>}}{{#if: <tr valign="top"><td>Eye color:</td><td>{{{eye color}}}</td></tr>}}{{#if: <tr valign="top"><td>Hair color:</td><td>{{{hair color}}}</td></tr>}}{{#if: <tr valign="top"><td>Blood Type:</td><td>{{{blood type}}}</td></tr>}}{{#if: <tr valign="top"><td>Relatives:</td><td>{{{relatives}}}</td></tr>}}{{#if:
{{PC Bio
| Name                = 
| Photo               = 
| Caption             = 
| Aliases             = 
| Birth_Date          = 
| Birth_Place         = 
| Nationality         = 
| Died                = 
| Height              = 
| Weight              =
| Eye_Color           = 
| Hair_Color          = 
| Blood_Type          = 
| Relatives           = 
}}
<br clear="all"/> 
[[Category:Templates|PC Bio]]
</noinclude>
Personal tools