Template:Infobox Character/CreatureTypeCategorization

From Itora Wiki
Template documentation (for the above template, sometimes hidden or invisible)[view] [edit] [history] [refresh]

Description

This autocategorization template is used by {{Infobox Character}} to take the CreatureType parameter fed into the infobox and then automatically categorize the infobox's page.  It only works when transcluded into the mainspace.

For example, the character page "Pike Trickfoot" uses {{Infobox Character}}, and {{{CreatureType}}} is defined as Humanoid.  The infobox then calls {{Infobox Character/CreatureTypeCategorization}}, which tells it to add the "Pike Trickfoot" page to "Category:Humanoids".

Dependencies

Syntax

Type {{Infobox Character/CreatureTypeCategorization|CreatureType=}}, where {{{CreatureType}}} is one (or more) of the following creature types:

  • aberration
  • beast
  • celestial
  • construct
  • deity
  • demon
  • devil
  • dragon
  • elemental
  • fey
  • fiend
  • giant
  • humanoid
  • monstrosity
  • ooze
  • plant
  • sentient item
  • undead

The creature type must be spelled exactly as listed above, although it is not case-sensitive and it may be preceded or followed by any other text.

Sample Output

{{Infobox Character/CreatureTypeCategorization|CreatureType=Dragon}}
produces...
[[Category:Dragons]]


{{Infobox Character/CreatureTypeCategorization|CreatureType=The Raven Queen was formerly humanoid and is now a deity.}}
produces...
[[Category:Humanoids]][[Category:Deities]]

See Also

The above text is transcluded from Template:Infobox Character/CreatureTypeCategorization/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to Template:Infobox Character/CreatureTypeCategorization/doc. (View all subpages of this page.)
https://itora.bunnies1230.com/wiki/Template:Infobox_Character/CreatureTypeCategorization
itora.bunnies1230.com
CC-MAIN-2024-30
53779
application/http; msgtype=response
sha1:PLYNYMPEGDWVEAZ4V5LVYJ5CGQVQBGO4
<urn:uuid:6e35fdf5-466b-45f8-8910-ebb9add2d7c9>
2024-07-19T03:09:39Z
38.46.223.205
text/html
sha1:RRK4T3JR7WK7B2HVIVIMCUDGYMI2Z6TP
<urn:uuid:0fc50db8-5b4a-4060-ade1-4695a06200de>
https://itora.bunnies1230.com/wiki/Template:Infobox_Character/CreatureTypeCategorization
response
<urn:uuid:e3c13836-d864-4d50-a88b-e67071a43659>
isPartOf: CC-MAIN-2024-30
publisher: Common Crawl
description: Wide crawl of the web for July 2024
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-128
software: Apache Nutch 1.20 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/