Plantilla:Sign
Ir a la navegación
Ir a la búsqueda
Documentation The documentation below is transcluded from Plantilla:Sign/doc. (edit | history)
[purge]
This simple helper template displays a plus sign (+
) if its input value is numerically greater than zero, and nothing otherwise.
Usage
{{ sign | <number> }}
- First unnamed parameter
The input value.
Examples
Code | Result |
---|---|
{{sign|1}} |
+ |
{{sign|-1}} |
|
{{sign|0}} |
|
{{sign|one}} |