Jump to content

Wiki:Templates

From Creopedia

Templates work like a master copy for information you want to show on multiple pages. When you change the template, every page that uses it will be updated automatically.

Article namespace

Formatting

Template Use Example
Element Output an element badge Fire
Energy Output an energy text 100
ItemLink Output a link to item page with matching icon Tome of Fire
Level Output a level text 10
Money Output a money text 100
Rarity Output a rarity badge Common

Infoboxes

Template Use
Ability Output an infobox and set categories for ability pages
Creo Output an infobox and set categories for creo pages
Item Output an infobox and set categories for item pages
Location Output an infobox and set categories for location pages
Move Output an infobox and set categories for move pages
Trait Output an infobox and set categories for trait pages

Content

Template Use
Animation Output an animation
Abilities Output an abilities table for a creo
Evolution Output an evolution chart for a creo
Stats Output a stats table for a creo
LevelMoves Output a level moves table for a creo
ItemMoves Output a item moves table for a creo
Sprites Output a sprites table for a creo
Traits Output a traits table for a creo
ElementChart Output a element chart
GameTabs Output tabs of content for different games
GameTabsLocations Same as GameTabs, but contains a table for locations
Locations Output a table for locations
Learnsets Output a learnsets table for a move

Other

Template Use
Prevnext Output a previous and next navigation

Template namespace

Template Use
Documentation Add template/module documentation header

Building blocks

These templates and modules are usually used by other templates.

Template Module Use
Badge Module:BadgeLua Output a badge
Button Module:ButtonLua Output a button
Card Module:CardLua Output a card
IconLink Module:IconLink Output a link with an icon
IconText Module:IconText Output a text with an icon
NavCard - Output a navigation card
TabbedCard Module:TabbedCard Output a tabbed card
- Module:TableLua Output a table

See also