Template:PrincessDragonLink/en
Jump to navigation
Jump to search
Description
Creates translatable link for The Princess & the Dragon expansion
Names used for link are defined in template Template:PrincessDragonName. Check translated Template:PrincessDragonName/en.
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 |
---|---|
{{PrincessDragonLink}} |
The Princess & the Dragon |
{{PrincessDragonLink|logo=hide}} |
The Princess & the Dragon |
{{PrincessDragonLink|logo=noborder}} |
The Princess & the Dragon |
{{PrincessDragonLink|text=some text}} |
some text |
{{PrincessDragonLink|variant=long}} | Exp. 3 - The Princess & the Dragon |
{{PrincessDragonLink|variant=numbered}} | 3. The Princess & the Dragon |
{{PrincessDragonLink|variant=number}} | Exp. 3 |
{{PrincessDragonLink|variant=short}} |
P&D |
{{PrincessDragonLink|linkonly=true}} |
The_Princess_and_The_Dragon |
{{PrincessDragonLink|linkonly=true|anchor=example}} |
The_Princess_and_The_Dragon#example |
{{PrincessDragonLink|text=''}} |
Wiki | Output |
---|---|
{{PrincessDragonLink|edition=C1}} |
The Princess & the Dragon |
{{PrincessDragonLink|logo=hide|edition=C1}} |
The Princess & the Dragon |
{{PrincessDragonLink|logo=noborder|edition=C1}} |
The Princess & the Dragon |
{{PrincessDragonLink|text=some text|edition=C1}} |
some text |
{{PrincessDragonLink|variant=sorting|edition=C1}} | The Princess & the Dragon |
{{PrincessDragonLink|variant=short|edition=C1}} |
P&D |
{{PrincessDragonLink|edition=C1|text={{PrincessDragonName|edition=C1}} C1}} | The Princess & the Dragon C1 |
{{PrincessDragonLink|edition=C1|linkonly=true}} |
The_Princess_and_The_Dragon_(1st_edition) |
{{PrincessDragonLink|edition=C1|linkonly=true|anchor=example}} |
The_Princess_and_The_Dragon_(1st_edition)#example |
{{PrincessDragonLink|edition=C1|text=''}} |