Difference between revisions of "Template:Infobox Korea/Footer/doc"
Jump to navigation
Jump to search
imported>Pldx1 (create the doc) |
imported>Pldx1 (reorg, usage first) |
||
| Line 8: | Line 8: | ||
|footnote=___footnote___ | |footnote=___footnote___ | ||
}} | }} | ||
| + | |||
| + | == Usage == | ||
| + | * Footer is written to be used as a footer, with parameters obtained from [[:Template:Infobox Korea]]. Nevertheless, a direct call is possible, using <footnote>. But this requires to call Header just before... in order to provide the required header ! | ||
| + | |||
| + | ===Exemple=== | ||
| + | <pre style="overflow:auto"> | ||
| + | {{Template:Infobox Korea/Header | ||
| + | |headercolor= #00c4de | ||
| + | }} | ||
| + | {{Template:Infobox Korea/Footer | ||
| + | |footnote=___footnote___ | ||
| + | }} | ||
| + | </pre> | ||
== Templates called as subprocedures == | == Templates called as subprocedures == | ||
| Line 15: | Line 28: | ||
== Include versus Noinclude == | == Include versus Noinclude == | ||
Optimizing is optimizing is optimizing the most used case, not burdening this most used case in order to satisfy some cosmetic hubris. Therefore, each of these <nowiki><includeonly>...</includeonly></nowiki> structures has been replaced by its arguments. <br> As presently written, the <nowiki><noinclude></nowiki> version produces a simple title bar, while the functionality of the <nowiki><noinclude></nowiki> old version is obtained by simply calling the template from the doc. Remark: the nice green box is split, but the world will survive. | Optimizing is optimizing is optimizing the most used case, not burdening this most used case in order to satisfy some cosmetic hubris. Therefore, each of these <nowiki><includeonly>...</includeonly></nowiki> structures has been replaced by its arguments. <br> As presently written, the <nowiki><noinclude></nowiki> version produces a simple title bar, while the functionality of the <nowiki><noinclude></nowiki> old version is obtained by simply calling the template from the doc. Remark: the nice green box is split, but the world will survive. | ||
| − | |||
| − | |||
| − | |||
Revision as of 10:04, 7 January 2019
| This is a documentation subpage for Template:Infobox Korea/Footer. It contains usage information, categories and other content that is not part of the original template page. |
| Template:PAGENAMEBASE | |
| ___footnote___ |
Usage
- Footer is written to be used as a footer, with parameters obtained from Template:Infobox Korea. Nevertheless, a direct call is possible, using <footnote>. But this requires to call Header just before... in order to provide the required header !
Exemple
{{Template:Infobox Korea/Header
|headercolor= #00c4de
}}
{{Template:Infobox Korea/Footer
|footnote=___footnote___
}}
Templates called as subprocedures
- Uses Template:Infobox Korea/Footer/doc to display the present doc.
- Calls Template: Infobox, and therefore Module: Infobox
Include versus Noinclude
Optimizing is optimizing is optimizing the most used case, not burdening this most used case in order to satisfy some cosmetic hubris. Therefore, each of these <includeonly>...</includeonly> structures has been replaced by its arguments.
As presently written, the <noinclude> version produces a simple title bar, 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.