Plantilla:IsItemID
Ir a la navegación
Ir a la búsqueda
Documentation The documentation below is transcluded from Plantilla:IsItemID/doc. (edit | history)
[purge]
This template is used to check if a given input is a valid item ID. This is mainly useful for other templates.
Usage
{{ isItemID | <string to check> }}
- First unnamed parameter
The string to check.
Examples
Code | Result |
---|---|
{{isItemID|1}} |
y |
{{isItemID|0}} |
|
{{isItemID|5455}} |
y |
{{isItemID|5456}} |
|
{{isItemID|42}} |
y |
{{isItemID|+42}} |
|
{{isItemID|-42}} |
|
{{isItemID|40+2}} |
|
{{isItemID|42.0}} |
|
{{isItemID|}} |
|
{{isItemID|x}} |
Categoría:
- Templates using Lua