Template:VLAnchor/doc
Jump to navigation
Jump to search
- Description
- The Visible Linked Anchor template is used to 1.) provide a page anchor to a body of text, 2.) display the anchor name, and 3.) provide a link to the wiki article of the same name. The display text may optionally be changed, but the link always matches the anchor name. (See Quuz and Bazban below for that.)
- Parameters
These parameters are set order-wise. They do not have names. The more parameters are used, the more advisable it is to use {{VAnchor}} or {{Anchor}}.
- First Parameter
anchor name
- The text following the hash/pound sign (#) in the dontstarve.fandom.com link.
- (Optional) Second Parameter
link target
- The name of the page the link navigates to.
- Default value: Equal to anchor name
- Examples
{{VLAnchor|Foobar}}
yields: Foobar
{{VLAnchor|Qux|Dolor sit amet}}
yields: Dolor sit amet
- {{VLAnchor}} cannot achieve the following (similar) usage
{{Anchor|Quuz}}[[Lorem Ipsum|Dolor sit amet]]
yields: Dolor sit amet- Anchor: [[#Quuz]]
anchor != target != text
{{Anchor|Bazban}}[[Lorem Ipsum]]
yields: Lorem Ipsum- Anchor: [[#Bazban]]
anchor != target = text
- See also