Template:MageWitchLink
Jump to navigation
Jump to search
Description
Creates translatable link for Mage & Witch expansion
Names used for link are defined in template Template:MageWitchName..
Documentation generated by Template:ExpansionLinkDocumentation.
Params
variant
(optional) [long
|short
|number
|numbered
|-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 |
---|---|
{{MageWitchLink}} |
Mage & Witch |
{{MageWitchLink|logo=hide}} |
Mage & Witch |
{{MageWitchLink|logo=noborder}} |
Mage & Witch |
{{MageWitchLink|text=some text}} |
some text |
{{MageWitchLink|variant=long}} | Mini #5 - Mage & Witch |
{{MageWitchLink|variant=numbered}} | Mini #5 - Mage & Witch |
{{MageWitchLink|variant=number}} | Mini #5 |
{{MageWitchLink|variant=short}} |
Mage & Witch |
{{MageWitchLink|linkonly=true}} |
Mage and Witch |
{{MageWitchLink|linkonly=true|anchor=example}} |
Mage and Witch#example |
{{MageWitchLink|text=''}} |
Wiki | Output |
---|---|
{{MageWitchLink|edition=C1}} |
Mage & Witch |
{{MageWitchLink|logo=hide|edition=C1}} |
Mage & Witch |
{{MageWitchLink|logo=noborder|edition=C1}} |
Mage & Witch |
{{MageWitchLink|text=some text|edition=C1}} |
some text |
{{MageWitchLink|variant=sorting|edition=C1}} | Mage & Witch |
{{MageWitchLink|variant=short|edition=C1}} |
Mage & Witch |
{{MageWitchLink|edition=C1|text={{MageWitchName|edition=C1}} C1}} | Mage & Witch C1 |
{{MageWitchLink|edition=C1|linkonly=true}} |
Mage and Witch (1st edition) |
{{MageWitchLink|edition=C1|linkonly=true|anchor=example}} |
Mage and Witch (1st edition)#example |
{{MageWitchLink|edition=C1|text=''}} |