Template:Creature Navbox: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
No edit summary
(fix typo)
Line 33: Line 33:
{{Creature Navbox|Barathrumites|uniquecommon}}
{{Creature Navbox|Barathrumites|uniquecommon}}
=== Category-Divided Case ===
=== Category-Divided Case ===
<pre>{{Creature Navbox|Cherubim|splitbycategory=Cherubim|catgorytitle=Cherubim|noncategorytitle=Mechanical Cherubim}}</pre>
<pre>{{Creature Navbox|Cherubim|splitbycategory=Cherubim|categorytitle=Cherubim|noncategorytitle=Mechanical Cherubim}}</pre>
{{Creature Navbox|Cherubim|splitbycategory=Cherubim|catgorytitle=Cherubim|noncategorytitle=Mechanical<br>Cherubim}}
{{Creature Navbox|Cherubim|splitbycategory=Cherubim|categorytitle=Cherubim|noncategorytitle=Mechanical<br>Cherubim}}
</noinclude>
</noinclude>

Revision as of 03:11, 8 April 2021

Template that makes a navigation box for the specified faction. The first argument should be the Faction name.

Optionally:

  • A second argument of uniquecommon can be specified to separate the navbox into two rows; one for unique characters, one for non-unique characters.
  • The following parameters can be specified to divide the navbox into two category-based rows:
    • splitbycategory: The category by which to split the navbox
    • categorytitle: Creatures that have the specified category as their primary (cargo-stored) category will be put in the first row of the navbox, and that row will have the title specified in this parameter
    • noncategorytitle: All other creatures (not in the specified category) will go into the second navbox row, and that navbox row will have the title specified here.

Simple Case

{{Creature Navbox|Barathrumites}}

Unique / Common Case

{{Creature Navbox|Barathrumites|uniquecommon}}

Category-Divided Case

{{Creature Navbox|Cherubim|splitbycategory=Cherubim|categorytitle=Cherubim|noncategorytitle=Mechanical Cherubim}}