Template:Hook: Difference between revisions
No edit summary |
add metadata to hook |
||
Line 19: | Line 19: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</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><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> |
Revision as of 08:43, 11 February 2023
Shortcut to link to the hook article with the Template:TileLink:
{{hook}}
/{{Hook}}
-> Hook
{{hook|hook}}
-> hook
(note the lowercase spelling)
- Deprecated: For translation with link to translated article:
{{hook|Translation|de}}
-> Translation
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
)