Template:Anchor: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Robot: Changing Category:Formatting Templates to Category:Formatting templates)
mNo edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<span id="{{{1}}}">{{{2|}}}</span><noinclude>
<span id="{{{1|}}}">{{{2|}}}</span><noinclude>
==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).


==Usage==
The first parameter is the anchor name. An optional second parameter can be used to add visible text to the page.
This template is used to anchor a section link in specific parts of pages, mostly in table entries with large amounts of links to the table. Full credit for this design goes to [[bulbapedia:Main Page|Bulbapedia]], and the original template can be found [[bulbapedia:Template:Anchor|here]].
 
==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.