Sablon:Displaytext
Ugrás a navigációhoz
Ugrás a kereséshez
This template is i18n-ready, means it is easy to localize for different languages. Please see I18n & l10n for Templates to learn more. |
Get display text. Use in templates with link and customable display text.
Usage
{{displaytext|arg1|arg2|lang=<lang>}}
The result text will be auto translated.
- Unnamed Parameter 1
Base text (usually be link)
- Unnamed Parameter 2 (optional)
Custom display text, or plural suffix (e/es/ies)
- lang (optional)
Language code for plural process. default is {{lang}}
Example
Code | Result | Expected(only for English) |
---|---|---|
{{displaytext|Block}} |
Kocka | Block |
{{displaytext|Block|s}} |
Kocka | Blocks |
{{displaytext|Boss|es}} |
Boss | Bosses |
{{displaytext|Butterfly|ies}} |
Pillangó | Butterflies |
{{displaytext|Gold Table|Golden}} |
Golden | Golden |
{{displaytext|Golden Chest|s|lang=it}} |
Sablon:Tr/db-itGolden Chest | Cassa dorata |