Difference between revisions of "Template:GermanCathedralsLink/en"
Jump to navigation
Jump to search
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ExpansionLink|logo={{{logo|}}}|image={{#switch: {{{edition}}} | C1 = Symbol_GermanCathedrals_C1.png | Symbol_GermanCathedrals_C2.png}}|text={{{text|}}}|defaulttext={{GermanCathedralsName|variant={{{variant|}}}|edition={{{edition|}}}|edit=Template:GermanCathedralsLink}}|linkc1=Cathedrals_in_Germany_(1st_edition)|link=Cathedrals_in_Germany|edition={{{edition|}}}|anchor={{{anchor|}}}|edit=Template:GermanCathedralsLink}}<noinclude> | {{ExpansionLink|logo={{{logo|}}}|image={{#switch: {{{edition}}} | C1 = Symbol_GermanCathedrals_C1.png | Symbol_GermanCathedrals_C2.png}}|text={{{text|}}}|defaulttext={{GermanCathedralsName|variant={{{variant|}}}|edition={{{edition|}}}|edit=Template:GermanCathedralsLink}}|linkc1=Cathedrals_in_Germany_(1st_edition)|link=Cathedrals_in_Germany|edition={{{edition|}}}|anchor={{{anchor|}}}|edit=Template:GermanCathedralsLink|linkonly={{{linkonly|false}}} }}<noinclude>{{ExpansionLinkDocumentation|nametemplate=GermanCathedralsName|linktemplate=GermanCathedralsLink|edition=C1}} | ||
{{ExpansionLinkDocumentation|nametemplate=GermanCathedralsName|linktemplate=GermanCathedralsLink|edition=C1}} | |||
</noinclude> | </noinclude> |
Latest revision as of 19:34, 23 February 2023
Description
Creates translatable link for German Cathedrals expansion
Names used for link are defined in template Template:GermanCathedralsName. Check translated Template:GermanCathedralsName/en.
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 |
---|---|
{{GermanCathedralsLink}} |
German Cathedrals |
{{GermanCathedralsLink|logo=hide}} |
German Cathedrals |
{{GermanCathedralsLink|logo=noborder}} |
German Cathedrals |
{{GermanCathedralsLink|text=some text}} |
some text |
{{GermanCathedralsLink|variant=sorting}} | German Cathedrals |
{{GermanCathedralsLink|variant=short}} |
German Cathedrals |
{{GermanCathedralsLink|linkonly=true}} |
Cathedrals_in_Germany |
{{GermanCathedralsLink|linkonly=true|anchor=example}} |
Cathedrals_in_Germany#example |
{{GermanCathedralsLink|text=''}} |
Wiki | Output |
---|---|
{{GermanCathedralsLink|edition=C1}} |
German Cathedrals |
{{GermanCathedralsLink|logo=hide|edition=C1}} |
German Cathedrals |
{{GermanCathedralsLink|logo=noborder|edition=C1}} |
German Cathedrals |
{{GermanCathedralsLink|text=some text|edition=C1}} |
some text |
{{GermanCathedralsLink|variant=sorting|edition=C1}} | German Cathedrals |
{{GermanCathedralsLink|variant=short|edition=C1}} |
German Cathedrals |
{{GermanCathedralsLink|edition=C1|text={{GermanCathedralsName|edition=C1}} C1}} | German Cathedrals C1 |
{{GermanCathedralsLink|edition=C1|linkonly=true}} |
Cathedrals_in_Germany_(1st_edition) |
{{GermanCathedralsLink|edition=C1|linkonly=true|anchor=example}} |
Cathedrals_in_Germany_(1st_edition)#example |
{{GermanCathedralsLink|edition=C1|text=''}} |