Template:Hook: Difference between revisions
Add hook template |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
* <code><nowiki>{{hook}}</nowiki></code>/<code><nowiki>{{Hook}}</nowiki></code> -> {{hook}} | * <code><nowiki>{{hook}}</nowiki></code>/<code><nowiki>{{Hook}}</nowiki></code> -> {{hook}} | ||
* <code><nowiki>{{hook|hook}}</nowiki></code> -> {{hook|hook}} (note the lowercase spelling) | * <code><nowiki>{{hook|hook}}</nowiki></code> -> {{hook|hook}} (note the lowercase spelling) | ||
==See also== | ==See also== | ||
Line 19: | Line 17: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude><includeonly>[[File:Hook-diag.png|32px|link={{#if:{{{2|}}}|Hook/{{{2}}}|Hook}}]] [[{{#if:{{{2|}}}|Hook/{{{2}}}|Hook}}|{{#if:{{{1|}}}|{{{1}}}|Hook}}]]<includeonly> | </noinclude><includeonly>[[File:Hook-diag.png|32px|link={{#if:{{{2|}}}|Hook/{{{2}}}|Special:MyLanguage/Hook}}]] [[{{#if:{{{2|}}}|Hook/{{{2}}}|Special:MyLanguage/Hook}}|{{#if:{{{1|}}}|{{{1}}}|Hook}}]]<includeonly><noinclude> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"aliases": [ | |||
"text" | |||
], | |||
"label": "The text to display.", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"hook" | |||
], | |||
"default": "Hook" | |||
}, | |||
"2": { | |||
"aliases": [ | |||
"language" | |||
], | |||
"label": "The language.", | |||
"description": "Before using the translate extension, this was required to link to the proper translated page.", | |||
"example": "de", | |||
"type": "string", | |||
"deprecated": "Please don't use this parameter anymore as it isn't needed." | |||
} | |||
}, | |||
"description": "Displays a hook icon linking to the hook page." | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 19:41, 14 March 2023
Shortcut to link to the hook article with the Template:TileLink:
See also
- Template:Hammer (
{{hammer}}
-> Hammer) - Template:Pistol (
{{pistol}}
-> Pistol) - Template:Shotgun (
{{shotgun}}
-> Shotgun) - Template:Grenade (
{{grenade}}
-> Grenade) - Template:Laser (
{{laser}}
-> Laser) - Template:Ninja (
{{ninja}}
-> Ninja)
- Template:Hook (
{{hook}}
-> Hook)