Difference between revisions of "Help:Template"
m (→Template features) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
== What is a Template? == | == What is a Template? == | ||
− | A wiki template is | + | A wiki template is an article, just like any other, but with the ability to be embedded onto other pages. |
− | |||
− | + | If you have made a table that you would like to include in more than one place and the data may change you can create a template for it. An example of this would be [[Template:Blacksmith training]] which contains details of how many pages and tomes are needed to train a [[Blacksmith]]. That table is used on a [[:Special:WhatLinksHere/Template:Blacksmith_training|number of different pages]]. The [[:Template:Blacksmith_training|template]] was created and the template code <nowiki>{{Blacksmith training}}</nowiki> simply added to the place where the table needed to appear. | |
+ | If and when any details change only the one template needs to be updated. | ||
− | |||
− | |||
− | + | Other examples of where [[:Category:Templates|templates]] are used in Diablo Wiki are: | |
− | Templates | ||
− | |||
− | |||
− | |||
− | + | '''<nowiki>{{Waypoint}}</nowiki>''' ...which inserts the following text: | |
+ | |||
+ | |||
+ | ''{{Waypoint}}'' | ||
+ | |||
+ | |||
+ | As that is included on every page it saves having to type the exact same sentence out each time. | ||
+ | |||
+ | |||
+ | Another, '''<nowiki>{{Skill_navbox_Diablo_III|DH}}</nowiki>''' will insert a navigation menu which looks like: | ||
+ | |||
+ | |||
+ | {{Skill_navbox_Diablo_III|DH}} | ||
+ | |||
+ | |||
+ | If a link ever needs changing or a new one added it only needs to be updated in that one template. | ||
+ | |||
Line 26: | Line 36: | ||
* [[Elly]] | * [[Elly]] | ||
− | * [[ | + | * [[Flux]] |
+ | |||
== All Templates == | == All Templates == |
Latest revision as of 02:06, 19 October 2013
A wiki template is not really what you would call a "template" in real world. In a wiki, we usually call that a "boilerplate".
What is a Template?[edit source]
A wiki template is an article, just like any other, but with the ability to be embedded onto other pages.
If you have made a table that you would like to include in more than one place and the data may change you can create a template for it. An example of this would be Template:Blacksmith training which contains details of how many pages and tomes are needed to train a Blacksmith. That table is used on a number of different pages. The template was created and the template code {{Blacksmith training}} simply added to the place where the table needed to appear.
If and when any details change only the one template needs to be updated.
Other examples of where templates are used in Diablo Wiki are:
{{Waypoint}} ...which inserts the following text:
Waypoints are special plates on the ground that form a network of jump points allowing players to instantly teleport between them. The nearest waypoint for Template appears
As that is included on every page it saves having to type the exact same sentence out each time.
Another, {{Skill_navbox_Diablo_III|DH}} will insert a navigation menu which looks like:
Classes of the Diablo games |
Skills - Active skills - Skill runes - Passives - Resource - Movement ability [e] Barbarian Demon Hunter Monk Necromancer Witch Doctor Wizard Followers Other Classes Fan-made |
---|
The Barbarian | Fury - Barbarian Active Skills (Archive) | Barbarian Passive Skills (Archive) [e] | |||
---|---|---|---|---|---|
|
Primary Might |
Secondary Tactics |
Defensive Rage |
Pound of Flesh (10) |
Superstition (30) |
(X) = the level at which the skill becomes unlocked. |
Barbarian skill categories: Primary Secondary Defensive Might Tactics Rage |
---|
Bash |
Cleave |
Frenzy |
[e] |
Hammer of the Ancients |
Rend |
Seismic Slam |
Whirlwind |
[e] |
Ground Stomp |
Leap |
Sprint |
Ignore Pain |
[e] |
Ancient Spear |
Revenge |
Furious Charge |
Overpower |
[e] |
Weapon Throw |
Threatening Shout |
Battle Rage |
War Cry |
[e] |
Earthquake |
Call of the Ancients |
Wrath of the Berserker |
[e] |
Demon Hunter skill categories: Primary Secondary Defensive Hunting Devices Archery |
---|
Hungering Arrow |
Entangling Shot |
Bola Shot |
Grenades |
[e] |
Impale |
Rapid Fire |
Chakram |
Elemental Arrow |
[e] |
Caltrops |
Smoke Screen |
Shadow Power |
[e] |
Vault |
Preparation |
Companion |
Marked for Death |
[e] |
Evasive Fire |
Fan of Knives |
Spike Trap |
Sentry |
[e] |
Strafe |
Multishot |
Cluster Arrow |
Rain of Vengeance |
[e] |
Monk skill categories: Primary Secondary Defensive Techniques Focus Mantras |
---|
Fists of Thunder |
Deadly Reach |
Crippling Wave |
Way of the Hundred Fists |
[e] |
Lashing Tail Kick |
Tempest Rush |
Wave of Light |
[e] |
Blinding Flash |
Breath of Heaven |
Serenity |
Inner Sanctuary |
[e] |
Dashing Strike |
Exploding Palm |
Sweeping Wind |
[e] |
Cyclone Strike |
Seven-Sided Strike |
Mystic Ally |
[e] |
Mantra of Evasion |
Mantra of Retribution |
Mantra of Healing |
Mantra of Conviction |
[e] |
Necromancer skill categories: Primary Secondary Corpses Blood and Bone Reanimation Curses |
---|
Witch Doctor skill categories: Primary Secondary Defensive Terror Decay Voodoo |
---|
Poison Dart - Rune effects |
Corpse Spiders |
Plague of Toads |
Firebomb |
[e] |
Grasp of the Dead |
Firebats |
Haunt |
Locust Swarm |
[e] |
Summon Zombie Dogs |
Horrify |
Spirit Walk |
Hex |
[e] |
Soul Harvest |
Sacrifice |
Mass Confusion |
[e] |
Zombie Charger |
Spirit Barrage |
Acid Cloud |
Wall of Zombies |
[e] |
Gargantuan |
Big Bad Voodoo |
Fetish Army |
[e] |
Wizard skill categories: Primary Secondary Defensive Force Conjuration Mastery |
---|
Magic Missile |
Shock Pulse |
Spectral Blade |
Electrocute |
[e] |
Ray of Frost |
Arcane Orb |
Arcane Torrent |
Disintegrate |
[e] |
Frost Nova |
Diamond Skin |
Slow Time |
Teleport |
[e] |
Wave of Force |
Energy Twister |
Hydra |
Meteor |
Blizzard |
[e] |
Ice Armor |
Storm Armor |
Magic Weapon |
Familiar |
Energy Armor |
[e] |
Explosive Blast |
Mirror Image |
Archon |
[e] |
Followers | Kormac the Templar | Lyndon the Scoundrel | Eirena the Enchantress [e] | |||
---|---|---|---|---|---|---|
Level 10: |
Level 5: Level 10: |
Level 15: |
Level 15: Level 20: |
Level 25: Level 30: |
Diablo III Other Classes | Diablo II Classes | Diablo I Classes [e] | ||||
---|---|---|---|---|---|---|
Archetypes: |
Archetype sub-types: |
Other classes: |
Diablo II: |
Fan-made Classes | Fan-made Skills [e] | ||||
---|---|---|---|---|---|
• Alchemist |
• Flagellant |
• Ranger |
Dragon Warrior Skills |
Aurian Mage Skill | |
|
If a link ever needs changing or a new one added it only needs to be updated in that one template.
You can ask one of the DiabloWiki sysops for more information.
All Templates[edit source]
This is the list of all DiabloWiki templates.
Wiki Help Index [e] | ||
---|---|---|
• Help Contents • Community Portal |
• Wiki Tools • Article History |
• Glossary • Articles |