Template

Anchor

From Dogcraft Wiki

mNo edit summary
m (Added category: Tool templates)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span class="noexcerpt" id="{{{1}}}"></span>
<span class="noexcerpt anchor {{{class|}}}" id="{{{1}}}"></span><noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
Line 10: Line 9:
"type": "string",
"type": "string",
"required": true
"required": true
},
"class": {
"label": "Class",
"description": "This property may be used to expand the base classlist (anchor and noexcerpt)",
"type": "string"
}
}
},
},
"description": "Creates link anchor on the page for easier navigation. (Anchors can be jumped to using https://pageurl#anchorname)",
"description": "Creates link anchor on the page for easier navigation. (Anchors can be jumped to using https://pageurl#anchorname)",
"paramOrder": [
"paramOrder": [
"1"
"1",
"class"
],
],
"format": "inline"
"format": "inline"
}
}
</templatedata>
</templatedata>[[Category:Tool templates]]
</noinclude>
</noinclude>

Latest revision as of 10:54, 4 December 2023

Creates link anchor on the page for easier navigation. (Anchors can be jumped to using https://pageurl#anchorname)

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name1

This is the text that may be added to the end of a link after a "#" to jump to the anchor's position (eg.: https://dogcraft.net/wiki/Pagename#anchorname)

Example
History
Stringrequired
Classclass

This property may be used to expand the base classlist (anchor and noexcerpt)

Stringoptional