Category:Templates/fr: Difference between revisions
Created page with "Le template "Note" permet de mettre l'accent sur des informations importantes." |
Created page with "Un template "Tip" permet de partager des informations utiles." |
||
Line 6: | Line 6: | ||
Pour faciliter la traduction, ne marquez que le texte à l'intérieur de la case à traduire. | Pour faciliter la traduction, ne marquez que le texte à l'intérieur de la case à traduire. | ||
{{Note| | {{Note|Utilisation :<pre><nowiki> | ||
</translate> | </translate> | ||
{{Note|<translate>This text should be noted.</translate>}} | {{Note|<translate>This text should be noted.</translate>}} | ||
Line 16: | Line 16: | ||
{{Tip|<translate>This text should be considered.</translate>}} | {{Tip|<translate>This text should be considered.</translate>}} | ||
<translate></nowiki></pre> | <translate></nowiki></pre> | ||
Un template "Tip" permet de partager des informations utiles. [[Special:MyLanguage/Template:Tip|Template:Tip]] | |||
}} | }} | ||
{{Todo| | {{Todo|Usage : <pre><nowiki> | ||
</translate> | </translate> | ||
{{Todo|<translate>The described action to modify the wiki should be done later on.</translate>}} | {{Todo|<translate>The described action to modify the wiki should be done later on.</translate>}} |
Revision as of 14:27, 8 May 2024
Les templates permettent de rendre la page plus claire et plus lisible.
==Des boîtes qui ressortent===.
Pour faciliter la traduction, ne marquez que le texte à l'intérieur de la case à traduire.
Note: Utilisation :
</translate> {{Note|<translate>This text should be noted.</translate>}} <translate>
Le template "Note" permet de mettre l'accent sur des informations importantes. Template:Note
Tip: Usage :
</translate> {{Tip|<translate>This text should be considered.</translate>}} <translate>
Un template "Tip" permet de partager des informations utiles. Template:Tip
TODO: {{{1}}}
Warning: {{{1}}}
Incomplete/Outdated content
{{Stub}}
Template:Stub
- Images from physics layers:
{{Tile|game|2}}
: See Template:Tile for usage
- Layers from game.png:
{{Game.png|Ninja dash 2}}
: See Template:Game.png for usage
- Images from emoticons.png:
{{Emote|hearts}}
: Template:Emote
- Link + Image for weapons (text is customizable):
Basic usage | Result | Template link for more info |
---|---|---|
{{Hammer|hammer}}
|
Hammer | Special:MyLanguage/Template:Hammer |
{{Pistol|pistol}}
|
Pistol | Special:MyLanguage/Template:Pistol |
{{Shotgun|shotgun}}
|
Shotgun | Special:MyLanguage/Template:Shotgun |
{{Grenade|grenade}}
|
Grenade | Special:MyLanguage/Template:Grenade |
{{Laser|laser}}
|
Laser | Special:MyLanguage/Template:Laser |
{{Ninja|ninja}}
|
Ninja | Special:MyLanguage/Template:Ninja |
- Links with image of tile layer attached:
{{TileLink|{{Tile|game|11}}|Template:TileLink}}
: Template:TileLink
Infoboxes
Code boxes
Apart from the normal
<code>inline code formatting</code>
and<pre> multiline code boxes. </pre>We have some other nice code boxes:
- inline code:
{{ic|code}}
:code
- block code:
{{bc|code}}
:
code
- block code with header:
{{hc|autoexec.cfg|code}}
:
autoexec.cfg
code
Key presses
{{key press|A|space}}
→ A+space For usage see https://www.mediawiki.org/wiki/Template:Key_press
Pages in category "Templates/fr"
This category contains only the following page.