Template:Main/doc

Template page

{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}{{#if: | {{#ifeq: doc | doc | |

}} }}

[[File:Template-{{#if: | no | {{#if: | bad }} }}info.png|50px|bottom]] Documentation
{{#if: | This template has no documentation. If you know how to use this template, please add some.{{#ifeq: doc | doc | |}} |{{#if: | This template's documentation has been marked as bad. Please improve or add to it.{{#ifeq: doc | doc | |}}}} }}

This template is used after the heading of the summary, to link to the sub-article that has been (or will be) summarised. It uses {{hatnote}}.

Usage

{{{{#if:|subst:}}Main{{#if:Article 1| |Article 1 }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}}

You may also include additional links, up to 5 in total:

{{{{#if:|subst:}}Main{{#if:Article 1| |Article 1 }}{{#if:Article 2| |Article 2 }}{{#if:...| |... }}{{#if:Article 5| |Article 5 }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}}

{{#ifeq: doc | doc |

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

| }}