Difference between revisions of "Template:Infobox Biography"

From Taijitu
Jump to: navigation, search
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infobox toccolours"
+
{| align=right cellpadding=4 cellspacing=0 width=300 class="infobox" style="margin: 0 0 1em 1em; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; font-size: 95%;"
|+ '''{{{title|{{PAGENAME}}}}}'''
+
!colspan=2 style="background-color:{{Color|{{{Name|}}}}}"|<big>{{{Full Name|{{{Name}}}}}}</big>
{{Qif|test={{{emblem<includeonly>|</includeonly>}}}|then={{!}} align="center" colspan="2" style="padding: 0.4em 0.8em 0.4em 0.8em; border:0 !important;" {{!}}
+
|-
  {{!}}- class="mergedrow"
+
| align="center" colspan="2"|
{{!}}colspan="2" class="maptable" align="center" style="padding:0.4em 0.8em 0.4em 0.8em;"{{!}}
+
{| border=0 cellpadding=2 cellspacing=0 style="background:#f9f9f9; text-align:center;"
{{{!}} width="100%" style="margin:0 auto; background:none; text-align:center;"
+
| width="130px"| [[image:{{{Avatar}}}|125px|Avatar of {{{Name}}}]]
{{!}}-
+
|}
{{!}} class="maptable" width="50%" style="vertical-align:middle; text-align:center;"{{!}} <span style="border:1px solid #bbbbbb;">{{{flag}}}</span>
+
|-
{{!}} class="maptable" width="50%" style="vertical-align:middle; text-align:center;"{{!}} {{{emblem}}}
+
| align=center colspan=2 | <small>''Motto: {{{Motto}}}''</small>
{{!}}-
+
|-
{{!}} class="maptable" style="text-align:center;" {{!}}<small>{{{flagcaption|[[Flag]]}}}</small>
+
!Member since
{{!}} class="maptable" style="text-align:center;" {{!}}<small>{{{emblemcaption|Emblem}}}</small>
+
| {{{Member since}}}
{{!}}}
+
|-
{{!}}-|else= {{!}} align="center" colspan="2" class="maptable" style="vertical-align: middle; width:130px; white-space:nowrap; text-align:center;" {{!}} {{{flag}}}
+
{{#if: {{{WA category|}}}|!WA category
  {{!}}-
+
{{!}} {{{WA category}}}|}}
  {{!}}align="center" colspan="2" style="vertical-align: middle; width:130px; white-space:nowrap; text-align:center;" class="maptable" {{!}} <span style="text-align:center;">{{{flagcaption|[[Flag]] of {{PAGENAME}}}}}</span> }}
+
|-
|-style="font-size:95%"
+
{{#if: {{{Political party|}}}|!Political party
| colspan="2" style="text-align:center; border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;" |
+
{{!}} {{{Political party}}}|}}
''[[Motto]]: {{{Motto}}}''
+
|-
 
+
{{#if: {{{Political positions|}}}|!Political positions
|-
+
{{!}} {{{Political positions}}}}}
! [[Name(s)]]
+
| {{{Name(s)}}}
+
 
|-
 
|-
! [[Position]]
+
{{#if: {{{Soapbox issue}}}|!Soapbox issue
| {{{Position}}}
+
{{!}} {{{Soapbox issue}}}}}
 
|-
 
|-
! Date Joined
+
{{#if: {{{Hobbies|}}}|!Hobbies
| {{{Date Joined}}}
+
{{!}} {{{Hobbies}}}}}
 
|-
 
|-
! NationState Type
+
{{#if: {{{Favorite movie|}}}|!Favorite movie
| {{{NationState Type}}}
+
{{!}} {{{Favorite movie}}}}}
 
|-
 
|-
! [[Political View]]
+
{{#if: {{{Favorite book|}}}|!Favorite book
| {{{Political View}}}
+
{{!}} {{{Favorite book}}}}}
|-
+
! [[Soapbox Issue]]
+
| {{{Soapbox Issue}}}&nbsp;
+
 
|-
 
|-
| colspan='2' style="text-align:center; border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.2em;" | {{{statsbox|<small>[http://www.nationstates.net/{{PAGENAMEE}} NS] [http://nseconomy.thirdgeek.com/nseconomy.php?nation={{PAGENAMEE}} NSEconomy] [http://www.sunsetrpg.com/economystatistics.php?nation={{PAGENAMEE}} Sunset] [http://www.nationstates.net/cgi-bin/nationdata.cgi/nation={{PAGENAMEE}} XML]</small>}}}
+
{{#if: {{{Favorite song|}}}|!Favorite song
 +
{{!}} {{{Favorite song}}}}}
 
|-
 
|-
 +
{{#if: {{{Specialty|}}}|!Specialty
 +
{{!}} {{{Specialty}}}}}
 
|}
 
|}
<includeonly>[[Category:Nations]]</includeonly>
 
  
 
<noinclude>==Usage==
 
<noinclude>==Usage==
 
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
 
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
 
{{Infobox_Biography
 
{{Infobox_Biography
|Name(s)=
+
|Color=
|Position=
+
|Name=
|Date Joined=
+
|Avatar=
|NationState Type=
+
|Motto=
|Political View=
+
|Member since=
|Soapbox Issue=
+
|WA category=
 +
|Political party=
 +
|Political positions=
 +
|Soapbox issue=
 +
|Hobbies=
 +
|Favorite movie=
 +
|Favorite book=
 +
|Favorite song=
 +
|Specialty=
 
}}</pre></div>
 
}}</pre></div>
  
  
 
</noinclude>
 
</noinclude>

Latest revision as of 17:03, 9 July 2010

{{{Name}}}
[[image:{{{Avatar}}}|125px|Avatar of {{{Name}}}]]
Motto: {{{Motto}}}
Member since {{{Member since}}}
Soapbox issue {{{Soapbox issue}}}

Usage

{{Infobox_Biography
|Color=
|Name=
|Avatar=
|Motto=
|Member since=
|WA category=
|Political party=
|Political positions=
|Soapbox issue=
|Hobbies=
|Favorite movie=
|Favorite book=
|Favorite song=
|Specialty=
}}