Difference between revisions of "Template:WetlandsLink"
Jump to navigation
Jump to search
Bumsakalaka (talk | contribs) (Created page with "{{ExpansionLink|logo={{{logo|}}}|image=Symbol_Wetlands.png|text={{{text|}}}|defaulttext={{WetlandsName|variant={{{variant|}}} }}|link={{Path|The Wetlands (Fan Expansion)}}|anchor={{{anchor|}}}|edit=Template:WetlandsLink|linkonly={{{linkonly|false}}} }}<noinclude>{{ExpansionLinkDocumentation|nametemplate=WetlandsName|linktemplate=WetlandsLink|type=fanexpansion}} </noinclude>") |
Bumsakalaka (talk | contribs) |
||
Line 1: | Line 1: | ||
{{ExpansionLink|logo={{{logo|}}}|image=Symbol_Wetlands.png|text={{{text|}}}|defaulttext={{WetlandsName|variant={{{variant|}}} }}|link= | {{ExpansionLink|logo={{{logo|}}}|image=Symbol_Wetlands.png|text={{{text|}}}|defaulttext={{WetlandsName|variant={{{variant|}}} }}|link=<translate>The Wetlands (Fan Expansion)</translate>|anchor={{{anchor|}}}|edit=Template:WetlandsLink|linkonly={{{linkonly|false}}} }}<noinclude>{{ExpansionLinkDocumentation|nametemplate=WetlandsName|linktemplate=WetlandsLink|type=fanexpansion}} | ||
</noinclude> | </noinclude> |
Revision as of 15:23, 2 May 2024
Description
Creates translatable link for The Wetlands fan-expansion
Names used for link are defined in template Template:WetlandsName..
Documentation generated by Template:ExpansionLinkDocumentation.
Params
variant
(optional) [sorting
|short
|-empty-
] see Examples
logo
(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 |
---|---|
{{WetlandsLink}} |
The Wetlands |
{{WetlandsLink|logo=hide}} |
The Wetlands |
{{WetlandsLink|logo=noborder}} |
The Wetlands |
{{WetlandsLink|text=some text}} |
some text |
{{WetlandsLink|variant=sorting}} | Wetlands, The |
{{WetlandsLink|variant=short}} |
Wetlands |
{{WetlandsLink|linkonly=true}} |
The Wetlands (Fan Expansion) |
{{WetlandsLink|linkonly=true|anchor=example}} |
The Wetlands (Fan Expansion)#example |
{{WetlandsLink|text=''}} |