Difference between revisions of "Template:ForestLink"
Jump to navigation
Jump to search
Bumsakalaka (talk | contribs) (Created page with "{{ExpansionLink|logo={{{logo|}}}|image=none|text={{{text|}}}|defaulttext={{ForestName|variant={{{variant|}}} }}|link={{Path|Forest (Fan Expansion)}}|anchor={{{anchor|}}}|edit=Template:ForestLink|linkonly={{{linkonly|false}}} }}<noinclude>{{ExpansionLinkDocumentation|nametemplate=ForestName|linktemplate=ForestLink|type=fanexpansion}} </noinclude>") |
Bumsakalaka (talk | contribs) |
||
Line 1: | Line 1: | ||
{{ExpansionLink|logo={{{logo|}}}|image=none|text={{{text|}}}|defaulttext={{ForestName|variant={{{variant|}}} }}|link= | {{ExpansionLink|logo={{{logo|}}}|image=none|text={{{text|}}}|defaulttext={{ForestName|variant={{{variant|}}} }}|link=<translate>Forest (Fan Expansion)}}|anchor={{{anchor|}</translate>|edit=Template:ForestLink|linkonly={{{linkonly|false}}} }}<noinclude>{{ExpansionLinkDocumentation|nametemplate=ForestName|linktemplate=ForestLink|type=fanexpansion}} | ||
</noinclude> | </noinclude> |
Revision as of 15:20, 2 May 2024
Forest|anchor={Template:Anchor
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=''}} |