User:Documentalist/Walkthrough (Skyrim)/Templates

Parameter ranges
A parameter range consists of 2 or more parameters with names that differ only in their last 2 characters. These last 2 characters are digits. The number these digits form is called the index of the parameter. The indices of the parameters in a range, form a consecutive sequence of numbers starting at 01. The number of parameters in the range is called the size of the range.

Parameter range groups
When an object has multiple parameter ranges with the same size, 2 or more of those indices can form a group. In grouped parameter ranges all parameters with the same index describe the same child object. One of the ranges in a group is called the key. Parameter ranges that are not part of a group are called solitary parameter ranges.

Example parameter range group: If

Processing ranges
Templates process the parameters in their solitary parameter ranges in ascending index sequence. If one of the parameters in the range is empty, parameters with a higher index will be skipped (performance issue).

Parameter ranges that for a group are processed in a similar way. If one of the parameters of the key range is empty all parameters in the group with a higher index will be skipped.

Style
These templates enable us to use a consistent and easy maintainable style. We would normally put this in the CSS file, but since we can't access that, this is a workable alternative.

Collapsibles
A Collapsibles groups one or more Collapsible.

Each row of the Collapsibles can hold 3 collapsed Collapsible and a Collapsibles and an 150px image fit next to each other on screen.



Images
This template is used to add images to a task. An single images template can hold up to 12 images.

If all steps of a task would have a screenshot, that task could combine the pictures and titles to a kind of "cartoon style" walkthrough, attractive and easy to use but a significant effort to make.

Levels
This template is used to define the skill levels.

The template calculates the character experience points (XPcharacter) and the character level.

"Legendaries" is the number of times a skill is made legendary, for all skills in total.

Example 1: Newbie imperial

Example 2: Same imperial a few weeks later

Items
The templates in this section, define the items in Skyrim and how these items are presented in this Wiki. We distinguish 2 categories of templates: The design above, enables us to define a certain property value once, and use it multiple times. If we change the property value, all pages using the property will reflect these changes automagically. The same is true for a format. This improves consistency and reduces maintenance. It's maybe a bit 'deep' in the beginning, but when you start using it, and experience the power and flexibility it brings, I'm sure you'll like it.
 * "item data" templates, each providing the storage of, and access to all properties of 1 item.
 * "item format" templates, each presenting items in certain format.

Item properties
All items have the properties:
 * id
 * name
 * value
 * weight

All weapons have in addition the property:
 * damage

All apparel has in addition the property:
 * armor

Item data
In this section you'll find the item data templates.

Item formats
../Templates/Books table sortable

Inventory
This template is used to define an inventory the template looks up the value and weigh of the items and calculates the total value and the total weight of the inventory.

../Templates/Test2../Templates/Test3 Test2 table Total value:

Objective
This template is used to define an objective.

Examples can be found on this page.

Phase
This template is used to define a phase.

Example of a phase: Getting Started

Task
This template is used to define a task.

Example of a task: Make his way to the Keep

Steps
This template is used to define a step.

Example of a step: Go up the stairs.

Example of a step that branches: Follow Hadvar to the Keep.

Example of a step that joins: Give the Dragonborn a name.

Work in progress
This template is used to signal Work in progress. Example:

Save game (no longer used)
This template is used to mark a good point in the walkthrough to make a save game.