Template:CombatPet/doc: Difference between revisions

From August Wiki
Jump to navigation Jump to search
Created page with "==Pet 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) * '''specialeffect{n}''' - Any special abilities or effects the pet has"
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Pet Template Variables==
=How to use this Template=
==Syntax==
To make an entry for a Combat Pet, use the Template call <pre>{{CombatPet}}</pre>
Inside of the template you'll enter parameters to fill in the template with the appropriate information.
 
==CombatPet Template Parameters==
Replace <code>n</code> with the number of the pet. The table supports multiple lines, broken down by pet1, pet2, etc.


* '''pet{n}''' - The name of the pet
* '''pet{n}''' - The name of the pet
Line 6: Line 12:
* '''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
}}
[[Category:Templates]]

Latest revision as of 02:49, 16 March 2025

How to use this Template

Syntax

To make an entry for a Combat Pet, use the Template call

{{CombatPet}}

Inside of the template you'll enter parameters to fill in the template with the appropriate information.

CombatPet Template Parameters

Replace n with the number of the pet. The table supports multiple lines, broken down by pet1, pet2, etc.

  • 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 Venom