Difference between revisions of "Template:Anchor"

From Starfleet Commander
Jump to navigationJump to search
m
Line 15: Line 15:
 
*: This creates text to display at the location of the template
 
*: This creates text to display at the location of the template
  
In order to access this link anchor, use [[{{PAGENAME}}#{{parameter1|examplepagename#parameter1}}]]
+
In order to access this link anchor, use <nowiki>[[</nowiki>[[{{FULLPAGENAME}}#{{{1|parameter1}}}|examplepagename#parameter1]]<nowiki>]]</nowiki>
  
 
==Example==
 
==Example==

Revision as of 23:02, 19 September 2011

<span id="Missing reqired parameter">

Functonality

Creates an HTML anchor.

This template is used for a single tag.

{{Anchor|id|Text to display}}

Usage

Template:Tlx

  • parameter1required
    This indicates the name of the HTML anchor
  • parameter2optional
    This creates text to display at the location of the template

In order to access this link anchor, use [[examplepagename#parameter1]]

Example

{{Anchor|parameter1|parameter2}}

parameter2


}}