Difference between revisions of "Template:ForestLink"
Jump to navigation
Jump to search
Bumsakalaka (talk | contribs) |
Bumsakalaka (talk | contribs) (Marked this version for translation) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ExpansionLink|logo={{{logo|}}}|image=none|text={{{text|}}}|defaulttext={{ForestName|variant={{{variant|}}} }}|link=<translate>Forest (Fan Expansion) | {{ExpansionLink|logo={{{logo|}}}|image=none|text={{{text|}}}|defaulttext={{ForestName|variant={{{variant|}}} }}|link=<translate><!--T:1--> Forest (Fan Expansion)</translate>|anchor={{{anchor|}}}|edit=Template:ForestLink|linkonly={{{linkonly|false}}} }}<noinclude>{{ExpansionLinkDocumentation|nametemplate=ForestName|linktemplate=ForestLink|type=fanexpansion}} | ||
</noinclude> | </noinclude> |
Latest revision as of 15:20, 2 May 2024
Description
Creates translatable link for Forest fan-expansion
Names used for link are defined in template Template:ForestName..
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 |
---|---|
{{ForestLink}} |
Forest |
{{ForestLink|logo=hide}} |
Forest |
{{ForestLink|logo=noborder}} |
Forest |
{{ForestLink|text=some text}} |
some text |
{{ForestLink|variant=sorting}} | Forest |
{{ForestLink|variant=short}} |
Forest |
{{ForestLink|linkonly=true}} |
Forest (Fan Expansion) |
{{ForestLink|linkonly=true|anchor=example}} |
Forest (Fan Expansion)#example |
{{ForestLink|text=''}} |