Category:Templates/de: Difference between revisions
Updating to match new version of source page |
Updating to match new version of source page |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> | <languages /> | ||
<div class="mw-translate-fuzzy"> | |||
Templates helfen dabei Seiten übersichtlicher und lesbarer zu machen. | Templates helfen dabei Seiten übersichtlicher und lesbarer zu machen. | ||
</div> | |||
<span id="Eye-catching_boxes"></span> | <span id="Eye-catching_boxes"></span> | ||
Line 6: | Line 9: | ||
Um das Übersetzen zu vereinfachen, markiere nur den Text innerhalb der Box zum Übersetzen. | Um das Übersetzen zu vereinfachen, markiere nur den Text innerhalb der Box zum Übersetzen. | ||
{{Note | |||
{{Note|Verwendung:<pre><nowiki> | |||
</translate> | </translate> | ||
{{Note | {{Note|<translate>This text should be noted.</translate>}} | ||
<translate></nowiki></pre> | <translate></nowiki></pre> | ||
Eine Anmerkungsbox wird dazu verwendet wichtige Informationen hervorheben. [[Special:MyLanguage/Template:Note|Template:Note]] | Eine Anmerkungsbox wird dazu verwendet wichtige Informationen hervorheben. [[Special:MyLanguage/Template:Note|Template:Note]] | ||
}} | }} | ||
{{Tip | {{Tip|Verwendung: <pre><nowiki> | ||
</translate> | </translate> | ||
{{Tip | {{Tip|<translate>This text should be considered.</translate>}} | ||
<translate></nowiki></pre> | <translate></nowiki></pre> | ||
Eine Tippbox zum teilen von hilfreichen Hinweisen. [[Special:MyLanguage/Template:Tip|Template:Tip]] | Eine Tippbox zum teilen von hilfreichen Hinweisen. [[Special:MyLanguage/Template:Tip|Template:Tip]] | ||
}} | }} | ||
{{Todo | {{Todo|Verwendung: <pre><nowiki> | ||
</translate> | </translate> | ||
{{Todo | {{Todo|<translate>The described action to modify the wiki should be done later on.</translate>}} | ||
<translate></nowiki></pre> | <translate></nowiki></pre> | ||
Eine TODO-Box zum hinweisen auf fehlende Informationen und als Erinnerung diese später einzufügen. [[Special:MyLanguage/Template:Todo|Template:Todo]] | <span class="mw-translate-fuzzy">Eine TODO-Box zum hinweisen auf fehlende Informationen und als Erinnerung diese später einzufügen.</span> [[Special:MyLanguage/Template:Todo|Template:Todo]] | ||
}} | }} | ||
{{Warning | {{Warning|Verwendung: <pre><nowiki> | ||
</translate> | </translate> | ||
{{Warning | {{Warning|<translate>This text should be heeded.</translate>}} | ||
<translate></nowiki></pre> | <translate></nowiki></pre> | ||
Eine Warnungsbox um vor potentiellen Gefahren zu warnen. [[Special:MyLanguage/Template:Warning|Template:Warning]] | Eine Warnungsbox um vor potentiellen Gefahren zu warnen. [[Special:MyLanguage/Template:Warning|Template:Warning]] | ||
Line 32: | Line 36: | ||
<span id=" | <span id="Incomplete_or_Outdated_content"></span> | ||
<div class="mw-translate-fuzzy"> | |||
==Unvollständiger/Veralteter Inhalt== | ==Unvollständiger/Veralteter Inhalt== | ||
</div> | |||
*<code><nowiki>{{Stub}}</nowiki></code> [[Special:MyLanguage/Template:Stub|Template:Stub]] | |||
{{Stub}} | |||
<span id="DDNet_related_images"></span> | <span id="DDNet_related_images"></span> | ||
==DDNet Bilder== | ==DDNet Bilder== | ||
<div class="mw-translate-fuzzy"> | |||
* Kacheln vom Physik-Layer: <code><nowiki>{{Tile|game|2}}</nowiki></code>: {{Tile|game|2}} Siehe [[Template:Tile]] für Verwendung | * Kacheln vom Physik-Layer: <code><nowiki>{{Tile|game|2}}</nowiki></code>: {{Tile|game|2}} Siehe [[Template:Tile]] für Verwendung | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
* Layers from game.png: <code><nowiki>{{Game.png|Ninja dash 2}}</nowiki></code>: {{Game.png|Ninja dash 2}} See [[Template:Game.png]] for usage | *Layers from game.png: <code><nowiki>{{Game.png|Ninja dash 2}}</nowiki></code>: {{Game.png|Ninja dash 2}} See [[Template:Game.png]] for usage | ||
</div> | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
* Images from emoticons.png: <code><nowiki>{{Emote|hearts}}</nowiki></code>: {{Emote|hearts}} [[Template:Emote]] | *Images from emoticons.png: <code><nowiki>{{Emote|hearts}}</nowiki></code>: {{Emote|hearts}} See [[Template:Emote]] for usage | ||
</div> | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
* Link | *Link with Image for weapons (text is customizable): | ||
</div> | </div> | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Basic usage !! Result !! Template link for more info | !Basic usage!!Result!!Template link for more info | ||
|- | |- | ||
| <code><nowiki>{{Hammer|Hammer}}</nowiki></code> | |<code><nowiki>{{Hammer|Hammer}}</nowiki></code> | ||
| {{Hammer|Hammer}} | |{{Hammer|Hammer}} | ||
| [[Special:MyLanguage/Template:Hammer]] | |[[Special:MyLanguage/Template:Hammer]] | ||
|- | |- | ||
| <code><nowiki>{{Pistol|Pistole}}</nowiki></code> | |<code><nowiki>{{Pistol|Pistole}}</nowiki></code> | ||
| {{Pistol|Pistole}} | |{{Pistol|Pistole}} | ||
| [[Template:Pistol]] | |[[Special:MyLanguage/Template:Pistol]] | ||
|- | |- | ||
| <code><nowiki>{{Shotgun|Shotgun}}</nowiki></code> | |<code><nowiki>{{Shotgun|Shotgun}}</nowiki></code> | ||
| {{Shotgun|Shotgun}} | |{{Shotgun|Shotgun}} | ||
| [[Template:Shotgun]] | |[[Special:MyLanguage/Template:Shotgun]] | ||
|- | |- | ||
| <code><nowiki>{{Grenade|Granate}}</nowiki></code> | |<code><nowiki>{{Grenade|Granate}}</nowiki></code> | ||
| {{Grenade|Granate}} | |{{Grenade|Granate}} | ||
| [[Template:Grenade]] | |[[Special:MyLanguage/Template:Grenade]] | ||
|- | |- | ||
| <code><nowiki>{{Laser|Laser}}</nowiki></code> | |<code><nowiki>{{Laser|Laser}}</nowiki></code> | ||
| {{Laser|Laser}} | |{{Laser|Laser}} | ||
| [[Template:Laser]] | |[[Special:MyLanguage/Template:Laser]] | ||
|- | |- | ||
| <code><nowiki>{{Ninja|Ninja}}</nowiki></code> | |<code><nowiki>{{Ninja|Ninja}}</nowiki></code> | ||
| {{Ninja|Ninja}} | |{{Ninja|Ninja}} | ||
| [[Template:Ninja]] | |[[Special:MyLanguage/Template:Ninja]] | ||
|} | |} | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <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}} | *Links with image of tile layer attached: <code><nowiki>{{TileLink|{{Tile|game|11}}|Template:TileLink}}</nowiki></code>: {{TileLink|{{Tile|game|11}}|Template:TileLink}} | ||
</div> | </div> | ||
Line 91: | Line 103: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
* [[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"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
== Code boxes == | ==Code boxes== | ||
</div> | </div> | ||
Line 110: | Line 122: | ||
<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}} | *[[Template:ic|inline code]]: <code><nowiki>{{ic|code}}</nowiki></code>: {{ic|code}} | ||
* [[Template:bc|block code]]: <code><nowiki>{{bc|code}}</nowiki></code>: | *[[Template:bc|block code]]: <code><nowiki>{{bc|code}}</nowiki></code>: | ||
{{bc|code}} | {{bc|code}} | ||
* [[Template:hc|block code with header]]: <code><nowiki>{{hc|autoexec.cfg|code}}</nowiki></code>: | *[[Template:hc|block code with header]]: <code><nowiki>{{hc|autoexec.cfg|code}}</nowiki></code>: | ||
{{hc|autoexec.cfg|code}} | {{hc|autoexec.cfg|code}} | ||
</div> | </div> | ||
Line 122: | Line 134: | ||
<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 | *<code><nowiki>{{key press|A|space}}</nowiki></code> → {{key press|A|space}} For usage see https://www.mediawiki.org/wiki/Template:Key_press | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
==Tooltip== | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
This template adds a description tooltip on a given text : {{tooltip| a text example|a description example}}. | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
Warning, don't add double quotes ('''"''') inside the tooltip. | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
Usage : | |||
<pre>{{Tooltip|Visible text|Description text}}</pre> | |||
</div> | </div> |
Latest revision as of 17:11, 16 November 2024
Templates helfen dabei Seiten übersichtlicher und lesbarer zu machen.
Blickfangende Kästchen
Um das Übersetzen zu vereinfachen, markiere nur den Text innerhalb der Box zum Übersetzen.
Anmerkung: Verwendung:
</translate> {{Note|<translate>This text should be noted.</translate>}} <translate>
Eine Anmerkungsbox wird dazu verwendet wichtige Informationen hervorheben. Template:Note
Tipp: Verwendung:
</translate> {{Tip|<translate>This text should be considered.</translate>}} <translate>
Eine Tippbox zum teilen von hilfreichen Hinweisen. Template:Tip
TODO: {{{1}}}
Warnung: Verwendung:
</translate> {{Warning|<translate>This text should be heeded.</translate>}} <translate>
Eine Warnungsbox um vor potentiellen Gefahren zu warnen. Template:Warning
Unvollständiger/Veralteter Inhalt
{{Stub}}
Template:Stub
DDNet Bilder
- Kacheln vom Physik-Layer:
{{Tile|game|2}}
: Siehe Template:Tile für Verwendung
- Layers from game.png:
{{Game.png|Ninja dash 2}}
: See Template:Game.png for usage
- Images from emoticons.png:
{{Emote|hearts}}
: See Template:Emote for usage
- Link with Image for weapons (text is customizable):
Basic usage | Result | Template link for more info |
---|---|---|
{{Hammer|Hammer}}
|
Hammer | Special:MyLanguage/Template:Hammer |
{{Pistol|Pistole}}
|
Pistole | Special:MyLanguage/Template:Pistol |
{{Shotgun|Shotgun}}
|
Shotgun | Special:MyLanguage/Template:Shotgun |
{{Grenade|Granate}}
|
Granate | 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
Infoboxen
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
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/de"
The following 4 pages are in this category, out of 4 total.