Difference between revisions of "Template:S"

From Legends of Hyrule
Jump to navigationJump to search
(automatic categorization of creatures)
m
 
Line 1: Line 1:
<includeonly>''[[Spell:{{{1|}}}|{{LC:{{{1|}}}}}]]''{{#ifeq:{{{2|}}}|nocat| | {{#if:{{{nocat|}}}| |{{#ifeq:{{NAMESPACE}}|Creature|[[Category:Creatures able to cast {{LC:{{{1|}}}}}]]}}}}}}</includeonly><noinclude>
+
<includeonly>''[[{{{1|}}} (spell)|{{LC:{{{1|}}}}}]]''{{#ifeq:{{{2|}}}|nocat| | {{#if:{{{nocat|}}}| |{{#ifeq:{{NAMESPACE}}|Creature|[[Category:Creatures able to cast {{LC:{{{1|}}}}}]]}}}}}}</includeonly><noinclude>
 
==Usage==
 
==Usage==
 
When this is entered:
 
When this is entered:

Latest revision as of 19:30, 20 October 2019

Usage

When this is entered:

{{S|Magic Missile}}

The template will normally become this:

''[[Spell:Magic Missile|magic missile]]''

On a page belonging to the Creature namespace, the template will instead become this:

''[[Spell:Magic Missile|magic missile]][[Category:Creatures able to cast magic missile]]

To prevent the page from being automatically categorized, use the following format instead:

{{S|Magic Missile|nocat}}