Category:People and person infobox templates: Difference between revisions
wikitemplates>Andrybak (removed Category:People and person templates; added Category:People and person templates by task using HotCat) |
m (1 revision imported) |
||
(No difference)
|
Latest revision as of 05:52, 26 April 2024
{{#ifeq:infobox|module|Lua logo|File:Curly Brackets.svg}} | {{safesubst:#switch:
{{#switch:
|no |n |false |0 = | = |¬ = |yes |y |true|1 = Note: Please do not add {{#ifeq:infobox|module|modules|templates}} to this category; instead, use one of its subcategories.{{#switch:
|#default = {{#if: | {{{demospace}}} | {{#ifeq:Category|Category | category | other }} }} | category = | other | #default = }} Note: Please do not add {{#ifeq:infobox|module|modules|templates}} to this category; instead, use one of its subcategories.{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Category|Category | category | other }} }} | category = | other | #default = }}}}{{#if:people and persons | {{#if:people and persons |{{#switch:infobox |navbox|navigation|navigational|infobox|sidebar|stub|=Infobox templates |module=Modules|#default=Templates}} relating to people and persons.
|
}} {{#if:infobox |
The pages listed in this category are {{#ifeq:infobox|module||meant to be}} {{#switch:infobox
| | ambox = article message box (ambox) templates | category header | category heading | catheader | cat header | cathead = category header templates | campaignbox = campaignbox templates | conversion = templates that perform conversions | external link = templates providing external links | formatting = templates that provide formatting | function = function templates, i.e. templates that produce text, images or other elements | infobox = infobox templates | module = Lua modules | meta = metatemplates | navigation |navigational |navbox = navigation templates | sidebar = sidebar templates | stub = stub templates | sub = subtemplates, i.e. templates used by another template or templates | timeline = timeline templates | user | userbox = user templates, including userboxes | #default = | infobox templates}}. The pages listed in this category are templates. }}
This page is part of Wikipedia's administration and not part of the encyclopedia. {{#if:|{{{ALTTEXT}}} }} Further {{#ifeq:infobox|module|module|template}} category notes
This category contains pages in the {{#ifeq:infobox|module|module namespace|template namespace}}. It should not be used to categorize articles or pages in other namespaces. {{#if: | {{safesubst:#switch: |no |n |false|0 = {{#if:| {{{2}}} }} | = {{#if:| {{{2}}} }} |¬ = |yes |y |true|1 = |#default = }}| To add a {{#ifeq:infobox|module|module|template}} to this category:
{{#ifeq:infobox|module|
{{#if: | {{{demospace}}} | {{#ifeq:Category|Category | category | other }} }} | category = {{#if: people and persons||}} | other | #default = }} |
{{#ifeq:Category|Category
| {{#if: | {{{category}}} | {{#ifeq: infobox | module | | }} }} }}
Many of these infoboxes use the hCard microformat; see the microformats project for details.
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 this category, make sure to use a sort key. For example, when adding Template:Infobox scientist, one would use "Scientist" as the sortkey for that template. Piping the category with the word "Scientist" ensures that the template is inserted into the category under "S".
This category currently contains no pages or media.