Difference between revisions of "Template:Example"

From Korean Wiki Project
Jump to: navigation, search
(I'm creating this so we can easily change example styles and how they're set up. Feel free to change it, this is just an initial version)
 
(Just trying different things)
 
(13 intermediate revisions by one user not shown)
Line 1: Line 1:
<div style="float: left; border:solid #000000 1px; margin: 1px;" class="example">
+
{| class="wikitable"
{| cellspacing="0" style="width: 238px; background: #fff;"
+
|-
| style="width: 45px; height: 45px; background: #cccccc; text-align: center; font-size: {{{5|{{{id-s|14}}}}}}pt; color: {{{id-fc|black}}};" | '''{{{hangeul}}}{{#if:{{{pronunciation|}}}| [{{{pronunciation}}}]|}}{{#if:{{{hanja|}}}| <{{{hanja}}}>|}}'''
+
! <div style="font-size:1.6em">{{{hangeul}}} </div>{{#if:{{{pronunciation|}}}|&nbsp;[{{{pronunciation}}}]|}}
| style="font-size: {{{info-s|8}}}pt; padding: 4pt; line-height: 1.25em; color: {{{info-fc|black}}};" | {{#if:{{{definition|}}}|Means ''{{{definition}}}''<br>]|}} {{{audioplayer}}} {{#if:{{{videoplayer|}}}|<br>{{{videoplayer}}}|}} {{#if:{{{notes|}}}|<br>{{{notes}}}|}}
+
| {{#if:{{{hanja|}}}| <{{{hanja}}}><br>|}}{{#if:{{{definition|}}}|''{{{definition}}}''<br>|}} {{{audioplayer}}} {{#if:{{{videoplayer|}}}|<br>{{{videoplayer}}}|}} {{#if:{{{notes|}}}|<br>{{{notes}}}|}}
|}</div>
+
|}<noinclude>
 
+
<noinclude>{{clear}}
+
 
----
 
----
 
Variables
 
Variables

Latest revision as of 05:25, 9 August 2009

{{{hangeul}}}
{{{audioplayer}}}

Variables

  • Required
    • Hangeul (ex. 있다)
    • Audioplayer (ex. <flashmp3>filename.mp3|leftbg=003478|rightbg=c60c30|lefticon=ffffff|righticon=ffffff</flashmp3>
  • Optional
    • Pronunciation (ex. 읻따)
    • Hanja (ex. [[入]])
    • Definition (ex. To exist)
    • Videoplayer (ex. <videoflash>xD6uNM2rUSs</videoflash>)
  • Notes (ex. Uses [[ㅆ + ㄷ]])