Template:If-number: Difference between revisions
Jump to navigation
Jump to search
m (Created page with "<noinclude> <!-- N'insérer AUCUN blanc ou saut de ligne avant < noinclude > ou après < /noinclude >. --> * Voici le modèle utilisé pour mettre en avant un mot ou chiffre av...") |
mNo edit summary |
||
Line 3: | Line 3: | ||
N'insérer AUCUN blanc ou saut de ligne avant < noinclude > ou après < /noinclude >. | N'insérer AUCUN blanc ou saut de ligne avant < noinclude > ou après < /noinclude >. | ||
--> | --> | ||
* | * This template can be used to document interfaces, i.e. it "puts some short text into a box". | ||
* | * Don't edit if you don't know who to create templates. | ||
== Usage | == Usage== | ||
Syntax: | |||
* '''<nowiki>{{if-number | | * '''<nowiki>{{if-number | word(s) }}</nowiki>''' | ||
[[Category: | [[Category:Templates]] | ||
Example: | |||
* Source: | * Source: | ||
<nowiki>Pressez le | <nowiki>Pressez le citron: {{if-number | 11}}</nowiki> | ||
* | * Result: | ||
Pressez le | Pressez le citron: {{if-number | 11}} | ||
</noinclude><includeonly><span style="padding-left:1em; padding-right:1em; background-color:black; color:white;">{{{1}}}</span></includeonly> | </noinclude><includeonly><span style="padding-left:1em; padding-right:1em; background-color:black; color:white;">{{{1}}}</span></includeonly> |
Revision as of 14:15, 20 December 2011
- This template can be used to document interfaces, i.e. it "puts some short text into a box".
- Don't edit if you don't know who to create templates.
Usage
Syntax:
- {{if-number | word(s) }}
Example:
- Source:
Pressez le citron: {{if-number | 11}}
- Result:
Pressez le citron: 11