Template:Start infobox page

From New York City LDS History
Revision as of 02:43, 9 June 2008 by LDSdbSysop (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
[edit] Template documentation

This template and its sister {{end infobox page}} are intended to facilitate the presentation of an infobox template and its documentation on the infobox template's own page. The documentation should be prepared as a {{documentation}} page. This template then assigns it the lefthand side of the infobox template's page, while the infobox template itself appears on the righthand side of the page, using this code:

{| style="width:100%; background:transparent;"
|- style="vertical-align:top;"
| <!-----Lefthand side: documentation----->
{{documentation}}
| <!-------Righthand side: template------->

This template should be placed between <noinclude> and </noinclude> tags at the very top of an infobox template page, immediately before the start of the infobox's code thus:

<noinclude>{{start infobox page}}</noinclude><!--
-->infobox code starts here

The start and end-comment markers ("<!--" and "-->") are important as they remove the possibility of a spurious space appearing. The {{end infobox page}} template should then be placed within <noinclude> and </noinclude> tags on the first line after the end of the template code. For an example, see Infobox Machinima.

Personal tools
Namespaces

Variants
Actions
our other site
Navigation
Toolbox