Template:Z+/sandbox
Appearance
| This is the template sandbox page for Template:Z+ (diff). See also the companion subpage for test cases. |
Usage
{{Z+}} is used to get an automatically localized link to a ZObject, along with its description.
For example:
- {{Z+|10000}} → 10000
- {{Z+|Z10000}} → join two strings (Z10000): combine two strings without any separation, one after the other
- {{Z+|10000|lang=de}} → 10000
- {{Z+|Z10000|lang=de}} → 10000
TemplateData
This creates a link to a ZObject which includes the label in the user's language in the link text, alongside the object's description in the user's language.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ZID | 1 zid | The ZID of the ZObject to link to, with or without the "Z".
| Line | required |
| language | 2 lang | The language code of the language to display the label and description in. If left unspecifed, the label with be displayed in the user's own language.
| Line | optional |