Difference between revisions of "Template:Anchor"
From Maths
(Creating anchor template, based off an old version (pre lua) from Wikipedia.) |
m (Minor tidyup) |
||
Line 9: | Line 9: | ||
-->{{#if:{{{9|}}}|<span id="{{{9|}}}"></span>}}<!-- | -->{{#if:{{{9|}}}|<span id="{{{9|}}}"></span>}}<!-- | ||
-->{{#if:{{{10|}}}|<span id="{{{10|}}}"></span>}}<!-- | -->{{#if:{{{10|}}}|<span id="{{{10|}}}"></span>}}<!-- | ||
− | -->{{#if:{{{11|}}}|{{Warning|[[Template:Anchor]]: too many anchors, maximum is 10.}}}}<noinclude> | + | -->{{#if:{{{11|}}}|{{Warning|[[Template:Anchor]]: too many anchors, maximum is 10.}}}}<noinclude>{{Anchor/Description}} |
− | + | ||
− | {{Anchor/Description}} | + | |
</noinclude> | </noinclude> |
Latest revision as of 12:08, 20 April 2016
Purpose
The anchor template is used to create HTML anchors to text. For mediawiki any headings are anchorable by default, but as this old version of the page "relation" shows (compared to the current page relation) lists using headings of properties look rather awful, and a table is much neater. Using this template, you can now "anchor" to parts of a table, which is the main use.