Difference between revisions of "Template:Userbox"

From Korean Wiki Project
Jump to: navigation, search
m (Reverted edits by Galinaros (talk) to last revision by DigitalSoju)
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{{!}} class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"<!--
+
<onlyinclude>
Caption
+
{{Infobox
-->{{#if:{{{title|}}}|<nowiki/>
+
|title  = {{{name}}}
{{!}}+
+
|image  = {{{avatar}}}
{{!}}class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; {{{titlestyle|}}}"{{!}}{{{title}}} }}<!--
+
|headerstyle  = background:#003478; color:#ffffff;
Header
+
|labelstyle  = background:#c4d7f0;
-->{{#if:{{{above|}}}|<nowiki/>
+
|header1 = Basic Information
{{!}}-
+
|label1 = Gender
{{!}}colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: 125%; font-weight: bold; {{{abovestyle|}}}"{{!}}{{{above}}} }}<!--
+
|data1  = {{{gender}}}
  Subheader
+
|label2  = Age
-->{{#if:{{{subheader|}}}|<nowiki/>
+
|data2  = {{{age}}}
{{!}}-
+
|label3  = Blood type
{{!}}colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}"{{!}}{{{subheader}}} }}<!--
+
|data3  = {{{bloodtype}}}
  Image
+
|label4 = Hometown
-->{{#if:{{{image|}}}|<nowiki/>
+
|data4  = {{{hometown}}}
{{!}}-
+
|label5  = Current location
{{!}}colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"{{!}} {{{image}}} {{#if:{{{caption|}}}|<br />
+
|data5  = {{{location}}}
<span style="{{{captionstyle|}}}">{{{caption}}}</span> }} }}<!--
+
|label6  = Native languages
  Row 1
+
|data6  = {{{languages}}}
-->{{#if:{{{header1|}}}|<nowiki/>
+
|label7 = Occupation
{{!}}-
+
|data7  = {{{job}}}
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header1|}}} }}<!--
+
|header8 = Education
-->{{#if:{{{gender|}}}|<nowiki/>
+
|label8  = University
{{!}}-
+
|data8  = {{{university}}}
! style="{{{labelstyle|}}}"{{!}}Gender
+
|label9  = Major
{{!}} class="{{{class1|}}}" style="{{{datastyle|}}}"{{!}}{{{gender|}}} }}|  {{#if:{{{data1|}}}|<nowiki/>
+
|data9  = {{{major}}}
{{!}}-
+
|label10 = Korean Language School
{{!}}colspan="2" class="{{{class1|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data1|}}} }} }}<!--
+
|data10  = {{{korlangschool}}}
  Row 2
+
|label11 = Studying Korean since
-->{{#if:{{{header2|}}}|<nowiki/>
+
|data11  = {{{studysince}}}
{{!}}-
+
|header12 = Misc
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header2|}}} }}<!--
+
|label12  = Music
-->{{#if:{{{label2|}}}|{{#if:{{{data2|}}}|<nowiki/>
+
|data12  = {{{favmusic}}}
{{!}}-
+
|label13  = Movies/drama
! style="{{{labelstyle|}}}"{{!}}{{{label2|}}}
+
|data13  = {{{favmovies}}}
{{!}} class="{{{class2|}}}" style="{{{datastyle|}}}"{{!}}{{{data2|}}} }}|  {{#if:{{{data2|}}}|<nowiki/>
+
|label14  = Food
{{!}}-
+
|data14  = {{{favfood}}}
{{!}}colspan="2" class="{{{class2|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data2|}}} }} }}<!--
+
|label15 = Hobbies
  Row 3
+
|data15  = {{{hobbies}}}
-->{{#if:{{{header3|}}}|<nowiki/>
+
|header16 = Social
{{!}}-
+
|label16 = Homepage
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header3|}}} }}<!--
+
|data16  = {{#if:{{{homepageurl|}}}|[{{{homepageurl}}} {{#if:{{{homepagetitle|}}}|{{{homepagetitle}}}|Click here}}]|}}
-->{{#if:{{{label3|}}}|{{#if:{{{data3|}}}|<nowiki/>
+
|label17  = Blog
{{!}}-
+
|data17  = {{#if:{{{blogurl|}}}|[{{{blogurl}}} {{#if:{{{blogtitle|}}}|{{{blogtitle}}}|Click here}}]|}}
! style="{{{labelstyle|}}}"{{!}}{{{label3|}}}
+
|label18 = Twitter
{{!}} class="{{{class3|}}}" style="{{{datastyle|}}}"{{!}}{{{data3|}}} }}|  {{#if:{{{data3|}}}|<nowiki/>
+
|data18  = {{#if:{{{twitterurl|}}}|[{{{twitterurl}}} {{#if:{{{twittertitle|}}}|{{{twittertitle}}}|Click here}}]|}}
{{!}}-
+
|label19  = me2day
{{!}}colspan="2" class="{{{class3|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data3|}}} }} }}<!--
+
|data19  = {{#if:{{{me2dayurl|}}}|[{{{me2dayurl}}} {{#if:{{{me2daytitle|}}}|{{{me2daytitle}}}|Click here}}]|}}
  Row 4
+
|label20 = LinkedIn
-->{{#if:{{{header4|}}}|<nowiki/>
+
|data20  = {{#if:{{{linkedinurl|}}}|[{{{linkedinurl}}} {{#if:{{{linkedintitle|}}}|{{{linkedintitle}}}|Click here}}]|}}
{{!}}-
+
|label21  = YouTube
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header4|}}} }}<!--
+
|data21  = {{#if:{{{youtubeurl|}}}|[{{{youtubeurl}}} {{#if:{{{youtubetitle|}}}|{{{youtubetitle}}}|Click here}}]|}}
-->{{#if:{{{label4|}}}|{{#if:{{{data4|}}}|<nowiki/>
+
|label22 = MySpace
{{!}}-
+
|data22  = {{#if:{{{myspaceurl|}}}|[{{{myspaceurl}}} {{#if:{{{myspacetitle|}}}|{{{myspacetitle}}}|Click here}}]|}}
! style="{{{labelstyle|}}}"{{!}}{{{label4|}}}
+
|label23  = Facebook
{{!}} class="{{{class4|}}}" style="{{{datastyle|}}}"{{!}}{{{data4|}}} }}|  {{#if:{{{data4|}}}|<nowiki/>
+
|data23  = {{#if:{{{facebookurl|}}}|[{{{facebookurl}}} {{#if:{{{facebooktitle|}}}|{{{facebooktitle}}}|Click here}}]|}}
{{!}}-
+
|label24 = Cyworld
{{!}}colspan="2" class="{{{class4|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data4|}}} }} }}<!--
+
|data24  = {{#if:{{{cyworldurl|}}}|[{{{cyworldurl}}} {{#if:{{{cyworldtitle|}}}|{{{cyworldtitle}}}|Click here}}]|}}
  Row 5
+
|belowstyle = background:#c4d7f0;
-->{{#if:{{{header5|}}}|<nowiki/>
+
|below = {{{below}}}
{{!}}-
+
}}
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header5|}}} }}<!--
+
</onlyinclude>
-->{{#if:{{{label5|}}}|{{#if:{{{data5|}}}|<nowiki/>
+
<noinclude>Copy this onto the user's page after they register:<br>
{{!}}-
+
<pre>
! style="{{{labelstyle|}}}"{{!}}{{{label5|}}}
+
{{Userbox
{{!}} class="{{{class5|}}}" style="{{{datastyle|}}}"{{!}}{{{data5|}}} }}|  {{#if:{{{data5|}}}|<nowiki/>
+
<!--Any fields you don't want to fill out, just leave it blank and it won't appear-->
{{!}}-
+
|name    =      <!--Real name or user name-->
{{!}}colspan="2" class="{{{class5|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data5|}}} }} }}<!--
+
|avatar  =       <!--Optional picture, name the picture your username-->
  Row 6
+
|gender  =       <!--male or female-->
-->{{#if:{{{header6|}}}|<nowiki/>
+
|age    =      <!--(western) age-->
{{!}}-
+
|bloodtype  =   <!--Blood type if you know it-->
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header6|}}} }}<!--
+
|hometown  =    <!--The place you consider your hometown-->
-->{{#if:{{{label6|}}}|{{#if:{{{data6|}}}|<nowiki/>
+
|location  =   <!--Where you are currently-->
{{!}}-
+
|languages  =   <!--Languages you are fluent in-->
! style="{{{labelstyle|}}}"{{!}}{{{label6|}}}
+
|job    =      <!--Current job-->
{{!}} class="{{{class6|}}}" style="{{{datastyle|}}}"{{!}}{{{data6|}}} }}|  {{#if:{{{data6|}}}|<nowiki/>
+
|university =   <!--University you attended or are attending-->
{{!}}-
+
|major =        <!--Your major-->
{{!}}colspan="2" class="{{{class6|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data6|}}} }} }}<!--
+
|korlangschool=  <!--Attended a Korean language school? SNU, Yonsei, Sogang? Which levels?-->
  Row 7
+
|studysince =   <!--When did you begin studying Korean?-->
-->{{#if:{{{header7|}}}|<nowiki/>
+
|favmusic =      <!--Fav music, especially Korean music-->
{{!}}-
+
|favmovies =     <!--Fav movies or drama, especially Korean ones-->
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header7|}}} }}<!--
+
|favfood =      <!--Fav foods, especially Korean food-->
-->{{#if:{{{label7|}}}|{{#if:{{{data7|}}}|<nowiki/>
+
|hobbies =       <!--Hobbies-->
{{!}}-
+
|homepageurl =   <!--Home page URL-->
! style="{{{labelstyle|}}}"{{!}}{{{label7|}}}
+
|homepagetitle = <!--Home page title-->
{{!}} class="{{{class7|}}}" style="{{{datastyle|}}}"{{!}}{{{data7|}}} }}|  {{#if:{{{data7|}}}|<nowiki/>
+
|blogurl =       <!--Blog URL-->
{{!}}-
+
|blogtitle =     <!--Blog title-->
{{!}}colspan="2" class="{{{class7|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data7|}}} }} }}<!--
+
|twitterurl =   <!--Twitter URL-->
Row 8
+
|twittertitle =  <!--Twitter title-->
-->{{#if:{{{header8|}}}|<nowiki/>
+
|me2dayurl =     <!--me2day URL-->
{{!}}-
+
|me2daytitle =  <!--me2day title-->
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header8|}}} }}<!--
+
|linkedinurl =   <!--LinkedIn URL-->
-->{{#if:{{{label8|}}}|{{#if:{{{data8|}}}|<nowiki/>
+
|linkedintitle = <!--LinkedIn title-->
{{!}}-  
+
|youtubeurl =   <!--YouTube URL-->
! style="{{{labelstyle|}}}"{{!}}{{{label8|}}}
+
|youtubetitle = <!--YouTube title-->
{{!}} class="{{{class8|}}}" style="{{{datastyle|}}}"{{!}}{{{data8|}}} }}|  {{#if:{{{data8|}}}|<nowiki/>
+
|myspaceurl =   <!--MySpace URL-->
{{!}}-
+
|myspacetitle =  <!--MySpace title-->
{{!}}colspan="2" class="{{{class8|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data8|}}} }} }}<!--
+
|facebookurl =   <!--Facebook URL-->
Row 9
+
|facebooktitle = <!--Facebook title-->
-->{{#if:{{{header9|}}}|<nowiki/>
+
|cyworldurl =   <!--Cyworld URL-->
{{!}}-
+
|cyworldtitle = <!--Cyworld title-->
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header9|}}} }}<!--
+
|below =         <!--Optional message at the bottom-->
-->{{#if:{{{label9|}}}|{{#if:{{{data9|}}}|<nowiki/>
+
}}</pre>
{{!}}-  
+
 
! style="{{{labelstyle|}}}"{{!}}{{{label9|}}}
+
==Todo==
{{!}} class="{{{class9|}}}" style="{{{datastyle|}}}"{{!}}{{{data9|}}} }}|  {{#if:{{{data9|}}}|<nowiki/>
+
*Translate it into Korean for Korean users
{{!}}-
+
 
{{!}}colspan="2" class="{{{class9|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data9|}}} }} }}<!--
+
[[Category:Infobox templates]]</noinclude>
Row 10
+
-->{{#if:{{{header10|}}}|<nowiki/>
+
{{!}}-
+
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header10|}}} }}<!--
+
-->{{#if:{{{label10|}}}|{{#if:{{{data10|}}}|<nowiki/>
+
{{!}}-  
+
! style="{{{labelstyle|}}}"{{!}}{{{label10|}}}
+
{{!}} class="{{{class10|}}}" style="{{{datastyle|}}}"{{!}}{{{data10|}}} }}| {{#if:{{{data10|}}}|<nowiki/>
+
{{!}}-
+
{{!}}colspan="2" class="{{{class10|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data10|}}} }} }}<!--
+
Row 11
+
-->{{#if:{{{header11|}}}|<nowiki/>
+
{{!}}-
+
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header11|}}} }}<!--
+
-->{{#if:{{{label11|}}}|{{#if:{{{data11|}}}|<nowiki/>
+
{{!}}-  
+
! style="{{{labelstyle|}}}"{{!}}{{{label11|}}}
+
{{!}} class="{{{class11|}}}" style="{{{datastyle|}}}"{{!}}{{{data11|}}} }}|  {{#if:{{{data11|}}}|<nowiki/>
+
{{!}}-
+
{{!}}colspan="2" class="{{{class11|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data11|}}} }} }}<!--
+
Row 12
+
-->{{#if:{{{header12|}}}|<nowiki/>
+
{{!}}-
+
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header12|}}} }}<!--
+
-->{{#if:{{{label12|}}}|{{#if:{{{data12|}}}|<nowiki/>
+
{{!}}-
+
! style="{{{labelstyle|}}}"{{!}}{{{label12|}}}
+
{{!}} class="{{{class12|}}}" style="{{{datastyle|}}}"{{!}}{{{data12|}}} }}|  {{#if:{{{data12|}}}|<nowiki/>
+
{{!}}-
+
{{!}}colspan="2" class="{{{class12|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data12|}}} }} }}<!--
+
Row 13
+
-->{{#if:{{{header13|}}}|<nowiki/>
+
{{!}}-
+
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header13|}}} }}<!--
+
-->{{#if:{{{label13|}}}|{{#if:{{{data13|}}}|<nowiki/>
+
{{!}}-
+
! style="{{{labelstyle|}}}"{{!}}{{{label13|}}}
+
{{!}} class="{{{class13|}}}" style="{{{datastyle|}}}"{{!}}{{{data13|}}} }}| {{#if:{{{data13|}}}|<nowiki/>
+
{{!}}-
+
{{!}}colspan="2" class="{{{class13|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data13|}}} }} }}<!--
+
Row 14
+
-->{{#if:{{{header14|}}}|<nowiki/>
+
{{!}}-
+
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header14|}}} }}<!--
+
-->{{#if:{{{label14|}}}|{{#if:{{{data14|}}}|<nowiki/>
+
{{!}}-  
+
! style="{{{labelstyle|}}}"{{!}}{{{label14|}}}
+
{{!}} class="{{{class14|}}}" style="{{{datastyle|}}}"{{!}}{{{data14|}}} }}|  {{#if:{{{data14|}}}|<nowiki/>
+
{{!}}-
+
{{!}}colspan="2" class="{{{class14|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data14|}}} }} }}<!--
+
Row 15
+
-->{{#if:{{{header15|}}}|<nowiki/>
+
{{!}}-
+
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header15|}}} }}<!--
+
-->{{#if:{{{label15|}}}|{{#if:{{{data15|}}}|<nowiki/>
+
{{!}}-
+
! style="{{{labelstyle|}}}"{{!}}{{{label15|}}}
+
{{!}} class="{{{class15|}}}" style="{{{datastyle|}}}"{{!}}{{{data15|}}} }}| {{#if:{{{data15|}}}|<nowiki/>
+
{{!}}-
+
{{!}}colspan="2" class="{{{class15|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data15|}}} }} }}<!--
+
Row 16
+
-->{{#if:{{{header16|}}}|<nowiki/>
+
{{!}}-
+
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header16|}}} }}<!--
+
-->{{#if:{{{label16|}}}|{{#if:{{{data16|}}}|<nowiki/>
+
{{!}}-
+
! style="{{{labelstyle|}}}"{{!}}{{{label16|}}}
+
{{!}} class="{{{class16|}}}" style="{{{datastyle|}}}"{{!}}{{{data16|}}} }}|  {{#if:{{{data16|}}}|<nowiki/>
+
{{!}}-
+
{{!}}colspan="2" class="{{{class16|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data16|}}} }} }}<!--
+
Row 17
+
-->{{#if:{{{header17|}}}|<nowiki/>
+
{{!}}-
+
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header17|}}} }}<!--
+
-->{{#if:{{{label17|}}}|{{#if:{{{data17|}}}|<nowiki/>
+
{{!}}-
+
! style="{{{labelstyle|}}}"{{!}}{{{label17|}}}
+
{{!}} class="{{{class17|}}}" style="{{{datastyle|}}}"{{!}}{{{data17|}}} }}|  {{#if:{{{data17|}}}|<nowiki/>
+
{{!}}-
+
{{!}}colspan="2" class="{{{class17|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data17|}}} }} }}
+
{{!}}}
+

Latest revision as of 23:18, 27 June 2010

{{{name}}}
{{{avatar}}}
Basic Information
Gender {{{gender}}}
Age {{{age}}}
Blood type {{{bloodtype}}}
Hometown {{{hometown}}}
Current location {{{location}}}
Native languages {{{languages}}}
Occupation {{{job}}}
Education
University {{{university}}}
Major {{{major}}}
Korean Language School {{{korlangschool}}}
Studying Korean since {{{studysince}}}
Misc
Music {{{favmusic}}}
Movies/drama {{{favmovies}}}
Food {{{favfood}}}
Hobbies {{{hobbies}}}
Social
{{{below}}}

Copy this onto the user's page after they register:

{{Userbox
<!--Any fields you don't want to fill out, just leave it blank and it won't appear-->
|name    =       <!--Real name or user name-->
|avatar  =       <!--Optional picture, name the picture your username-->
|gender  =       <!--male or female-->
|age     =       <!--(western) age--> 
|bloodtype  =    <!--Blood type if you know it-->
|hometown   =    <!--The place you consider your hometown-->
|location   =    <!--Where you are currently-->
|languages  =    <!--Languages you are fluent in-->
|job     =       <!--Current job-->
|university =    <!--University you attended or are attending-->
|major =         <!--Your major-->
|korlangschool=  <!--Attended a Korean language school? SNU, Yonsei, Sogang? Which levels?-->
|studysince =    <!--When did you begin studying Korean?-->
|favmusic =      <!--Fav music, especially Korean music-->
|favmovies =     <!--Fav movies or drama, especially Korean ones-->
|favfood =       <!--Fav foods, especially Korean food-->
|hobbies =       <!--Hobbies-->
|homepageurl =   <!--Home page URL-->
|homepagetitle = <!--Home page title-->
|blogurl =       <!--Blog URL-->
|blogtitle =     <!--Blog title-->
|twitterurl =    <!--Twitter URL-->
|twittertitle =  <!--Twitter title-->
|me2dayurl =     <!--me2day URL-->
|me2daytitle =   <!--me2day title-->
|linkedinurl =   <!--LinkedIn URL-->
|linkedintitle = <!--LinkedIn title-->
|youtubeurl =    <!--YouTube URL-->
|youtubetitle =  <!--YouTube title-->
|myspaceurl =    <!--MySpace URL-->
|myspacetitle =  <!--MySpace title-->
|facebookurl =   <!--Facebook URL-->
|facebooktitle = <!--Facebook title-->
|cyworldurl =    <!--Cyworld URL-->
|cyworldtitle =  <!--Cyworld title-->
|below =         <!--Optional message at the bottom-->
}}

Todo

  • Translate it into Korean for Korean users