Template:Bug Header

From RosieSoCrossing
Revision as of 13:47, 21 January 2026 by Rosie (talk | contribs) (Created page with "{{#vardefine:number|{{#cargo_query:|tables=nh_bug|fields=number|where=nh_bug._pageTitle='<includeonly>{{#switch:{{PAGENAME}}|Rajah Brooke's birdwing=Rajah Brooke\'s birdwing|Queen Alexandra's birdwing=Queen Alexandra\'s birdwing|{{PAGENAME}}}}</includeonly><noinclude>Yellow butterfly</noinclude>'|no html}}}}{{#vardefine:leftname|{{#cargo_query:|tables=nh_bug|fields=name|where=nh_bug.number='{{#ifeq:{{PAGENAME}}|Common butterfly|80|{{#expr:{{#var:number}}-1}}}}'|no html}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
"
[[
Error: Table nh_bug not found.
|]] [[File:
Error: Table nh_bug not found.
|40px|link=
Error: Table nh_bug not found.
]] [[
Error: Table nh_bug not found.
|(
Error: Table nh_bug not found.
)
Error: Table nh_bug not found.
]]
New Horizons bugs [[
Error: Table nh_bug not found.
|
Error: Table nh_bug not found.
(
Error: Table nh_bug not found.
)
]] [[File:
Error: Table nh_bug not found.
|40px|link=
Error: Table nh_bug not found.
]] [[
Error: Table nh_bug not found.
|]] [[
Error: Table nh_bug not found.
|]]
"
New Horizons bugs
[[
Error: Table nh_bug not found.
|]] [[File:
Error: Table nh_bug not found.
|40px|link=
Error: Table nh_bug not found.
]]
[[
Error: Table nh_bug not found.
|(
Error: Table nh_bug not found.
)
Error: Table nh_bug not found.
]]
[[File:
Error: Table nh_bug not found.
|40px|link=
Error: Table nh_bug not found.
]] [[
Error: Table nh_bug not found.
|]]
[[
Error: Table nh_bug not found.
|
Error: Table nh_bug not found.
(
Error: Table nh_bug not found.
)
]]

Template documentation (view)


Notes

This template is for use only on New Horizons bug pages and will not function properly elsewhere. It automatically generates the previous and last bug in the series based on that bug's internal number, as sourced from its Cargo data. It uses {{PAGENAME}} as input, so the bug's name as stored in Cargo must exactly match its article name for proper functionality.

See also