Template:CombatPet/doc: Difference between revisions

From August Wiki
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
==CombatPet 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 9: Line 15:
* '''specialeffect{n}''' - Any special abilities or effects the pet has
* '''specialeffect{n}''' - Any special abilities or effects the pet has


===Example===
==Example==
Below is an example of the syntax, and the resulting table that is created.
Below is an example of the syntax, and the resulting table that is created.
<pre>
<pre>
Line 32: Line 38:
|specialeffect1=Venom | Dragonfire
|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