Template Example Neverwinter

From ShieldKings Wiki
Revision as of 00:13, 2 March 2014 by Shealladh (Talk | contribs)

Jump to: navigation, search

This is going to be a list of Neverwinter Wiki examples of code.


Template Structure

This is a breakdown of the hierarchy of subcategories showing a template list.

  • Profession Type
    • Profession Assets:Craftsman (Rank/Rarity) ~ Requires
      • Profession Tools: Tool Name (Type/Rarity)
        • Profession Resource: Resource Name (Type/Rarity) ~ Consumes
          • Profession Item: Item Name (Tier/Rarity) ~ Produces


Example

  • Platesmithing
    • Miner (Rank 1/Common)
      • Hammer (Common)
        • Iron Shield (Common), Residuum (Uncommon), Arcane Crystal (Rare)
          • Tier 1: Iron Shield +1 (Rare)
          • Tier 2: Guardians Iron Shield +1 (Rare)


Rarity Colour

  • White: Common
  • Green: Uncommon
  • Blue: Rare
  • Purple: Epic


Template Code Examples

This is an example using a category and listing templates used.


Template Tests

List of needed, nested templates.

  • Infoxbox
    • item
    • thumb
  • ItemTransformer (used for item table)
  • Rarity/Item Quality (colour of Item)
    • Common
    • Uncommon
    • Rare
    • Epic
  • Tooltip
    • float box
    • left box (same as float box)
  • Others
    •  !
    • Money (each a separate template) ~ add new type that makes nested templates: eg. Money: Type=Copper
      • Copper
      • Silver
      • Gold
      • Platinum
    • Documentation
      • Doc pages ~ for each page template


Notes