Template:Infobox Korea/Both Koreas
Korean name
Contents
Usage
- Both_Koreas is written to be called from Template:Infobox Korea. If you want to use it as a directly called child, you have to provide a Header and a Footer.
- caveat: parameter's names here are not the same as those used in the main procedure.
Example
Instructions for use | |
![]() ___from an external Header___ | |
Korean name | |
---|---|
Hangul | 미상 |
Hanja | 田禹治 |
Revised R. | Template:Transl |
McCune–R. | Template:Transl |
___footnote from an external Footer___ |
{{Template:Infobox Korea/Header |headercolor= #00c4de |title=Instructions for use |pic=File:Kim_Hongdo-Mountain.jpg |piccap= ___from an external Header___ }} {{Template:Infobox Korea/Both_Koreas |hangul=미상 |hanja=田禹治 |rr=missing |mr=Chosŏn'gŭl |hide=no }} {{Template:Infobox Korea/Footer |footnote=___footnote from an external Footer___ }}
Chosŏn'gŭl version
Setting context=north in the main procedure, or northkorea=yes in the present procedure results into changing the romanization of "hangul" and "hancha". This is the result of several very long discussions. Don't change this behaviour !
Instructions for use | |
![]() ___from an external Header___ | |
Korean name | |
---|---|
Chosŏn'gŭl | 미상 |
Hancha | 田禹治 |
Revised R. | Template:Transl |
McCune–R. | Template:Transl |
___footnote from an external Footer___ |
{{Template:Infobox Korea/Header |headercolor= #00c4de |title=Instructions for use |pic=File:Kim_Hongdo-Mountain.jpg |piccap= ___from an external Header___ }} {{Template:Infobox Korea/Both_Koreas |northkorea=yes |hangul=미상 |hanja=田禹治 |rr=missing |mr=Chosŏn'gŭl |hide=no }} {{Template:Infobox Korea/Footer |footnote=___footnote from an external Footer___ }}
Templates called as subprocedures
- Uses Template:Infobox Korea/Header/doc to display the present doc.
- Calls Template: Infobox, and therefore Module: Infobox
Include versus Noinclude
Optimizing is optimizing the most used case, not burdening this most used case in order to satisfy some cosmetic hubris. Therefore, the <includeonly>...</includeonly> structures of the former implementation have been replaced by their arguments.
As presently written, the <noinclude> version produces the two words "Korean name" that floats atop of the page, while the functionality of the <noinclude> old version is obtained by simply calling the template from the doc. Remark: the nice green box is split, but the world will survive.
The above documentation is transcluded from Template:Infobox Korea/Both Koreas/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |