Template:AtLevelCap

From Lotro-Wiki.com
Jump to navigation Jump to search
This is the template documentation for {{AtLevelCap}}. It is transcluded from Template:AtLevelCap/doc and may be directly edited there.

Description

This template is used to only display information if the specified level cap matches the current level cap.

If the level cap specified does not equal the current level cap, the template will instead display:

(Outdated: Level Cap increased)

In such cases it will also automatically add the article into Category:Stubs/Outdated.

Usage

{{AtLevelCap|115|This data will display if the Level Cap is 115.}}

Parameters

The mandatory parameters in this template are positional (not named or numbered):

First Parameter (Required)
The level cap at the time of entering the data.
Second Parameter (Required)
The data to display.
nocat (Optional)
Put any value into this category to prevent outdated information from automatically adding the article to Category:Stubs/Outdated.

Examples

Source:

{{AtLevelCap|65|451,413}}

Result:

(Outdated: Level Cap increased)

This will also put the article into Category:Stubs/Outdated.

Source:

{{AtLevelCap|{{Level Cap}}|This data will always display, which is useful as an example but defeats the purpose of the template.}}

Result:

This data will always display, which is useful as an example but defeats the purpose of the template.