How to use Templates

From LOS Warmachine University
Jump to: navigation, search
Help & Contribute (Edit)
Before You Start Editor's Creed - Wikicode for Beginners - How to use Templates
Existing Entries Advice on what sort of content should go under each heading - Style Guide
Setting up new entries New models - New ability, spell, etc
Other Report a Bug - Request a Feature - Template Help

What is a Template?[edit]

Strictly speaking, when you're discussing "Templates" on a wiki it means any page which is inserted as content onto another page.

However, on this Battle College wiki, when we say "Template" we (mostly) just mean the rules summaries that we have created for special rules in the game. The purpose of these templates is to provide a short and sweet summary of the in-game effects, so readers can quickly review the model's abilities. It also saves us time, provides consistency, and auto-categorises models by their abilities.

How to Misuse Templates[edit]

Ambox warning red.png

Warning!
Read this section, don't skip ahead to "How to Use".

Using a template when you should use a link[edit]

I'm seeing a lot of people mis-using the templates and inserting them into the middle of paragraphs. Remember, if you want to insert a template use the curvy brackets { , if you want to insert a link use square brackets [

  • Good example
His feat now gives [[Overtake]] to faction models, which is great for chewing through enemy infantry.
His feat now gives Overtake to faction models, which is great for chewing through enemy infantry.
  • Bad example
His feat now gives {{Overtake}} to faction models, which is great for chewing through enemy infantry.
His feat now gives Overtake - When this model destroys one or more enemy models with a basic melee attack during its Combat Action, after the attack is resolved it can immediately advance up to 1". to faction models, which is great for chewing through enemy infantry.

Inserting superfluous content into templates[edit]

Every extra sentence you put into a template is an extra sentence that appears in every model. If you fill the template up with "tips" and "clarifications" then you are going to completely undo the purpose of us setting up "short and sweet" summaries.

If you want to add that sort of information then feel free to add it to the page's category instead. For instance, add info to Category: Spell Slave not Template: Spell Slave.

Correctly using Templates[edit]

This page is to teach new users how to use the "basic" templates available on this wiki.


Types of Templates[edit]

Abilities/Spell/Etc[edit]

You can insert any ability, spell, animus, etc into a page by simply inserting {{Ability name}}. For instance, inserting {{Undead}} will cause ...
Undead - This model is an undead model and not a living model.
... to be inserted into the page.

When you insert an ability into a model's page, please also insert {{RC ability name}} at the bottom of the page. Most RC are currently placeholders, but adding them now saves time later.


Tip lightbulb.png

Tip !
If the text shows up red, such as Template:Example Ability then that means no one has created that ability yet. You can set it up yourself by following the instructions on Setting up a new ability/spell/etc page


Variations on abilities can be inserted by using the following naming scheme:

  • {{Ability}}
  • {{Ability Attack}}
  • {{Ability Action}}
  • {{Critical Ability}}
  • {{Chain Attack Ability}}
  • {{Combo Ability}}
Example code Example displayed
{{Smite}} Smite - A model directly hit by this attack can be slammed d6" directly away from this model. If the model hit has a larger base than the attacking model, it is moved only half the distance rolled. The POW of collateral damage is equal to {{{1}}}
{{Smite Attack}} Smite (★ Attack) - The model hit is slammed d6" directly away from this model. If the model hit has a larger base than the attacking model, it is moved only half the distance rolled. The POW of collateral damage is equal to the STR of this model.
{{Smite Action}} Smite (★ Action) - Model hit is slammed. The slam damage roll has the POW added, but collateral damage has no POW added.
{{Critical Smite}} Critical Smite - On a critical hit, the model hit can be slammed d6" directly away from this model. If the model hit has a larger base than the attacking model, it is moved only half the distance rolled. The POW of collateral damage is equal to the STR of this model.
{{Combo Smite}} Combo Smite (★ Attack) - 1) The model hit is slammed d6" directly away from this model. If the model hit is on a larger base, halve the distance. 2) The slam damage roll is 2d6 + STR + 2x POW. Collateral damage is 2d6 + STR.
{{Chain Attack Smite}} Chain Attack: Smite - If both initials with this weapon hit the same target, then after resolving the second initial you get to make a free 3rd melee attack vs it. If the 3rd attack hits, the target is slammed d6" directly away from this model. If the model hit has a larger base than the attacking model, it is moved only half the distance rolled. The POW of collateral damage is equal to the STR of this model.

Placeholder template[edit]

{{PH}}

You can insert a 'Placeholder' and tag the page with the Category:Placeholder by simply adding {{PH}}


"Stamps"[edit]

Example code Example displayed
{{Recent Release}}
Recent Release icon.jpg

Recent Release
This model/theme has only recently been released, and the content in the "Thoughts On" section is based more on theory-machine than actual gameplay experience.

Feel free to remove this warning if you, personally, have a good level of gameplay experience with the model, have reviewed this article, and either you A) agree with the content 100% or B) for the parts you disagree with, you don't strongly disagree; and it's more a case of differing opinions between you and previous editors rather than incorrect content / bad advice.

{{Spoilers}}
Spoilers icon.jpg

Spoilers only
The only information released about this model is spoilers (so far).

Editable- Pop up boxes[edit]

Template Description Example code Example displayed
{{Infobox|CONTENT}} Template:Infobox {{Infobox|Hi, I'm information}}
Info icon.png

Hi, I'm information

{{Impbox|CONTENT}} Template:Impbox {{Impbox|Don't drink the coolaid}}
Ambox warning orange.png

Important
Don't drink the coolaid

{{Warnbox|CONTENT}} Template:Warnbox {{Warnbox|Don't go chasing waterfalls}}
Ambox warning red.png

Warning!
Don't go chasing waterfalls

|{{Tipbox|CONTENT}} Template:Tipbox {{Tipbox|A penny saved is a penny earned}}
Tip lightbulb.png

Tip !
A penny saved is a penny earned

{{SamePage|CONTENT}} Template:SamePage {{SamePage|* [[Hunter|Hunter, the Cygnar warjack]] * [[:Category:Hunter|Hunter, the model ability]]}}
SamePageIcon.jpg

You may be looking for one of these:


Info icon.png

See also: Template Help for instructions for specific templates