Πρότυπο:Only/doc

Από Minecraft Wiki
Μετάβαση σε: πλοήγηση, αναζήτηση
This is the documentation page, it should be transcluded into the main template page. See Πρότυπο:Documentation for more information

This template is used to create a simple note stating that a feature is exclusive to a certain version.

Parameters[επεξεργασία κώδικα]

This template takes two parameters. The first is the version the feature is exclusive to, with accepted values being computer, pocket, and console. The second parameter is optional, and will cause the template to display two versions.

Examples[επεξεργασία κώδικα]

{{only|computer}}

produces

[Computer edition only]

{{only|pocket}}

produces

[Pocket edition only]

{{only|pocket|console}}

produces

[Pocket and Console editions]