Template:Creature Navbox: Difference between revisions

m
no edit summary
(Fix capitalization of faction names in navbox title (query instead of relying on capitalization provided as template input))
mNo edit summary
Line 1: Line 1:
<includeonly>{{Navbox
<includeonly>{{Navbox
| name      = Creature Navbox
| name      = Creature Navbox
| title      = Creatures in the [[{{#cargo_query:|tables=Factions|fields=PlainName|where=PlainName='{{#replace:{{{1|}}}|'|\'}}'|limit=1|more results text=}}]] Faction
| title      = Creatures in the {{#cargo_query:|tables=Factions|fields=CONCAT('[[',PlainName,']]')|where=PlainName='{{#replace:{{{1|}}}|'|\'}}'|limit=1|more results text=}} Faction
| listclass  = hlist
| listclass  = hlist
| state      = {{{state|collapsed}}}
| state      = {{{state|collapsed}}}