Difference between revisions of "Template:Anchor"
From Starfleet Commander
Jump to navigationJump to searchm |
m (→Usage) |
||
Line 15: | Line 15: | ||
*: This creates text to display at the location of the template | *: This creates text to display at the location of the template | ||
− | In order to access this link anchor, use [[{{ | + | In order to access this link anchor, use <nowiki>[[</nowiki>[[{{FULLPAGENAME}}#{{{1|parameter1}}}|examplepagename#parameter1]]<nowiki>]]</nowiki> |
==Example== | ==Example== |
Revision as of 23:02, 19 September 2011
<span id="Missing reqired parameter">
Functonality
Creates an HTML anchor.
This template is used for a single tag.
{{Anchor|id|Text to display}}
Usage
- parameter1 — required
- This indicates the name of the HTML anchor
- parameter2 — optional
- This creates text to display at the location of the template
In order to access this link anchor, use [[examplepagename#parameter1]]
Example
{{Anchor|parameter1|parameter2}}
parameter2
}}