Template:HasStrategy

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Template documentation
This documentation is transcluded from Template:HasStrategy/doc. [edit] [history] [purge]

This template determines whether a given page has a strategy page and provides a link to it.

Usage

This template can be used by placing {{HasStrategy}} on an article, which produces:

Invasion plans.png
This article has a strategy guide.
All information on mechanics, setups, and tactics is on the subpage.

If a hard mode exists, placing {{HasStrategy|hard=yes}} on an article produces:

Invasion plans.png
This article has a strategy guide (hard mode).
All information on mechanics, setups, and tactics is on the subpages.

If the subpage for strategies is under a different title, placing {{HasStrategy|page1=Cabbage}} on an article produces:

Invasion plans.png
This article has a strategy guide.
All information on mechanics, setups, and tactics is on the subpage.

If the subpage for hard mode strategies is under a different title, placing {{HasStrategy|hard=y|page2=Onion}} on an article produces:

Invasion plans.png
This article has a strategy guide (hard mode).
All information on mechanics, setups, and tactics is on the subpages.

See also

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

This template determines whether a given page has a strategy page and provides a link to it.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Articlepage1

Provides a link to a strategy guide, if it is on a different page

Default
empty
Example
Cabbage
Auto value
empty
Stringoptional
Hardmodehard

Use if a hardmode exists

Default
empty
Example
yes
Auto value
empty
Stringoptional
Hardmode articlepage2

Used with hard=yes, provides a link to a hardmode guide

Default
empty
Example
Onion
Auto value
empty
Stringoptional