Template:CombatPet/doc: Difference between revisions

From August Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=How to use this Template=
=How to use this Template=
==Syntax==
==Syntax==
Templates are called using the variable <pre>{{TemplateName}}</pre>
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.


Replace "TemplateName" with the name of the template.
==CombatPet Template Parameters==
Inside of the variable you'll enter parameters to fill in the template with the appropriate information.
Replace <code>n</code> with the number of the pet. The table supports multiple lines, broken down by pet1, pet2, etc.
 
==CombatPet Template Variables==


* '''pet{n}''' - The name of the pet
* '''pet{n}''' - The name of the pet
Line 39: 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