Difference between revisions of "Template:Infobox Korea/doc"

From blackwiki
Jump to navigation Jump to search
imported>John of Reading
m (Typo fixing, replaced: Exemple → Example, typo(s) fixed: stand alone → stand-alone)
imported>John of Reading
m (Typo fixing, replaced: it's sub-templates → its sub-templates)
 
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
This template and it's sub-templates provide a stand-alone implementation of a '''Korean language infobox''', using direct calls to {{tl|Infobox}}.
+
This template and its sub-templates provide a stand-alone implementation of a '''Korean language infobox''', using direct calls to {{tl|Infobox}}.
  
 
{{Template: Infobox Korea
 
{{Template: Infobox Korea

Latest revision as of 14:35, 17 October 2019

This template and its sub-templates provide a stand-alone implementation of a Korean language infobox, using direct calls to {{Infobox}}.

Instructions for use
Kim Hongdo-Mountain.jpg
산수화
Hangul
사용 지침
Hanja
使用说明
Revised R.Template:Transl
McCune–R.Template:Transl
Pen name
Hangul
미상
Revised R.Template:Transl
Courtesy name
Hangul
미상
Birth name
Hangul
미상
Childhood name
Hangul
미상
Stage name
Hangul
미상
Dharma name
Hangul
미상
Posthumous name
Hangul
미상
{{{othername1}}}
Hangul
미상
concluding text

Usage

  • Requires one of the following fields: <hangul, hanja, rr, mr>. Cancels everything otherwise.
  • If child=yes, an infobox header will be created by the caller. Otherwise, calls Template:Infobox Korea/Header using <headercolor, title, image, caption>
  • If exists one of <hangulXX, hanjaXX>, where XX=ho(pen), ja(courtesy), born(childhood), a(birth), stage, gye(dharma), ph(posthumous)
    calls Template:Infobox Korea/Both_Koreas using hangulXX, hanjaXX, rrXX, mrXX
  • If exists one of <hangulNN, hanjaNN>, where NN=1, 2, 3
    calls Template:Infobox Korea/Both_Koreas using othernameNN, hangulNN, hanjaNN, rrNN, mrNN

Example

{{Template:Infobox Korea
|title=Instructions for use
|image=File:Kim_Hongdo-Mountain.jpg
|caption= 산수화
|hangul=사용 지침
|rr= sayong jichim
|mr=Chosŏn'gŭl
|hanja=使用说明
|hangulho=미상
|rrho=misang
|hangulja=미상
|hangulborn=미상
|hangula=미상
|hangulstage=미상
|hangulgye=미상
|hangulph=미상
|hangul1=미상
|text=<small>concluding text</small>
}}

Templates called as subprocedures

Include versus Noinclude

As is, the <noinclude> version produces nothing. Therefore, the <includeonly>...</includeonly> structures of the former versions have been replaced by their arguments. And now, the functionality of the <noinclude> version is obtained by simply calling the template from the doc.