Difference between revisions of "Template:CountCarcassonneLink"
Jump to navigation
Jump to search
Bumsakalaka (talk | contribs) |
|||
Line 1: | Line 1: | ||
{{ExpansionLink|logo={{{logo|}}}|image= | {{ExpansionLink|logo={{{logo|}}}|image=Symbol_Count.png|text={{{text|}}}|defaulttext={{CountCarcassonneName|variant={{{variant|}}} }}|link=<translate><!--T:1--> The Count of Carcassonne (1st edition)</translate>|anchor={{{anchor|}}}|edit=Template:CountCarcassonneLink}}<noinclude> | ||
{{ExpansionLinkDocumentation|nametemplate=CountCarcassonneName|linktemplate=CountCarcassonneLink|edition=C1}} | {{ExpansionLinkDocumentation|nametemplate=CountCarcassonneName|linktemplate=CountCarcassonneLink|edition=C1}} | ||
</noinclude> | </noinclude> |
Revision as of 22:07, 12 December 2022
Description
Creates translatable link for The Count of Carcassonne expansion
Names used for link are defined in template Template:CountCarcassonneName..
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 |
---|---|
{{CountCarcassonneLink}} |
The Count of Carcassonne |
{{CountCarcassonneLink|logo=hide}} |
The Count of Carcassonne |
{{CountCarcassonneLink|logo=noborder}} |
The Count of Carcassonne |
{{CountCarcassonneLink|text=some text}} |
some text |
{{CountCarcassonneLink|variant=sorting}} | Count of Carcassonne, The |
{{CountCarcassonneLink|variant=short}} |
Count |
{{CountCarcassonneLink|linkonly=true}} |
The Count of Carcassonne (1st edition) |
{{CountCarcassonneLink|linkonly=true|anchor=example}} |
The Count of Carcassonne (1st edition)#example |
{{CountCarcassonneLink|text=''}} |
Wiki | Output |
---|---|
{{CountCarcassonneLink|edition=C1}} |
The Count of Carcassonne |
{{CountCarcassonneLink|logo=hide|edition=C1}} |
The Count of Carcassonne |
{{CountCarcassonneLink|logo=noborder|edition=C1}} |
The Count of Carcassonne |
{{CountCarcassonneLink|text=some text|edition=C1}} |
some text |
{{CountCarcassonneLink|variant=sorting|edition=C1}} | Count of Carcassonne, The |
{{CountCarcassonneLink|variant=short|edition=C1}} |
Count |
{{CountCarcassonneLink|edition=C1|text={{CountCarcassonneName|edition=C1}} C1}} | The Count of Carcassonne C1 |
{{CountCarcassonneLink|edition=C1|linkonly=true}} |
The Count of Carcassonne (1st edition) |
{{CountCarcassonneLink|edition=C1|linkonly=true|anchor=example}} |
The Count of Carcassonne (1st edition)#example |
{{CountCarcassonneLink|edition=C1|text=''}} |