Difference between revisions of "Diablo Wiki:Sandbox"
m |
(new skill templates) |
||
Line 390: | Line 390: | ||
− | == | + | ==Skill Templates (for editors)== |
− | + | Thanks to Dorjan, skill templates that pull data directly from the DB are now available. | |
− | <skill class=" | + | ===Active skills=== |
+ | A typical Active Skill: | ||
+ | <skill class="Barbarian">Bash</skill> | ||
+ | The code for this is pretty simple: | ||
+ | <nowiki><skill class="Barbarian">Bash</skill></nowiki> | ||
− | |||
− | + | Some skills have a "sub-category", such as [[Mantra]] or [[Shout]]. An example: | |
− | + | <skill subcat="Bow skill" class="DemonHunter">Hungering Arrow</skill> | |
− | + | This needs just a little more code: | |
+ | <nowiki><skill subcat="Bow skill" class="DemonHunter">Hungering Arrow</skill></nowiki> | ||
− | == | + | A typical skill rune effect: |
− | + | <skill class="Barbarian" rune="Clobber">Bash</skill> | |
+ | This is just another variation of the basic code: | ||
+ | <nowiki><skill class="Barbarian" rune="Clobber">Bash</skill></nowiki> | ||
− | |||
− | |||
− | + | So an active skill with rune effects looks like this: | |
− | {{ | + | {{skill description header}} |
+ | <skill class="Barbarian">Bash</skill> | ||
+ | <skill class="Barbarian" rune="Clobber">Bash</skill> | ||
+ | <skill class="Barbarian" rune="Onslaught">Bash</skill> | ||
+ | <skill class="Barbarian" rune="Punish">Bash</skill> | ||
+ | <skill class="Barbarian" rune="Instigation">Bash</skill> | ||
+ | <skill class="Barbarian" rune="Pulverize">Bash</skill> | ||
− | + | <nowiki>{{skill description header}} | |
− | {{ | + | <skill class="Barbarian">Bash</skill> |
+ | <skill class="Barbarian" rune="Clobber">Bash</skill> | ||
+ | <skill class="Barbarian" rune="Onslaught">Bash</skill> | ||
+ | <skill class="Barbarian" rune="Punish">Bash</skill> | ||
+ | <skill class="Barbarian" rune="Instigation">Bash</skill> | ||
+ | <skill class="Barbarian" rune="Pulverize">Bash</skill></nowiki> | ||
− | |||
+ | ===Passive skills=== | ||
+ | A typical passive skill: | ||
+ | <skill class="DemonHunter">Tactical Advantage</skill> | ||
+ | The code for this is exactly the same as for active skills: | ||
+ | <nowiki><skill class="DemonHunter">Tactical Advantage</skill></nowiki> | ||
− | |||
− | |||
− | |||
− | |||
− | + | This method can also be used to show the passive skill flavor text: | |
− | |||
− | |||
+ | <skill flavor="yes" class="DemonHunter">Tactical Advantage</skill> | ||
− | + | <nowiki><skill flavor="yes" class="DemonHunter">Tactical Advantage</skill></nowiki> | |
− | |||
− | |||
− | + | Making the standard description on a passive skill page: | |
− | + | {{skill description header}} | |
− | + | <skill class="Wizard">Power Hungry</skill> | |
− | + | <skill flavor="yes" class="Wizard">Power Hungry</skill> | |
− | + | <nowiki>{{skill description header}} | |
− | + | <skill class="Wizard">Power Hungry</skill> | |
− | + | <skill flavor="yes" class="Wizard">Power Hungry</skill></nowiki> | |
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Help navbox}} | {{Help navbox}} |
Revision as of 21:14, 13 May 2012
Feel free to do whatever you want with this page =) --Leord 16:24, 27 August 2008 (CEST)
Pasting to preserve -- Elly 04:40, 6 May 2012 (CEST)
Legend: Just use ONE of these variables:
{{Location navbox |main Primary locations, most important ones. |west Western Kingdoms all locations. |east Eastern Kingdoms all locations. |ocean Oceans and Islands. Amazon etc. |sov Areas with their own sovereignty (Kingdoms/Empires). |set Settlements/Cities/Towns/etc. |struc Structures. Man-made (or entity-made) large objects. |geo Geographical features such as rivers, mountains etc. |plane Planes of existence. High Heavens etc. |fan_loc Fan-made locations. }}
Templates used
Locations on Sanctuary and Beyond[e] Act 1 West East Oceans Sovereigns Settlements Structures Geography Other Planes Fanmade |
---|
Contents
====
Headline Top of Page (H1)
Headline 1 (H2)
Headline 2 (H3)
Headline 3 (H4)
Headline 4 (H5)
Headline 5 (H6)
Skill Templates (for editors)
Thanks to Dorjan, skill templates that pull data directly from the DB are now available.
Active skills
A typical Active Skill: <skill class="Barbarian">Bash</skill> The code for this is pretty simple:
<skill class="Barbarian">Bash</skill>
Some skills have a "sub-category", such as Mantra or Shout. An example:
<skill subcat="Bow skill" class="DemonHunter">Hungering Arrow</skill>
This needs just a little more code:
<skill subcat="Bow skill" class="DemonHunter">Hungering Arrow</skill>
A typical skill rune effect:
<skill class="Barbarian" rune="Clobber">Bash</skill>
This is just another variation of the basic code:
<skill class="Barbarian" rune="Clobber">Bash</skill>
So an active skill with rune effects looks like this:
Name | Level | Description |
---|
<skill class="Barbarian">Bash</skill> <skill class="Barbarian" rune="Clobber">Bash</skill> <skill class="Barbarian" rune="Onslaught">Bash</skill> <skill class="Barbarian" rune="Punish">Bash</skill> <skill class="Barbarian" rune="Instigation">Bash</skill> <skill class="Barbarian" rune="Pulverize">Bash</skill>
{{skill description header}} <skill class="Barbarian">Bash</skill> <skill class="Barbarian" rune="Clobber">Bash</skill> <skill class="Barbarian" rune="Onslaught">Bash</skill> <skill class="Barbarian" rune="Punish">Bash</skill> <skill class="Barbarian" rune="Instigation">Bash</skill> <skill class="Barbarian" rune="Pulverize">Bash</skill>
Passive skills
A typical passive skill: <skill class="DemonHunter">Tactical Advantage</skill> The code for this is exactly the same as for active skills:
<skill class="DemonHunter">Tactical Advantage</skill>
This method can also be used to show the passive skill flavor text:
<skill flavor="yes" class="DemonHunter">Tactical Advantage</skill>
<skill flavor="yes" class="DemonHunter">Tactical Advantage</skill>
Making the standard description on a passive skill page:
Name | Level | Description |
---|
<skill class="Wizard">Power Hungry</skill> <skill flavor="yes" class="Wizard">Power Hungry</skill>
{{skill description header}} <skill class="Wizard">Power Hungry</skill> <skill flavor="yes" class="Wizard">Power Hungry</skill>
Wiki Help Index [e] | ||
---|---|---|
• Help Contents • Community Portal |
• Wiki Tools • Article History |
• Glossary • Articles |