Jump to content

Template:Infobox Korean name: Difference between revisions

From Simple English Wikipedia, the free encyclopedia
Content deleted Content added
imported>Edene
seperate the template and its documentation
Desb42 (talk | changes)
m remove duplicate keys
 
(81 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{{#if:{{{hangul|}}}{{{hanja|}}}{{{title|}}}|<table class="infobox bordered" bgcolor="#f7f8ff" style="margin:0 0 1em 1em" width="{{{tablewidth|250}}}">
{{#if:{{{hangul|}}}{{{hanja|}}}{{{rr|}}}{{{mr|}}} | {{#ifeq:{{{child|}}} | yes | | {{Template:Infobox Chinese/Header
|title = {{#if: {{{title<includeonly>|</includeonly>}}} | {{{title}}} | {{#ifeq: {{{child|}}} | yes | | {{PAGENAMEBASE}} }} }}
{{#switch:{{{context|}}}
|headercolor = {{{headercolor|}}}
|n
|float = <!-- left|right|none (Default float position is right) -->
|north
|collapse = <!-- yes|no -->
|dprk
|pic = {{{img|{{{image<includeonly>|</includeonly>}}} }}}
|nk={{#if:{{{logoimage|}}}|<tr><th style="background:{{{color|#ccf}}}; border-bottom:1px solid; color:{{{fontcolor|}}}" width="{{#if:{{{tablewidth|}}}|{{#expr: {{{tablewidth}}}/2|125}}">{{{title|{{PAGENAME}}}}}</th><th style="border-top:1px solid" width="{{#if:{{{tablewidth|}}}|{{#expr: {{{tablewidth}}}/2|125}}">{{{logoimage}}}</th></tr>|<tr><th style="background: {{{color|#ccf}}}; border-bottom: 1px solid border-top:1px solid; color:{{{fontcolor|}}}" colspan="2" align="center" width="{{{tablewidth|250}}}"> {{{title|{{PAGENAME}} }}}</th>
|piccap = {{{caption<includeonly>|</includeonly>}}}
</tr>}} {{#if:{{{image|}}}
|picsize = {{{image_size<includeonly>|</includeonly>}}}
|<tr><td colspan="2" align="center" style="border-top: 1px solid">{{{image}}}</td></tr>
}} }}<!--
|{{#if:{{{img|}}}
|<tr><td colspan="2" align="center" style="border-top: 1px solid">[[Image:{{{img}}}{{!}}{{{width|200}}}px{{!}}{{{caption|{{{img}}} }}}]]<br/><small>{{{caption|}}}{{{image_caption|}}}</small></td></tr>}}
}}{{#if:{{{image|}}}{{{img|}}}
|<tr><td colspan="2" align="center" style="background:{{{color|#ccf}}}; border-top:1px solid; color:{{{fontcolor|}}}" >'''Korean name'''</td></tr>}}
<tr>
<td align="right" style="border-top: 1px solid"> [[Hangul|Chosŏn'gŭl]]:</td>
<td style="border-top: 1px solid;"> <div class="nounderlines">{{lang|ko|{{{hangul}}}}}</div> </td></tr>
{{#if:{{{hanja|}}}|{{#ifeq: {{{hanja}}}|!|[[Category:Wikipedia articles needing hanja]]|<tr><td align="right" style="border-top: 1px solid">[[Hanja|Hancha]]:</td><td style="border-top: 1px solid;"><div class="nounderlines">{{#ifeq:{{{hanja}}}|none|{{{hanja}}}|{{lang|ko|{{{hanja}}}}}}}</div></td></tr>}} }}
{{#if:{{{mr|}}}|<tr><td align="right" style="border-top: 1px solid">[[McCune-Reischauer]]:</td><td style="border-top: 1px solid;">{{{mr}}}</td></tr>|<includeonly>[[Category:Wikipedia articles needing romanized Korean|{{PAGENAME}}]]</includeonly>}}
{{#if:{{{rr|}}}|<tr><td align="right" style="border-top: 1px solid">[[Revised Romanization of Korean|Revised Romanization]]:</td><td style="border-top: 1px solid;">{{{rr}}}</td></tr>|<includeonly>[[Category:Wikipedia articles needing romanized Korean|{{PAGENAME}}]]</includeonly>}}
{{#if:{{{text|}}}|<tr> <td align="center" colspan="2" style = "border-top:1px solid;">{{{text}}}</td></tr>|}}
</table>
|s
|south
|rok
|sk
| #default = {{#if:{{{logoimage|}}}|<tr><th style="background:{{{color|#ccf}}}; border-bottom:1px solid; color:{{{fontcolor|}}}" width="{{#if:{{{tablewidth|}}}|{{#expr: {{{tablewidth}}}/2|125}}">{{{title|{{PAGENAME}}}}}</th><th style="border-top:1px solid" width="{{#if:{{{tablewidth|}}}|{{#expr: {{{tablewidth}}}/2|125}}">{{{logoimage}}}</th></tr>|<tr><th style="background: {{{color|#ccf}}}; border-bottom: 1px solid border-top:1px solid; color:{{{fontcolor|}}}" colspan="2" align="center" width="{{{tablewidth|250}}}"> {{{title|{{PAGENAME}} }}}</th></tr>}} {{#if:{{{image|}}}
|<tr><td colspan="2" align="center" style="border-top: 1px solid">{{{image}}}</td></tr>
|{{#if:{{{img|}}}|<tr><td colspan="2" align="center" style="border-top: 1px solid">[[Image:{{{img}}}{{!}}{{{width|200}}}px{{!}}{{{caption|{{{img}}} }}}]] <br/><small>{{{caption|}}}{{{image_caption|}}}</small></td></tr>}}
}}{{#if:{{{image|}}}{{{img|}}}
|<tr><td colspan="2" align="center" style="background:{{{color|#ccf}}}; border-top:1px solid; color:{{{fontcolor|}}}" >'''Korean name'''</td></tr>}}
<tr>
<td align="right" style="border-top: 1px solid"> [[Hangul]]:</td>
<td style="border-top: 1px solid;"> <div class="nounderlines">{{lang|ko|{{{hangul}}}}}</div> </td></tr>
{{#if:{{{hanja|}}}|{{#ifeq: {{{hanja}}}|!|[[Category:Wikipedia articles needing hanja]]|<tr><td align="right" style="border-top: 1px solid">[[Hanja]]:</td><td style="border-top: 1px solid;"><div class="nounderlines">{{#ifeq:{{{hanja}}}|none|{{{hanja}}}|{{lang|ko|{{{hanja}}}}}}}</div> </td></tr>}} }}
<tr>
{{#if:{{{rr|}}}|<td align="right" style="border-top: 1px solid"> [[Revised Romanization of Korean|Revised Romanization]]:</td>
<td style="border-top:1px solid;"> {{{rr}}}</td></tr>|<includeonly>[[Category:Wikipedia articles needing romanized Korean|{{PAGENAME}}]]</includeonly>}}
{{#if:{{{mr|}}}|<tr><td align="right" style="border-top: 1px solid">[[McCune-Reischauer]]:</td><td style="border-top: 1px solid;">{{{mr}}}</td></tr>|<includeonly>[[Category:Wikipedia articles needing romanized Korean|{{PAGENAME}}]]</includeonly>}}{{#if:{{{text|}}}|<tr> <td align="center" colspan="2" style = "border-top:1px solid;">{{{text}}}</td></tr>}}
</table>
}}|<includeonly>[[Category:Articles needing Korean script or text|{{PAGENAME}}]]</includeonly> }}<noinclude>


-->{{#if: {{{hangul|}}}{{{hanja<includeonly>|</includeonly>}}} | {{Infobox Chinese/Korean
{{{{FULLPAGENAME}}/doc}}
|korean_header = {{#if: {{{koreanname|}}}|{{{koreanname}}} | {{#ifeq: {{{child|}}} | yes | Korean name | {{#if: {{{img|{{{image|}}}}}} | Korean name }} }} }}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
|headercolor = {{{headercolor|}}}
</noinclude>
|hide = {{{hide|no}}}
|hangul = {{{hangul<includeonly>|</includeonly>}}}
|hanja = {{#if: {{{hanja|}}} | {{#ifeq: {{{hanja|}}} | ! | <noinclude>!</noinclude> | {{#switch: {{{hanja|}}} | na | none = | #default = {{{hanja}}} }} }} }}
|rr = {{{rr<includeonly>|</includeonly>}}}
|mr = {{{mr<includeonly>|</includeonly>}}}
|koreanipa = {{{koreanipa<includeonly>|</includeonly>}}}
|northkorea = {{#switch: {{{context|}}}|n|north|North|dprk|DPRK|nk=yes|old|Old=old|neutral|Neutral=neutral}}
|lk = {{{lk<includeonly>|</includeonly>}}}
}} }}<!--

-->{{#if: {{{hangulho|}}}{{{hanjaho<includeonly>|</includeonly>}}} | {{Infobox Chinese/Korean
|korean_header = [[art name|Pen name]]
|headercolor = {{{headercolor|}}}
|hide = {{{hide|no}}}
|hangul = {{#if: {{{hangulho|}}} | {{#ifeq: {{{hangulho|}}} | ! | <noinclude>!</noinclude> | {{#switch: {{{hangulho|}}} | na | none = | #default = {{{hangulho}}} }} }} }}
|hanja = {{{hanjaho<includeonly>|</includeonly>}}}
|rr = {{{rrho<includeonly>|</includeonly>}}}
|mr = {{{mrho<includeonly>|</includeonly>}}}
|koreanipa = {{{koreanipaho<includeonly>|</includeonly>}}}
|northkorea = {{#switch: {{{context|}}}|n|north|North|dprk|DPRK|nk=yes|old|Old=old|neutral|Neutral=neutral}}
|lk = {{{lkho<includeonly>|</includeonly>}}}
}} }}<!--

-->{{#if: {{{hangulborn|}}}{{{hanjaborn<includeonly>|</includeonly>}}} | {{Infobox Chinese/Korean
|korean_header = Birth name
|headercolor = {{{headercolor|}}}
|hide = {{{hide|no}}}
|hangul = {{{hangulborn<includeonly>|</includeonly>}}}
|hanja = {{#if: {{{hanjaborn|}}} | {{#ifeq: {{{hanjaborn|}}} | ! | <noinclude>!</noinclude> | {{#switch: {{{hanjaborn|}}} | na | none = | #default = {{{hanjaborn}}} }} }} }}
|rr = {{{rrborn<includeonly>|</includeonly>}}}
|mr = {{{mrborn<includeonly>|</includeonly>}}}
|koreanipa = {{{koreanipaborn<includeonly>|</includeonly>}}}
|northkorea = {{#switch: {{{context|}}}|n|north|North|dprk|DPRK|nk=yes|old|Old=old|neutral|Neutral=neutral}}
|lk = {{{lkborn<includeonly>|</includeonly>}}}
}} }}<!--

-->{{#if: {{{hangula|}}}{{{hanjaa<includeonly>|</includeonly>}}} | {{Infobox Chinese/Korean
|korean_header = Childhood name
|headercolor = {{{headercolor|}}}
|hide = {{{hide|no}}}
|hangul = {{{hangula<includeonly>|</includeonly>}}}
|hanja = {{#if: {{{hanjaa|}}} | {{#ifeq: {{{hanjaa|}}} | ! | <noinclude>!</noinclude> | {{#switch: {{{hanjaa|}}} | na | none = | #default = {{{hanjaa}}} }} }} }}
|rr = {{{rra<includeonly>|</includeonly>}}}
|mr = {{{mra<includeonly>|</includeonly>}}}
|koreanipa = {{{koreanipaa<includeonly>|</includeonly>}}}
|northkorea = {{#switch: {{{context|}}}|n|north|North|dprk|DPRK|nk=yes|old|Old=old|neutral|Neutral=neutral}}
|lk = {{{lka<includeonly>|</includeonly>}}}
}} }}<!--

-->{{#if: {{{hangulja|}}}{{{hanjaja<includeonly>|</includeonly>}}} | {{Infobox Chinese/Korean
|korean_header = [[Courtesy name]]
|headercolor = {{{headercolor|}}}
|hide = {{{hide|no}}}
|hangul = {{{hangulja<includeonly>|</includeonly>}}}
|hanja = {{#if: {{{hanjaja|}}} | {{#ifeq: {{{hanjaja|}}} | ! | <noinclude>!</noinclude> | {{#switch: {{{hanjaja|}}} | na | none = | #default = {{{hanjaja}}} }} }} }}
|rr = {{{rrja<includeonly>|</includeonly>}}}
|mr = {{{mrja<includeonly>|</includeonly>}}}
|koreanipa = {{{koreanipaja<includeonly>|</includeonly>}}}
|northkorea = {{#switch: {{{context|}}}|n|north|North|dprk|DPRK|nk=yes|old|Old=old|neutral|Neutral=neutral}}
|lk = {{{lkja<includeonly>|</includeonly>}}}
}} }}<!--

-->{{#if: {{{hangulstage|}}}{{{hanjastage<includeonly>|</includeonly>}}} | {{Infobox Chinese/Korean
|korean_header = Stage name
|headercolor = {{{headercolor|}}}
|hide = {{{hide|no}}}
|hangul = {{{hangulstage<includeonly>|</includeonly>}}}
|hanja = {{#if: {{{hanjastage|}}} | {{#ifeq: {{{hanjastage|}}} | ! | <noinclude>!</noinclude> | {{#switch: {{{hanjastage|}}} | na | none = | #default = {{{hanjastage}}} }} }} }}
|rr = {{{rrstage<includeonly>|</includeonly>}}}
|mr = {{{mrstage<includeonly>|</includeonly>}}}
|koreanipa = {{{koreanipastage<includeonly>|</includeonly>}}}
|northkorea = {{#switch: {{{context|}}}|n|north|North|dprk|DPRK|nk=yes|old|Old=old|neutral|Neutral=neutral}}
|lk = {{{lkstage<includeonly>|</includeonly>}}}
}} }}<!--

-->{{#if: {{{hangulgye|}}}{{{hanjagye<includeonly>|</includeonly>}}} | {{Infobox Chinese/Korean
|korean_header = [[Dharma name]]
|headercolor = {{{headercolor|}}}
|hide = {{{hide|no}}}
|hangul = {{{hangulgye<includeonly>|</includeonly>}}}
|hanja = {{#if: {{{hanjagye|}}} | {{#ifeq: {{{hanjagye|}}} | ! | <noinclude>!</noinclude> | {{#switch: {{{hanjagye|}}} | na | none = | #default = {{{hanjagye}}} }} }} }}
|rr = {{{rrgye<includeonly>|</includeonly>}}}
|mr = {{{mrgye<includeonly>|</includeonly>}}}
|koreanipa = {{{koreanipagye<includeonly>|</includeonly>}}}
|northkorea = {{#switch: {{{context|}}}|n|north|North|dprk|DPRK|nk=yes|old|Old=old|neutral|Neutral=neutral}}
|lk = {{{lkgye<includeonly>|</includeonly>}}}
}} }}<!--

-->{{#if: {{{hangulph|}}}{{{hanjaph<includeonly>|</includeonly>}}} | {{Infobox Chinese/Korean
|korean_header = [[Posthumous name]]
|headercolor = {{{headercolor|}}}
|hide = {{{hide|no}}}
|hangul = {{{hangulph<includeonly>|</includeonly>}}}
|hanja = {{#if: {{{hanjaph|}}} | {{#ifeq: {{{hanjaph|}}} | ! | <noinclude>!</noinclude> | {{#switch: {{{hanjaph|}}} | na | none = | #default = {{{hanjaph}}} }} }} }}
|rr = {{{rrph<includeonly>|</includeonly>}}}
|mr = {{{mrph<includeonly>|</includeonly>}}}
|koreanipa = {{{koreanipaph<includeonly>|</includeonly>}}}
|northkorea = {{#switch: {{{context|}}}|n|north|North|dprk|DPRK|nk=yes|old|Old=old|neutral|Neutral=neutral}}
|lk = {{{lkph<includeonly>|</includeonly>}}}
}} }}<!--

-->{{#if: {{{hangul1|}}}{{{hanja1<includeonly>|</includeonly>}}} | {{Infobox Chinese/Korean
|korean_header = {{{othername1}}}
|headercolor = {{{headercolor|}}}
|hide = {{{hide|no}}}
|hangul = {{{hangul1<includeonly>|</includeonly>}}}
|hanja = {{#if: {{{hanja1|}}} | {{#ifeq: {{{hanja1|}}} | ! | <noinclude>!</noinclude> | {{#switch: {{{hanja1|}}} | na | none = | #default = {{{hanja1}}} }} }} }}
|rr = {{{rr1<includeonly>|</includeonly>}}}
|mr = {{{mr1<includeonly>|</includeonly>}}}
|koreanipa = {{{koreanipa1<includeonly>|</includeonly>}}}
|northkorea = {{#switch: {{{context|}}}|n|north|North|dprk|DPRK|nk=yes|old|Old=old|neutral|Neutral=neutral}}
|lk = {{{lk1<includeonly>|</includeonly>}}}
}} }}<!--

-->{{#if: {{{hangul2|}}}{{{hanja2<includeonly>|</includeonly>}}} | {{Infobox Chinese/Korean
|korean_header = {{{othername2}}}
|headercolor = {{{headercolor|}}}
|hide = {{{hide|no}}}
|hangul = {{{hangul2<includeonly>|</includeonly>}}}
|hanja = {{#if: {{{hanja2|}}} | {{#ifeq: {{{hanja2|}}} | ! | <noinclude>!</noinclude> | {{#switch: {{{hanja2|}}} | na | none = | #default = {{{hanja2}}} }} }} }}
|rr = {{{rr2<includeonly>|</includeonly>}}}
|mr = {{{mr2<includeonly>|</includeonly>}}}
|koreanipa = {{{koreanipa2<includeonly>|</includeonly>}}}
|northkorea = {{#switch: {{{context|}}}|n|north|North|dprk|DPRK|nk=yes|old|Old=old|neutral|Neutral=neutral}}
|lk = {{{lk2<includeonly>|</includeonly>}}}
}} }}<!--

-->{{#if: {{{hangul3|}}}{{{hanja3<includeonly>|</includeonly>}}} | {{Infobox Chinese/Korean
|korean_header = {{{othername3}}}
|headercolor = {{{headercolor|}}}
|hide = {{{hide|no}}}
|hangul = {{{hangul3<includeonly>|</includeonly>}}}
|hanja = {{#if: {{{hanja3|}}} | {{#ifeq: {{{hanja3|}}} | ! | <noinclude>!</noinclude> | {{#switch: {{{hanja3|}}} | na | none = | #default = {{{hanja3}}} }} }} }}
|rr = {{{rr3<includeonly>|</includeonly>}}}
|mr = {{{mr3<includeonly>|</includeonly>}}}
|koreanipa = {{{koreanipa3<includeonly>|</includeonly>}}}
|northkorea = {{#switch: {{{context|}}}|n|north|North|dprk|DPRK|nk=yes|old|Old=old|neutral|Neutral=neutral}}
|lk = {{{lk3<includeonly>|</includeonly>}}}
}} }}<!--

-->{{#ifeq:{{{child|}}} | yes | | {{Infobox Chinese/Footer|footnote = {{{text<includeonly>|</includeonly>}}} }} }}<includeonly>

{{Infobox Korean name/categories|hangul={{{hangul|}}}|hanja={{{hanja|}}}|rr={{{rr|}}}|mr={{{mr|}}} }}
{{Infobox Korean name/categories|hangul={{{hangulho|}}}|hanja={{{hanjaho|}}}|rr={{{rrho|}}}|mr={{{mrho|}}} }}
{{Infobox Korean name/categories|hangul={{{hangulborn|}}}|hanja={{{hanjaborn|}}}|rr={{{rrborn|}}}|mr={{{mrborn|}}} }}
{{Infobox Korean name/categories|hangul={{{hangula|}}}|hanja={{{hanjaa|}}}|rr={{{rra|}}}|mr={{{mra|}}} }}
{{Infobox Korean name/categories|hangul={{{hangulja|}}}|hanja={{{hanjaja|}}}|rr={{{rrja|}}}|mr={{{mrja|}}} }}
{{Infobox Korean name/categories|hangul={{{hangulstage|}}}|hanja={{{hanjastage|}}}|rr={{{rrstage|}}}|mr={{{mrstage|}}} }}
{{Infobox Korean name/categories|hangul={{{hangulgye|}}}|hanja={{{hanjagye|}}}|rr={{{rrgye|}}}|mr={{{mrgye|}}} }}
{{Infobox Korean name/categories|hangul={{{hangulph|}}}|hanja={{{hanjaph|}}}|rr={{{rrph|}}}|mr={{{mrph|}}} }}
{{Infobox Korean name/categories|hangul={{{hangul1|}}}|hanja={{{hanja1|}}}|rr={{{rr1|}}}|mr={{{mr1|}}} }}
{{Infobox Korean name/categories|hangul={{{hangul2|}}}|hanja={{{hanja2|}}}|rr={{{rr2|}}}|mr={{{mr2|}}} }}
{{Infobox Korean name/categories|hangul={{{hangul3|}}}|hanja={{{hanja3|}}}|rr={{{rr3|}}}|mr={{{mr3|}}} }}

</includeonly>|<includeonly>[[Category:Articles needing Korean script or text|{{PAGENAME}}]][[Category:Wikipedia articles needing romanized Korean|{{PAGENAME}}]]</includeonly>}}<includeonly>{{#if:{{{tablewidth|}}}|[[Category:Use of the tablewidth parameter in Infobox Korean name|{{PAGENAME}}]]}}{{#if:{{{logo|}}}|[[Category:Use of the logo parameter in Infobox Korean name|{{PAGENAME}}]]}}{{#if:{{{text|}}}|[[Category:Use of the text parameter in Infobox Korean name|{{PAGENAME}}]]}}{{#if:{{{fontcolor|}}}|[[Category:Use of the fontcolor parameter in Infobox Korean name|{{PAGENAME}}]]}}</includeonly><noinclude>{{documentation}}<!-- Please add metadata to the <includeonly> section at the bottom of the /doc subpage --></noinclude>

Latest revision as of 12:27, 5 July 2023