Template:A: Difference between revisions

From MZXWiki
Jump to navigation Jump to search
(Template for hidden anchor.)
 
(Added some documentation on how to use this.)
Line 1: Line 1:
<span id="{{{1}}}">{{{content|}}}</span>
<includeonly><span id="{{{1}}}">{{{content|}}}</span></includeonly>
<noinclude>Use this template to create an anchor on a page without a heading<br/>
Usage: <nowiki>{{</nowiki>a|<b>anchor name</b>[|content=<b>optional associated page content</b>]<nowiki>}}</nowiki><br/>
Example:
{| class="wikitable"
|-
|width="50%"|{{a|anchor|content='''This is an anchor'''}}<br/><br/>[[#anchor|A link to the anchor]]
|width="50%"|<pre>{{a|anchor|content='''This is an anchor'''}}
 
[[#anchor|A link to the anchor]]</pre>
|-
|}

Revision as of 20:05, 29 October 2007

Use this template to create an anchor on a page without a heading
Usage: {{a|anchor name[|content=optional associated page content]}}
Example:

This is an anchor



A link to the anchor

{{a|anchor|content='''This is an anchor'''}}

[[#anchor|A link to the anchor]]