Difference between revisions of "Template:Hanjabox2"

From Korean Wiki Project
Jump to: navigation, search
(last thing is to make real pics optional)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__TOC__
 +
 
{| id="Announce" cellspacing="0" cellpadding="0" width=85% style="border:1px solid #fe9900; padding:0px; margin-left: auto; margin-right: auto;"
 
{| id="Announce" cellspacing="0" cellpadding="0" width=85% style="border:1px solid #fe9900; padding:0px; margin-left: auto; margin-right: auto;"
 
|-
 
|-
| colspan="2" style="background:{{Bundang}}; text-align:left; padding:2px; border-bottom:1px #fe9900 solid;text-align: center;" |
+
| colspan="2" style="background:{{Bundang}}; text-align:left; padding:1px; border-bottom:1px #fe9900 solid;text-align: center;" |
<h2 style="margin:.5em; margin-top:.1em; border-bottom:0; color:black; font-size: 188%; line-height:1.2em;">
+
<h2 style="border-bottom:0; color:black; font-size: 300%;">{{{char}}}</h2>
{{{char}}}
+
</h2> <!-- 3 line spacing of h2 is important for subsection edit links to work correctly, PLEASE DO NOT FIX -->
+
 
|-  
 
|-  
 
|style="padding:1.2em; background:#f5fc89; border-bottom:1px #fe9900 solid; border-right:1px #fe9900 solid;"|'''Meaning:''' {{{def}}}
 
|style="padding:1.2em; background:#f5fc89; border-bottom:1px #fe9900 solid; border-right:1px #fe9900 solid;"|'''Meaning:''' {{{def}}}
 
|style="padding:1.2em; background:#f5fc89; border-bottom:1px #fe9900 solid;"|'''Name of character:''' {{{kor name}}}
 
|style="padding:1.2em; background:#f5fc89; border-bottom:1px #fe9900 solid;"|'''Name of character:''' {{{kor name}}}
 
|-
 
|-
|colspan="2" style="padding:1.2em; background:#f5fc89; border-bottom:1px #fe9900 solid;"|'''Additional info:'''{{{info}}}
+
|colspan="2" style="padding:1.2em; background:#f5fc89; border-bottom:1px #fe9900 solid;"|'''Additional info:''' {{{info}}}<br>
 +
:For more information, check out {{{char}}} on [http://www.hanja.me/explore.html?q={{{char}}} Hanja Explorer] or in the [http://hanja.naver.com/hanja?q={{{char}}} naver dictionary].
 
|-
 
|-
 
|colspan="2" valign="top" style="padding:1.2em; background:#f5fc89; border-bottom:1px #fe9900 solid;" |
 
|colspan="2" valign="top" style="padding:1.2em; background:#f5fc89; border-bottom:1px #fe9900 solid;" |
Line 15: Line 16:
 
{{{examples}}}
 
{{{examples}}}
 
|-
 
|-
|colspan="2" style="padding:1.2em; background:#f5fc89; border-bottom:1px #fe9900 solid;text-align: center;"|{{{real pics}}}
+
|colspan="2" style="padding:1.2em; background:#f5fc89; text-align: center;font-size: 70%"|Click on the pictures to enlarge:<br>{{{real pics}}}
 
|}
 
|}
  
Line 25: Line 26:
 
<pre>
 
<pre>
 
{{Hanjabox2
 
{{Hanjabox2
|char =
+
|char =             <!--The hanja character-->
|def =
+
|def =             <!--Definition-->
|kor name =
+
|kor name =         <!--Name of the character in Korean-->
|info =  
+
|info =             <!--Additional info-->
|examples =
+
|examples =         <!--Examples, put on the next line after *-->
|real pics
+
*
 +
|real pics =        <!--make the image size 200px please-->
 
}}  
 
}}  
 
</pre>
 
</pre>
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 07:31, 10 November 2015

Contents

{{{char}}}

Meaning: {{{def}}} Name of character: {{{kor name}}}
Additional info: {{{info}}}
For more information, check out {{{char}}} on Hanja Explorer or in the naver dictionary.

[[Image:{{{char}}}.png|right|200px]] {{{examples}}}

Click on the pictures to enlarge:
{{{real pics}}}


  • For use on regular Hanja pages
  • Need color options in the future
  • Copy this code to use:
{{Hanjabox2
|char =             <!--The hanja character-->
|def =              <!--Definition-->
|kor name =         <!--Name of the character in Korean-->
|info =             <!--Additional info-->
|examples =         <!--Examples, put on the next line after *-->
*
|real pics =        <!--make the image size 200px please-->
}}