Template:Hook: Difference between revisions

From DDraceNetwork
No edit summary
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 4: Line 4:
* <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)
* Deprecated: For translation with link to translated article: <code><nowiki>{{hook|Translation|de}}</nowiki></code> -> {{hook|Translation|de}}


==See also==
==See also==
Line 18: Line 17:


[[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>

Latest revision as of 19:41, 14 March 2023

Shortcut to link to the hook article with the Template:TileLink:

  • {{hook}}/{{Hook}} -> Hook
  • {{hook|hook}} -> hook (note the lowercase spelling)

See also