Category:Infobox templates
From Wikipedia, the free encyclopedia
Due to the scope of this category, it should contain only subcategories and possibly a limited number of directly-related pages. |
|
[edit] Using sortkeys
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 Template:Infobox President, one would use the following code:
{| class="infobox" |...table code... |}<noinclude> [[Category:Infobox templates|President]] </noinclude>
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
|}<noinclude>
Not doing this may break the formatting on articles using the template.
[edit] Creating infoboxes
See Wikipedia:Infobox templates and Help:Infobox
For a sample infobox, see either Template:Infobox or Template:Infobox Conditionals.
- Note that many templates can appear in more than one category: Template:Infobox golfer is in both Category:People infobox templates and Category:Sports infobox templates.
Subcategories
This category has the following 11 subcategories, out of 11 total.
AC |
GHM |
NPRS |
Pages in category "Infobox templates"
The following 175 pages are in this category, out of 175 total. Updates to this list can occasionally be delayed for a few days.