From Brotato Wiki

Revision as of 21:14, 5 November 2024 by Darkly77 (talk | contribs) (use PAGENAME example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This template uses a module, which is a Lua script that can run custom code:

Module:GetStartingWeaponsTableForCharacter

The code generates a table of starting weapons for the specified character, using their startingwpns value from Template:Character_Data.

It's intended for us on a character's own page. Doing this lets you refer to the page name, instead of specifying the character name, ie:

{{GenerateCharacterStartingWeaponsTable|name={{PAGENAME}}}}

Example

Code:

{{GenerateCharacterStartingWeaponsTable|name=Mutant}}


Result: