Template:PrintPlayDemoLink
Jump to navigation
Jump to search
Description
Creates translatable link for Print-and-Play Demo expansion
Names used for link are defined in template Template:PrintPlayDemoName..
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 |
---|---|
{{PrintPlayDemoLink}} |
Print-and-Play Demo |
{{PrintPlayDemoLink|logo=hide}} |
Print-and-Play Demo |
{{PrintPlayDemoLink|logo=noborder}} |
Print-and-Play Demo |
{{PrintPlayDemoLink|text=some text}} |
some text |
{{PrintPlayDemoLink|variant=sorting}} | Print-and-Play Demo |
{{PrintPlayDemoLink|variant=short}} |
PnP Demo |
{{PrintPlayDemoLink|linkonly=true}} |
Print-and-Play_Demo |
{{PrintPlayDemoLink|linkonly=true|anchor=example}} |
Print-and-Play_Demo#example |
{{PrintPlayDemoLink|text=''}} |
Wiki | Output |
---|---|
{{PrintPlayDemoLink|edition=C2}} |
Print-and-Play Demo |
{{PrintPlayDemoLink|logo=hide|edition=C2}} |
Print-and-Play Demo |
{{PrintPlayDemoLink|logo=noborder|edition=C2}} |
Print-and-Play Demo |
{{PrintPlayDemoLink|text=some text|edition=C2}} |
some text |
{{PrintPlayDemoLink|variant=sorting|edition=C2}} | Print-and-Play Demo |
{{PrintPlayDemoLink|variant=short|edition=C2}} |
PnP Demo |
{{PrintPlayDemoLink|edition=C2|text={{PrintPlayDemoName|edition=C2}} C2}} | Print-and-Play Demo C2 |
{{PrintPlayDemoLink|edition=C2|linkonly=true}} |
Print-and-Play_Demo |
{{PrintPlayDemoLink|edition=C2|linkonly=true|anchor=example}} |
Print-and-Play_Demo#example |
{{PrintPlayDemoLink|edition=C2|text=''}} |