Difference between revisions of "Msmall92/test template"
From DramaWiki
< User:Msmall92| Line 3: | Line 3: | ||
to pass some country parameter and programm a conditional output depending on the country value. | to pass some country parameter and programm a conditional output depending on the country value. | ||
also you will need some more language specific "name" parameters which are used depending on the country value. | also you will need some more language specific "name" parameters which are used depending on the country value. | ||
| − | --> | + | --> |
| − | + | ||
| − | + | <div style="width:250px;float:right;clear:right;margin:1em 0 1em 1em;border:1px solid #000000;background:-moz-linear-gradient(center left , #000000 0%, #000000 40%, #000000 60%, #000000 100%) repeat scroll 0 0 transparent; background-color:#C0C0C0; -moz-box-shadow: 0px 7px 7px #000; -webkit-box-shadow: 0px 7px 7px #000; -moz-border-radius:15px; -webkit-border-radius:15px;padding:10px 10px 10px 10px;"> | |
| − | + | <div style="text-align:center;color:#000000;font-size:18px;text-shadow:0 2px 2px #000;font-weight:900;line-height:1.5em;">{{{name}}} | |
| − | + | <div class="{{#if:{{{image|}}}||hiddenStructure}}">[[File:{{{image}}}|190px|center]] | |
| − | + | <div style="clear:left;font-size:12px;text-align:center;">{{{caption|}}}</div></div> | |
| − | + | </div> | |
| − | + | <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #;"> | |
| − | + | <div style="width:80px;float:left;text-align:left;">Name</div> | |
| − | + | <div style="width:170px;float:left;text-align:right;">{{{name}}} {{{name_wiki_romanization}}} ({{{name_revised_romanization}}})</div> | |
| − | + | </div> | |
| − | + | <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #808080;"> | |
| − | + | <div style="width:80px;float:left;text-align:left;">Also known as</div> | |
| − | + | <div style="width:170px;float:left;text-align:right;">{{{also_known_as}}}</div> | |
| − | <noinclude> | + | </div> |
| + | <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #808080;"> | ||
| + | <div style="width:80px;float:left;text-align:left;">Nicknames</div> | ||
| + | <div style="width:170px;float:left;text-align:right;">{{{nicknames}}}</div> | ||
| + | </div> | ||
| + | <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #808080;"> | ||
| + | <div style="width:80px;float:left;text-align:left;">Profession</div> | ||
| + | <div style="width:170px;float:left;text-align:right;">{{{profession}}}</div> | ||
| + | </div> | ||
| + | <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #808080;"> | ||
| + | <div style="width:80px;float:left;text-align:left;">Birthdate</div> | ||
| + | <div style="width:170px;float:left;text-align:right;">{{{birth_date}}}</div> | ||
| + | </div> | ||
| + | <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #808080;"> | ||
| + | <div style="width:80px;float:left;text-align:left;">Birthplace</div> | ||
| + | <div style="width:170px;float:left;text-align:right;">{{{birth_place}}}</div> | ||
| + | </div> | ||
| + | <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #808080;"> | ||
| + | <div style="width:80px;float:left;text-align:left;">Height</div> | ||
| + | <div style="width:170px;float:left;text-align:right;">{{{height}}}</div> | ||
| + | </div> | ||
| + | <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #808080;"> | ||
| + | <div style="width:80px;float:left;text-align:left;">Weight</div> | ||
| + | <div style="width:170px;float:left;text-align:right;">{{{weight}}}</div> | ||
| + | </div> | ||
| + | <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #808080;"> | ||
| + | <div style="width:80px;float:left;text-align:left;">Star sign</div> | ||
| + | <div style="width:170px;float:left;text-align:right;">{{{star_sign}}}</div> | ||
| + | </div> | ||
| + | <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #808080;"> | ||
| + | <div style="width:80px;float:left;text-align:left;">Blood type</div> | ||
| + | <div style="width:170px;float:left;text-align:right;">{{{blood_type}}}</div> | ||
| + | </div> | ||
| + | <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #808080;"> | ||
| + | <div style="width:80px;float:left;text-align:left;">Family</div> | ||
| + | <div style="width:170px;float:left;text-align:right;">{{{family}}}</div> | ||
| + | </div> | ||
| + | <div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #808080;"> | ||
| + | <div style="width:80px;float:left;text-align:left;">Talent agency</div> | ||
| + | <div style="width:170px;float:left;text-align:right;">{{{talent_agency}}}</div> | ||
| + | </div> | ||
| + | </div><noinclude> | ||
| + | |||
==Template documentation== | ==Template documentation== | ||
(put some description here) | (put some description here) | ||
| Line 42: | Line 84: | ||
;Parameters | ;Parameters | ||
{| class="wikitable" | {| class="wikitable" | ||
| − | |||
| − | |||
|- | |- | ||
| ''name'' || <stage name in hangul> / <see note> (<revised romanization>) | | ''name'' || <stage name in hangul> / <see note> (<revised romanization>) | ||
| Line 74: | Line 114: | ||
|} | |} | ||
</noinclude> | </noinclude> | ||
| + | |||
| + | ''Credit goes to [http://lostpedia.wikia.com Lostpedia] for the design of this template.'' | ||
Revision as of 16:54, 4 December 2014
{{{name}}}
[[File:{{{image}}}|190px|center]]
Name
{{{name}}} {{{name_wiki_romanization}}} ({{{name_revised_romanization}}})
Also known as
{{{also_known_as}}}
Nicknames
{{{nicknames}}}
Profession
{{{profession}}}
Birthdate
{{{birth_date}}}
Birthplace
{{{birth_place}}}
Height
{{{height}}}
Weight
{{{weight}}}
Star sign
{{{star_sign}}}
Blood type
{{{blood_type}}}
Family
{{{family}}}
Talent agency
{{{talent_agency}}}
Template documentation
(put some description here)
- Usage
{{User:Msmall92/test template
| name =
| image =
| also_known_as =
| real_name =
| nicknames =
| profession =
| birth_date =
| birth_place =
| height =
| weight =
| star_sign =
| blood_type =
| family =
| talent_agency =
}}
- Parameters
| name | <stage name in hangul> / <see note> (<revised romanization>) |
| image | |
| also_known_as | |
| real_name | |
| nicknames | |
| profession | |
| birth_date | |
| birth_place | |
| height | |
| weight | |
| star_sign | |
| blood_type | |
| family | |
| talent_agency |
Credit goes to Lostpedia for the design of this template.
