Template:Template category

Using sortkeysEdit

This section applies to adding an infobox to the category; nothing special needs to be done when adding an infobox to an article.

To add an infobox to the category, make sure to use a Sort key. For example, when adding Wikipedia:Template:Infobox President, one would use the following code:

{| class="infobox"
|...table code...
[[Category:Infobox templates|President]]

Piping the category with the word "President" ensures the template is inserted into the category under "P".

A <noinclude> tag is required to ensure only the template appears in the category (as opposed to every article the infobox is part of appearing in the category).
Please include the first noinclude tag on the same line as the end of the table. For example
Not doing this may break the formatting on articles using the template.

Creating infoboxesEdit

See Wikipedia:Wikipedia:Infobox templates and Wikipedia:Help:Infobox

For a sample infobox, see either Wikipedia:Template:Infobox or Wikipedia:Template:Infobox Conditionals.

Note that many templates can appear in more than one category: Wikipedia:Template:Infobox golfer is in both Wikipedia:Category:People infobox templates and Wikipedia:Category:Sports infobox templates.

Bath Rugby

This page uses content from the English Wikipedia. The original content was at Category:Infobox templates. The list of authors can be seen in the page history. As with the Rugby Union Wikia, the content of Wikipedia is available under the GNU Free Documentation License.

Pages in category "Infobox templates"

This category contains only the following page.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.