Jump to content

Template:Anchor: Difference between revisions

From The Austrian Economics Wiki, the global repository of classical-liberal thought
m rm extra closes
m attempt empty span element
Line 1: Line 1:
<!--
<!--
-->{{#if:{{{ 1|}}}|<span id="{{{ 1|}}}" /><!--
-->{{#if:{{{ 1|}}}|<span id="{{{ 1|}}}"></span><!--
-->{{#if:{{{ 2|}}}|<span id="{{{ 2|}}}" /><!--
-->{{#if:{{{ 2|}}}|<span id="{{{ 2|}}}" /><!--
-->{{#if:{{{ 3|}}}|<span id="{{{ 3|}}}" /><!--
-->{{#if:{{{ 3|}}}|<span id="{{{ 3|}}}" /><!--

Revision as of 22:30, 10 March 2011

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Used to create an anchor point in text that allows for wikilinks.

{{anchor|point}} creates the anchor named point. This can then be linked to from the same or another page using a link like this: [[Page#point]]. This template does not create visible text: the anchor will be invisible to the reader. For visible text, use {{Anchor+}}.

Multiple anchors

Anchor can carry 10 variables

{{anchor|point1|point2|point3|...|point10}}

Thus this anchor is reachable by any of the links [[Page#point1]], [[Page#point2]], etc.