Template:CombatPet/doc: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
* '''attackspeed{n}''' - The attack speed value | * '''attackspeed{n}''' - The attack speed value | ||
* '''maxhit{n}''' - The maximum hit value | * '''maxhit{n}''' - The maximum hit value | ||
* '''source{n}''' - Where the pet is obtained from (will be linked) | * '''source{n}''' - Where the pet is obtained from (will be linked automatically) | ||
* '''specialeffect{n}''' - Any special abilities or effects the pet has | * '''specialeffect{n}''' - Any special abilities or effects the pet has | ||
===Example=== | |||
Below is an example of the syntax, and the resulting table that is created. | |||
<pre> | |||
{{CombatPet | |||
|pet1=Vorki | |||
|image1= Vorki.png | |||
|tier1=90 | |||
|attackspeed1=6 | |||
|maxhit1=40 | |||
|source1=Vorkath | |||
|specialeffect1=Venom | Dragonfire | |||
}} | |||
</pre> | |||
{{CombatPet | |||
|pet1=Vorki | |||
|image1= Vorki.png | |||
|tier1=90 | |||
|attackspeed1=6 | |||
|maxhit1=40 | |||
|source1=Vorkath | |||
|specialeffect1=Venom | Dragonfire | |||
}} |
Revision as of 03:32, 27 February 2025
CombatPet Template Variables
- pet{n} - The name of the pet
- image{n} - The image filename
- tier{n} - The tier of the pet
- attackspeed{n} - The attack speed value
- maxhit{n} - The maximum hit value
- source{n} - Where the pet is obtained from (will be linked automatically)
- specialeffect{n} - Any special abilities or effects the pet has
Example
Below is an example of the syntax, and the resulting table that is created.
{{CombatPet |pet1=Vorki |image1= Vorki.png |tier1=90 |attackspeed1=6 |maxhit1=40 |source1=Vorkath |specialeffect1=Venom | Dragonfire }}
Pet | Tier | Attack Speed | Max Hit | Source | Special Effect | |
---|---|---|---|---|---|---|
![]() |
Vorki | 90 | 6 | 40 | Vorkath | Venom |