Template:WondersOfHumanityLink
Description
Creates translatable link for The Wonders of Humanity expansion
Names used for link are defined in template Template:WondersOfHumanityName..
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 |
---|---|
{{WondersOfHumanityLink}} |
The Wonders of Humanity |
{{WondersOfHumanityLink|logo=hide}} |
The Wonders of Humanity |
{{WondersOfHumanityLink|logo=noborder}} |
The Wonders of Humanity |
{{WondersOfHumanityLink|text=some text}} |
some text |
{{WondersOfHumanityLink|variant=sorting}} | Wonders of Humanity, The |
{{WondersOfHumanityLink|variant=short}} |
Wonders of Humanity |
{{WondersOfHumanityLink|linkonly=true}} |
The_Wonders_of_Humanity |
{{WondersOfHumanityLink|linkonly=true|anchor=example}} |
The_Wonders_of_Humanity#example |
{{WondersOfHumanityLink|text=''}} |
Wiki | Output |
---|---|
{{WondersOfHumanityLink|edition=C3}} |
The Wonders of Humanity |
{{WondersOfHumanityLink|logo=hide|edition=C3}} |
The Wonders of Humanity |
{{WondersOfHumanityLink|logo=noborder|edition=C3}} |
The Wonders of Humanity |
{{WondersOfHumanityLink|text=some text|edition=C3}} |
some text |
{{WondersOfHumanityLink|variant=sorting|edition=C3}} | Wonders of Humanity, The |
{{WondersOfHumanityLink|variant=short|edition=C3}} |
Wonders of Humanity |
{{WondersOfHumanityLink|edition=C3|text={{WondersOfHumanityName|edition=C3}} C3}} | The Wonders of Humanity C3 |
{{WondersOfHumanityLink|edition=C3|linkonly=true}} |
The_Wonders_of_Humanity |
{{WondersOfHumanityLink|edition=C3|linkonly=true|anchor=example}} |
The_Wonders_of_Humanity#example |
{{WondersOfHumanityLink|edition=C3|text=''}} |