Template:Anchor: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Changed protection settings for "Template:Anchor" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<span id="{{{1|}}}">{{{2|}}}</span><noinclude> | <span id="{{{1|}}}">{{{2|}}}</span><noinclude> | ||
==Usage== | ==Usage== | ||
This template | This template adds an invisible HTML anchor to the page, which allows that specific spot to be linked to (like a section but without a section heading). | ||
The | The first parameter is the anchor name. An optional second parameter can be used to add visible text to the page. | ||
==Example== | |||
<code><nowiki>{{anchor|Ignore}}</nowiki></code> on [[MarioWiki:Courtesy]] enables the [[MarioWiki:Courtesy#Ignore]] link to function. | |||
[[Category:Formatting templates]]</noinclude> | [[Category:Formatting templates]]</noinclude> |
Latest revision as of 11:59, December 14, 2024
Usage
This template adds an invisible HTML anchor to the page, which allows that specific spot to be linked to (like a section but without a section heading).
The first parameter is the anchor name. An optional second parameter can be used to add visible text to the page.
Example
{{anchor|Ignore}}
on MarioWiki:Courtesy enables the MarioWiki:Courtesy#Ignore link to function.