Template:CombatPet/doc: Difference between revisions

From August Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
=How to use this Template=
==Syntax==
Templates are called using the variable <pre>{{TemplateName}}</pre>
Replace "TemplateName" with the name of the template.
Inside of the variable you'll enter parameters to fill in the template with the appropriate information.
==CombatPet Template Variables==
==CombatPet Template Variables==


Line 9: Line 16:
* '''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>

Revision as of 04:05, 13 March 2025

How to use this Template

Syntax

Templates are called using the variable

{{TemplateName}}

Replace "TemplateName" with the name of the template. Inside of the variable you'll enter parameters to fill in the template with the appropriate information.

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 Venom