Category:Templates/fr: Difference between revisions

From DDraceNetwork
Nawretard (talk | contribs)
Created page with "Un template "Tip" permet de partager des informations utiles."
FuzzyBot (talk | contribs)
Updating to match new version of source page
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages />
 
<div class="mw-translate-fuzzy">
Les templates permettent de rendre la page plus claire et plus lisible.
Les templates permettent de rendre la page plus claire et plus lisible.
</div>


<span id="Eye-catching_boxes"></span>
<span id="Eye-catching_boxes"></span>
==Des boîtes qui ressortent===.
==Des boîtes qui ressortent==


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|Utilisation :<pre><nowiki>
{{Note|Utilisation :<pre><nowiki>
</translate>
</translate>
Line 12: Line 16:
Le template "Note" permet de mettre l'accent sur des informations importantes. [[Special:MyLanguage/Template:Note|Template:Note]]
Le template "Note" permet de mettre l'accent sur des informations importantes. [[Special:MyLanguage/Template:Note|Template:Note]]
}}
}}
{{Tip|Usage : <pre><nowiki>
{{Tip|Utilisation : <pre><nowiki>
</translate>
</translate>
{{Tip|<translate>This text should be considered.</translate>}}
{{Tip|<translate>This text should be considered.</translate>}}
Line 18: Line 22:
Un template "Tip" permet de partager des informations utiles. [[Special:MyLanguage/Template:Tip|Template:Tip]]
Un template "Tip" permet de partager des informations utiles. [[Special:MyLanguage/Template:Tip|Template:Tip]]
}}
}}
{{Todo|Usage : <pre><nowiki>
{{Todo|Utilisation : <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>}}
<translate></nowiki></pre>
<translate></nowiki></pre>
<span lang="en" dir="ltr" class="mw-content-ltr">A "todo" box used to emphasize the lack of information and the need/reminder to work on a section.</span> [[Special:MyLanguage/Template:Todo|Template:Todo]]
<span class="mw-translate-fuzzy">Un template "TODO" est utilisé pour souligner le manque d'informations et la nécessité de travailler sur la section.</span> [[Special:MyLanguage/Template:Todo|Template:Todo]]
}}
}}
{{Warning|<span lang="en" dir="ltr" class="mw-content-ltr">Usage:</span> <pre><nowiki>
{{Warning|Utilisation : <pre><nowiki>
</translate>
</translate>
{{Warning|<translate>This text should be heeded.</translate>}}
{{Warning|<translate>This text should be heeded.</translate>}}
<translate></nowiki></pre>
<translate></nowiki></pre>
<span lang="en" dir="ltr" class="mw-content-ltr">A "Warning" box used to report potential danger.</span> [[Special:MyLanguage/Template:Warning|Template:Warning]]
Un template "Warning" pour prévenir d'un danger potentiel. [[Special:MyLanguage/Template:Warning|Template:Warning]]
}}
}}




<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="Incomplete_or_Outdated_content"></span>
==Incomplete/Outdated content==
<div class="mw-translate-fuzzy">
== Contenu incomplet/dépassé ==
</div>
</div>


* <code><nowiki>{{Stub}}</nowiki></code> [[Special:MyLanguage/Template:Stub|Template:Stub]]
 
*<code><nowiki>{{Stub}}</nowiki></code> [[Special:MyLanguage/Template:Stub|Template:Stub]]
{{Stub}}
{{Stub}}


<div lang="en" dir="ltr" class="mw-content-ltr">
 
==DDNet related images==
<span id="DDNet_related_images"></span>
==Images liées à DDNet==
 
<div class="mw-translate-fuzzy">
* Images depuis des couches physiques : <code><nowiki>{{Tile|game|2}}</nowiki></code>: {{Tile|game|2}} Voir [[Template:Tile]] pour l'utilisation.
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div class="mw-translate-fuzzy">
* Images from physics layers: <code><nowiki>{{Tile|game|2}}</nowiki></code>: {{Tile|game|2}} See [[Template:Tile]] for usage
* Images depuis game.png: <code><nowiki>{{Game.png|Ninja dash 2}}</nowiki></code>: {{Game.png|Ninja dash 2}} Voir [[Template:Game.png]] pour les cas d'utilisation.
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div class="mw-translate-fuzzy">
* Layers from game.png: <code><nowiki>{{Game.png|Ninja dash 2}}</nowiki></code>: {{Game.png|Ninja dash 2}} See [[Template:Game.png]] for usage
* Images depuis emoticons.png: <code><nowiki>{{Emote|hearts}}</nowiki></code>: {{Emote|hearts}} [[Template:Emote]]
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div class="mw-translate-fuzzy">
* Images from emoticons.png: <code><nowiki>{{Emote|hearts}}</nowiki></code>: {{Emote|hearts}} [[Template:Emote]]
* Lien + Images pour des armes (avec un texte personnalisable) :
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
* Link + Image for weapons (text is customizable):
</div>


{| class="wikitable"
{| class="wikitable"
|-
|-
! Basic usage !! Result !! Template link for more info
!Basic usage!!Result!!Template link for more info
|-
|-
| <code><span lang="en" dir="ltr" class="mw-content-ltr"><nowiki>{{Hammer|hammer}}</nowiki></span></code>
|<code><nowiki>{{Hammer|marteau}}</nowiki></code>
| {{Hammer|<span lang="en" dir="ltr" class="mw-content-ltr">hammer</span>}}
|{{Hammer|marteau}}
| [[Special:MyLanguage/Template:Hammer]]
|[[Special:MyLanguage/Template:Hammer]]
|-
|-
| <code><span lang="en" dir="ltr" class="mw-content-ltr"><nowiki>{{Pistol|pistol}}</nowiki></span></code>
|<code><nowiki>{{Pistol|pistolet}}</nowiki></code>
| {{Pistol|<span lang="en" dir="ltr" class="mw-content-ltr">pistol</span>}}
|{{Pistol|pistolet}}
| [[Special:MyLanguage/Template:Pistol]]
|[[Special:MyLanguage/Template:Pistol]]
|-
|-
| <code><span lang="en" dir="ltr" class="mw-content-ltr"><nowiki>{{Shotgun|shotgun}}</nowiki></span></code>
|<code><nowiki>{{Shotgun|shotgun}}</nowiki></code>
| {{Shotgun|<span lang="en" dir="ltr" class="mw-content-ltr">shotgun</span>}}
|{{Shotgun|shotgun}}
| [[Special:MyLanguage/Template:Shotgun]]
|[[Special:MyLanguage/Template:Shotgun]]
|-
|-
| <code><span lang="en" dir="ltr" class="mw-content-ltr"><nowiki>{{Grenade|grenade}}</nowiki></span></code>
|<code><nowiki>{{Grenade|grenade}}</nowiki></code>
| {{Grenade|<span lang="en" dir="ltr" class="mw-content-ltr">grenade</span>}}
|{{Grenade|grenade}}
| [[Special:MyLanguage/Template:Grenade]]
|[[Special:MyLanguage/Template:Grenade]]
|-
|-
| <code><span lang="en" dir="ltr" class="mw-content-ltr"><nowiki>{{Laser|laser}}</nowiki></span></code>
|<code><nowiki>{{Laser|laser}}</nowiki></code>
| {{Laser|<span lang="en" dir="ltr" class="mw-content-ltr">laser</span>}}
|{{Laser|laser}}
| [[Special:MyLanguage/Template:Laser]]
|[[Special:MyLanguage/Template:Laser]]
|-
|-
| <code><span lang="en" dir="ltr" class="mw-content-ltr"><nowiki>{{Ninja|ninja}}</nowiki></span></code>
|<code><nowiki>{{Ninja|ninja}}</nowiki></code>
| {{Ninja|<span lang="en" dir="ltr" class="mw-content-ltr">ninja</span>}}
|{{Ninja|ninja}}
| [[Special:MyLanguage/Template:Ninja]]
|[[Special:MyLanguage/Template:Ninja]]
|}
|}
<div lang="en" dir="ltr" class="mw-content-ltr">
 
* Links with image of tile layer attached: <code><nowiki>{{TileLink|{{Tile|game|11}}|Template:TileLink}}</nowiki></code>: {{TileLink|{{Tile|game|11}}|Template:TileLink}}
<div class="mw-translate-fuzzy">
* Lien avec des images d'une couche de tuiles attachées : <code><nowiki>{{TileLink|{{Tile|game|11}}|Template:TileLink}}</nowiki></code>: {{TileLink|{{Tile|game|11}}|Template:TileLink}}
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
==Infoboxes==
==Infoboxes==
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div class="mw-translate-fuzzy">
* [[Special:MyLanguage/Template:Infobox weapon]]
* [[Special:MyLanguage/Template:Infobox weapon]]
* [[Special:MyLanguage/Template:Infobox mod]]
* [[Special:MyLanguage/Template:Infobox mod]]
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="Code_boxes"></span>
== Code boxes ==
<div class="mw-translate-fuzzy">
== Boîtes de code ==
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
À l'exception du formattage de code <code><nowiki><code>inline code formatting</code></nowiki></code> and<pre>
Apart from the normal <code><nowiki><code>inline code formatting</code></nowiki></code> and<pre>
<pre>
<pre>
multiline
multiline
Line 111: Line 117:
boxes.
boxes.
&lt;/pre>
&lt;/pre>
</pre>We have some other nice code boxes:
</pre>Il existe d'autres boîtes de code :
 
<div class="mw-translate-fuzzy">
* [[Template:ic|code sur une ligne]]: <code><nowiki>{{ic|code}}</nowiki></code>: {{ic|code}}
* [[Template:bc|bloc de code]]: <code><nowiki>{{bc|code}}</nowiki></code>:
{{bc|code}}
* [[Template:hc|bloc de code avec un header]]: <code><nowiki>{{hc|autoexec.cfg|code}}</nowiki></code>:
{{hc|autoexec.cfg|code}}
</div>
</div>


<span id="Key_presses"></span>
==Touches enfoncées==
<div class="mw-translate-fuzzy">
* <code><nowiki>{{key press|A|space}}</nowiki></code> → {{key press|A|space}} Pour l'utilisation, voir https://www.mediawiki.org/wiki/Template:Key_press
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
* [[Template:ic|inline code]]: <code><nowiki>{{ic|code}}</nowiki></code>: {{ic|code}}
==Tooltip==
* [[Template:bc|block code]]: <code><nowiki>{{bc|code}}</nowiki></code>:
</div>
{{bc|code}}
 
* [[Template:hc|block code with header]]: <code><nowiki>{{hc|autoexec.cfg|code}}</nowiki></code>:
<div lang="en" dir="ltr" class="mw-content-ltr">
{{hc|autoexec.cfg|code}}
This template adds a description tooltip on a given text : {{tooltip| a text example|a description example}}.
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
==Key presses==
Warning, don't add double quotes ('''"''') inside the tooltip.
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
* <code><nowiki>{{key press|A|space}}</nowiki></code> → {{key press|A|space}} For usage see https://www.mediawiki.org/wiki/Template:Key_press
Usage :
<pre>{{Tooltip|Visible text|Description text}}</pre>
</div>
</div>

Latest revision as of 17:11, 16 November 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: Utilisation :
</translate>
{{Tip|<translate>This text should be considered.</translate>}}
<translate>

Un template "Tip" permet de partager des informations utiles. Template:Tip

TODO: {{{1}}}
Warning: Utilisation :
</translate>
{{Warning|<translate>This text should be heeded.</translate>}}
<translate>

Un template "Warning" pour prévenir d'un danger potentiel. Template:Warning


Contenu incomplet/dépassé


This article is a Stub. You can help us by editing and improving it.


Images liées à DDNet

  • Images depuis des couches physiques : {{Tile|game|2}}: Voir Template:Tile pour l'utilisation.
  • Images depuis game.png: {{Game.png|Ninja dash 2}}: Voir Template:Game.png pour les cas d'utilisation.
  • Lien + Images pour des armes (avec un texte personnalisable) :


Basic usage Result Template link for more info
{{Hammer|marteau}} marteau Special:MyLanguage/Template:Hammer
{{Pistol|pistolet}} pistolet 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
  • Lien avec des images d'une couche de tuiles attachées : {{TileLink|{{Tile|game|11}}|Template:TileLink}}: Template:TileLink

Infoboxes

Boîtes de code

À l'exception du formattage de code <code>inline code formatting</code> and

<pre>
multiline
code
boxes.
</pre>

Il existe d'autres boîtes de code :

code
autoexec.cfg
code

Touches enfoncées

Tooltip

This template adds a description tooltip on a given text : a text example.

Warning, don't add double quotes (") inside the tooltip.

Usage :

{{Tooltip|Visible text|Description text}}

Pages in category "Templates/fr"

This category contains only the following page.