Difference between revisions of "Template:Infobox Korea/doc"
Jump to navigation
Jump to search
imported>Pldx1 (providing) |
imported>John of Reading m (Typo fixing, replaced: Exemple → Example, typo(s) fixed: stand alone → stand-alone) |
||
| 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 it's sub-templates provide a stand-alone implementation of a '''Korean language infobox''', using direct calls to {{tl|Infobox}}. |
{{Template: Infobox Korea | {{Template: Infobox Korea | ||
| Line 31: | Line 31: | ||
* If child=yes, an infobox footer will be created by the caller. Otherwise, calls [[:Template:Infobox Korea/Footer]] using <text> | * If child=yes, an infobox footer will be created by the caller. Otherwise, calls [[:Template:Infobox Korea/Footer]] using <text> | ||
| − | === | + | ===Example=== |
<pre style="overflow:auto"> | <pre style="overflow:auto"> | ||
{{Template:Infobox Korea | {{Template:Infobox Korea | ||
Revision as of 13:51, 17 June 2019
| This is a documentation subpage for Template:Infobox Korea. It contains usage information, categories and other content that is not part of the original template page. |
This template and it's sub-templates provide a stand-alone implementation of a Korean language infobox, using direct calls to {{Infobox}}.
| Instructions for use | |
![]() 산수화 | |
| 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
- If child=yes, an infobox footer will be created by the caller. Otherwise, calls Template:Infobox Korea/Footer using <text>
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
- Uses Template:Infobox Korea/doc to display the present doc.
- Uses Template:Infobox Korea/Header, Template:Infobox Korea/Footer, Template:Infobox Korea/Both_Koreas. Each of them calls Template: Infobox
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.
