Template:Infobox Backer/Levels/doc
More actions
Purpose
This internal lookup converts an original Backer pledge-level name into the numeric key used by Template:Infobox Backer/Rewards and Template:Infobox Backer/Merger.
Usage
{{Infobox Backer/Levels|Knight}}
Parameter 1 is an exact pledge-level name. The template maps First Responder through Lord of the Manor to levels 1 through 21.
Unknown values currently return the literal text default 0, rather than the intended numeric value 0, because the switch fallback is malformed. Callers should supply one of the recognized names; correcting the fallback requires a separate source-template change.
Pledge articles should call Template:Infobox Backer instead. Update this lookup and the reward switches together if a level name or numeric key changes.