Template:HalflingsLink
Revision as of 17:43, 29 November 2022 by Bumsakalaka (talk | contribs)
Description
Creates translatable link for Halflings expansion
Names used for link are defined in template Template:HalflingsName.
Documentation generated by Template:ExpansionLinkDocumentation.
Params
variant
(optional) [sorting
|short
|-empty-
] see Examples
edition
(optional) [C1
|-empty-
] use C1, C2, C3 edition, which can affect name of expansionlogo
(optional) [hide
|noborder
|-empty-
] visualization of logo, see Examplestext
(optional) allow to change text of linkanchor
(optional) link will include also #anchor to specific part of page. This is NOT language neutral!linkonly
(optional). [true
|false
] Whentrue
return only link with anchor. Widely used in Template:Feature, Template:Figure and Template:Piece.
Examples
The output is generated by the buffer, after the change it is necessary to wait for a while)
Wiki | Output |
---|---|
{{HalflingsLink}} |
Halflings |
{{HalflingsLink|logo=hide}} |
Halflings |
{{HalflingsLink|logo=noborder}} |
Halflings |
{{HalflingsLink|text=some text}} |
some text |
{{HalflingsLink|variant=sorting}} | Halflings |
{{HalflingsLink|variant=short}} |
Halflings |
{{HalflingsLink|linkonly=true}} |
Halflings |
{{HalflingsLink|linkonly=true|anchor=example}} |
Halflings#example |
{{HalflingsLink|text=''}} |
Wiki | Output |
---|---|
{{HalflingsLink|edition=C1}} |
Halflings |
{{HalflingsLink|logo=hide|edition=C1}} |
Halflings |
{{HalflingsLink|logo=noborder|edition=C1}} |
Halflings |
{{HalflingsLink|text=some text|edition=C1}} |
some text |
{{HalflingsLink|variant=sorting|edition=C1}} | Halflings |
{{HalflingsLink|variant=short|edition=C1}} |
Halflings |
{{HalflingsLink|edition=C1|text={{HalflingsName|edition=C1}} C1}} | Halflings C1 |
{{HalflingsLink|edition=C1|linkonly=true}} |
Halflings_(1st_edition) |
{{HalflingsLink|edition=C1|linkonly=true|anchor=example}} |
Halflings_(1st_edition)#example |
{{HalflingsLink|edition=C1|text=''}} |