Template

Anchor

From Dogcraft Wiki

No edit summary
m (added class property for exapnding classlist)
Line 1: Line 1:
<span class="noexcerpt anchor" id="{{{1}}}"></span><noinclude>
<span class="noexcerpt anchor {{{class|}}}" id="{{{1}}}"></span><noinclude>
<templatedata>
<templatedata>
{
{
Line 9: 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"

Revision as of 20:40, 3 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
This page was last modified on 3 December 2023, at 20:40. (6 months ago)