Nodyn:Section
Gwedd
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}}
- parameter1 — required
- This indicates the name of the HTML anchor
- parameter2 — optional
- 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
- {{Anchor}}
Gall golygyddion arbrofi yn y tudalennau pwll tywod (creu | drych) a testcases (creu). Is-dudalennau'r nodyn hwn. |