Flower Knight Girl Wikia
Advertisement
Flower Knight Girl Wikia

This is an organized representation of most of the modules used in this Wikia. Note that these should ideally all be automatically categorized in Category:Lua modules.

Layout

Modules
Purpose Module Template (Wrapper) Data Sources
Character data
Character cards
Skill translations Module:Skill Template:SkillDescription Module:SkillList
Ability translations
Plant family translations
Event pages
Template:GetGuestParty Module:WaifuList
Event quests Module:EventQuests Template:EventQuests Module:EventPicker
Stage data
Wares display
Equipment display & associations Module:Equipment Template:DisplayEquipTable
Artists Module:Artists Module:Artists/Data
Categories Module:Categories
Translation Module:Romanize Module:Names/Data
Quotes Module:KnightQuotes Template:Knightquote
Character Lists
Stability / Testing Module:UnitTest Template:UnitTest (Ideally all modules)
Template:AbilityUnitTest Module:Ability
Module:ScribuntoTest Template:ScribuntoTest
Module:ScribuntoUnit
Editing Module:Utils
Other Module:MiscData

Stages

Stages and dungeons have a complex relationship with the whole Wikia. This tree illustrates how they interact. Note that a dungeon is a collection of stages.

Disclaimer: I'm writing this now so I have a clear plan of the future layout. Some things may not be interacting in exactly this fashion yet.

Testing

To try and not let issues appear to users, any edits to a module/template can be copied into Module:Sandbox, Template:Sandbox, or any similarly named thing.

Unit tests are done in hopes of maintaining the code. ScribuntoTest was imported into this Wikia for that purpose. So far, these unit test modules exists.

Errors

In the same way the above table exists to help editors code in Scribunto, we also have a standard of adding Category:Errors to any pages producing wrong input. People can watch this page for issues. It is intended to show bugs made by editors.

Also, Category:Pages_with_script_errors is automatically generated by the Wikia for us. It shows pages where Lua modules have crashed. These are bugs made by the programmers.

Replacements

This is the list of things that are going to replace other things. Ideally, this table will be empty and this section will be removed entirely.

Replacements
Old New
Template:Eventshop Template:ShowWares
Template:StageData Template:ShowEventStage
Advertisement