Template:Creature Navbox: Difference between revisions
Jump to navigation
Jump to search
(css editing) |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Navbox | <includeonly>{{Navbox | ||
| name = Creature Navbox | | name = Creature Navbox | ||
| title = Creatures in the [[{{{1|}}} | | title = Creatures in the {{#cargo_query:|tables=Factions|fields=CONCAT('[[',PlainName,'{{!}}',PlainName,']]')|where=PlainName='{{#replace:{{{1|}}}|'|\'}}'|limit=1|more results text=}} Faction | ||
| listclass = hlist | | listclass = hlist | ||
| state = {{{state|collapsed}}} | | state = {{{state|collapsed}}} |
Latest revision as of 17:06, 21 February 2022
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 navboxcategorytitle
: 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 parameternoncategorytitle
: 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|Robots|splitbycategory=Turrets|categorytitle=Turrets|noncategorytitle=General}}