Vorlage:Anchor Versionsgeschichte

(Cap change)
K (9 Versionen importiert)
 
(5 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 1: Zeile 1:
<noinclude>'''Documentation:''' This template creates a point on a page that can be linked from other pages. Place the following example code on a page in the spot to which you need to link:
{{#if:{{{1|}}}|<span id="{{{1|}}}"></span>}}<!--
-->{{#if:{{{2|}}}|<span id="{{{2|}}}"></span>}}<!--
-->{{#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">Error in [[Template:Anchor]]: too many anchors, maximum is 10.</span>}}<noinclude>


'''<nowiki>{{</nowiki>Anchor|Name for the link on the page<nowiki>}}</nowiki>'''
{{Documentation}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
Then from another page you can enter the code:
</noinclude>
 
'''<nowiki>[[</nowiki>PageNameWithNewAnchor#Name for the link on the page<nowiki>]]</nowiki>'''
 
or if it is on the current page you can alternately use:
 
'''<nowiki>[[</nowiki>#Name for the link on the page<nowiki>]]</nowiki>'''
 
Note that both entries can also use the pipe (|) to display alternate text to the user instead of the actual link name.
 
{{TemplateNotDisplayed}}
 
</noinclude><span id="{{{1|}}}"></span>

Aktuelle Version vom 19. Juni 2016, 20:38 Uhr