Template:SchoolLink
Revision as of 11:42, 9 June 2022 by Bumsakalaka (talk | contribs)
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
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 |
---|---|
{{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=''}} |
Wiki | Output |
---|---|
{{SchoolLink|edition=C1}} |
The School |
{{SchoolLink|logo=hide|edition=C1}} |
The School |
{{SchoolLink|logo=noborder|edition=C1}} |
The School |
{{SchoolLink|text=some text|edition=C1}} |
some text |
{{SchoolLink|variant=sorting|edition=C1}} | School, The |
{{SchoolLink|variant=short|edition=C1}} |
School |
{{SchoolLink|edition=C1|text={{SchoolName|edition=C1}} C1}} | The School C1 |
{{SchoolLink|edition=C1|linkonly=true}} |
The School (1st edition) |
{{SchoolLink|edition=C1|linkonly=true|anchor=example}} |
The School (1st edition)#example |
{{SchoolLink|edition=C1|text=''}} |