Difference between revisions of "Template:Infobox Biography"

From Taijitu
Jump to: navigation, search
 
(8 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"
+
{{!}}colspan="2" class="maptable" align="center" style="padding:0.4em 0.8em 0.4em 0.8em;"{{!}}
+
{{{!}} width="100%" style="margin:0 auto; background:none; text-align:center;"
+
{{!}}-
+
{{!}} 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}}}
+
{{!}}-
+
{{!}} class="maptable" style="text-align:center;" {{!}}<small>{{{flagcaption|[[Flag]]}}}</small>
+
{{!}} class="maptable" style="text-align:center;" {{!}}<small>{{{emblemcaption|Emblem}}}</small>
+
{{!}}}
+
{{!}}-|else= {{!}} align="center" colspan="2" class="maptable" style="vertical-align: middle; width:130px; white-space:nowrap; text-align:center;" {{!}} {{{flag}}}
+
  {{!}}-
+
  {{!}}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%"
+
| colspan="2" style="text-align:center; border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;" |
+
''[[Motto]]: {{{motto}}}''
+
|-style="font-size:95%;"
+
| colspan="2" style="text-align:center; border-top: solid 1px #ccd2d9; padding: 0.4em 0.2em 0.4em 0.8em;" | {{{map|}}}
+
|-
+
! [[Name(s)]]
+
| {{{names}}}
+
 
|-
 
|-
! [[Position]]
+
| align="center" colspan="2"|
| {{{Position}}}
+
{| border=0 cellpadding=2 cellspacing=0 style="background:#f9f9f9; text-align:center;"
 +
| width="130px"| [[image:{{{Avatar}}}|125px|Avatar of {{{Name}}}]]
 +
|}
 +
|-
 +
| align=center colspan=2 | <small>''Motto: {{{Motto}}}''</small>
 +
|-
 +
!Member since
 +
| {{{Member since}}}
 +
|-
 +
{{#if: {{{WA category|}}}|!WA category
 +
{{!}} {{{WA category}}}|}}
 +
|-
 +
{{#if: {{{Political party|}}}|!Political party
 +
{{!}} {{{Political party}}}|}}
 +
|-
 +
{{#if: {{{Political positions|}}}|!Political positions
 +
{{!}} {{{Political positions}}}}}
 +
|-
 +
{{#if: {{{Soapbox issue}}}|!Soapbox issue
 +
{{!}} {{{Soapbox issue}}}}}
 
|-
 
|-
! Date Joined
+
{{#if: {{{Hobbies|}}}|!Hobbies
| {{{date}}}
+
{{!}} {{{Hobbies}}}}}
 
|-
 
|-
! NationState Type
+
{{#if: {{{Favorite movie|}}}|!Favorite movie
| {{{UNstatetype}}}
+
{{!}} {{{Favorite movie}}}}}
 
|-
 
|-
! [[Political View]]
+
{{#if: {{{Favorite book|}}}|!Favorite book
| {{{political view}}}
+
{{!}} {{{Favorite book}}}}}
|-
+
! [[Soapbox Issue]]
+
| {{{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==
 +
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
 +
{{Infobox_Biography
 +
|Color=
 +
|Name=
 +
|Avatar=
 +
|Motto=
 +
|Member since=
 +
|WA category=
 +
|Political party=
 +
|Political positions=
 +
|Soapbox issue=
 +
|Hobbies=
 +
|Favorite movie=
 +
|Favorite book=
 +
|Favorite song=
 +
|Specialty=
 +
}}</pre></div>
 +
 
 +
 
 +
</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=
}}