Template:SchoolLink
Revision as of 22:29, 4 May 2022 by Bumsakalaka (talk | contribs) (Created page with "{{ExpansionLink|logo={{{logo|}}}|image=none|text={{{text|}}}|defaulttext={{SchoolName|variant={{{variant|}}} }}|link=<translate><!--T:1--> The School (1st edition)</translate>|anchor={{{anchor|}}} }}<noinclude><languages/>Category:ExpansionLinks<br /> {{ExpansionLinkDocumentation|nametemplate=SchoolName|linktemplate=SchoolLink}} </noinclude>")
Description
Creates translatable link for The School expansion
Names used for link are defined in template Template:SchoolName..
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 |
---|---|
{{SchoolLink}} |
The School |
{{SchoolLink|logo=hide}} |
The School |
{{SchoolLink|logo=noborder}} |
The School |
{{SchoolLink|text=some text}} |
some text |
{{SchoolLink|variant=sorting}} | School, The |
{{SchoolLink|variant=short}} |
School |
{{SchoolLink|linkonly=true}} |
The School (1st edition) |
{{SchoolLink|linkonly=true|anchor=example}} |
The School (1st edition)#example |
{{SchoolLink|text=''}} |