Template:Anchor: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[unchecked revision][checked revision]
m (1 revision imported)
No edit summary
 
Line 7: Line 7:
The template has one unnamed obligatory parameter for the depicted content.
The template has one unnamed obligatory parameter for the depicted content.
===Dependencies===
===Dependencies===
The template is independent of othe attributes. There is a big number of templates building on it, eg [[Template:InheritVersion]].
The template is independent of othe attributes.


==Example==
==Example==
Line 22: Line 22:
{{anchor|second}}
{{anchor|second}}


[[Category:MarkupTemplate]]</noinclude>
[[Category:MarkupTemplate]]
{{interwiki}}
</noinclude>

Latest revision as of 17:30, 20 November 2023

Usage

This template crates an anchor.

The anchor #target bellow can be called with [[#target]] within this page and with [[template:Anchor#target]] globally

Parameters

The template has one unnamed obligatory parameter for the depicted content.

Dependencies

The template is independent of othe attributes.

Example

{{anchor|target|Target}}

delivers

Target

{{anchor|second}}

delivers