Neidio i'r cynnwys

Nodyn:Section

Oddi ar Wicipedia

Documentation icon Dogfennaeth nodyn

Functonality

Creates an HTML anchor.

This template is largely equivalent to the more widely used {{Anchor}} template when used for a single tag. That is, "{{Section|id123|Text to display}}" is equivalent to "{{Anchor|id123}}Text to display". However, {{Anchor}} accepts multiple anchor names and this carries a performance penalty, so {{Section}} may be preferable if server performance is more important than reducing the number of templates new users have to learn.

Usage

{{section|parameter1|parameter2}}

  • 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

{{section|parameter1|parameter2}}

parameter2

See also