Template:Anchor: Difference between revisions

From Xen
Jump to navigationJump to search
(Created page with "{{#if:{{{1|}}}|<span id="{{{1|}}}"></span>}}<!-- -->{{#if:{{{2|}}}|<span id="{{{2|}}}"></span>}}<!-- -->{{#if:{{{3|}}}|<span id="{{{3|}}}"></span>}}<!-- -->{{#if:{{{4|}}}|<span i…")
 
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#if:{{{1|}}}|<span id="{{{1|}}}"></span>}}<!--
<span id="{{{1}}}"></span><noinclude>
{{documentation}}
-->{{#if:{{{2|}}}|<span id="{{{2|}}}"></span>}}<!--
[[Category:Templates]]
-->{{#if:{{{3|}}}|<span id="{{{3|}}}"></span>}}<!--
-->{{#if:{{{4|}}}|<span id="{{{4|}}}"></span>}}<!--
-->{{#if:{{{5|}}}|<span id="{{{5|}}}"></span>}}<!--
-->{{#if:{{{6|}}}|<span id="{{{6|}}}"></span>}}<!--
-->{{#if:{{{7|}}}|<span id="{{{7|}}}"></span>}}<!--
-->{{#if:{{{8|}}}|<span id="{{{8|}}}"></span>}}<!--
-->{{#if:{{{9|}}}|<span id="{{{9|}}}"></span>}}<!--
-->{{#if:{{{10|}}}|<span id="{{{10|}}}"></span>}}<!--
-->{{#if:{{{11|}}}|<span class="error">[[Template:Anchor]] (or Anchors): too many anchors, maximum is 10.</span>}}

<noinclude>
[{Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 19:50, 29 November 2011

[edit] [purge] Template documentation

Usage

{{Anchor|<anchor label>}}

For example

{{Anchor|example}}

Which can then be referenced by

[[#example|goto example]]
[[Template:Anchor/doc#example|also goto example]]

Links to various anchors

The above documentation is transcluded from Template:Anchor/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.