Category:Templates: Difference between revisions

From DDraceNetwork
(Created blank page)
 
(Overview over templates)
Line 1: Line 1:
Templates help making the page more clearly lay out and readable.


==Eye-catching boxes==
{{Note|Usage: <code><nowiki>{{Note|This text should be noted.}}</nowiki></code> A "Note" box used to emphasize important information. [[Template:Note]]}}
{{Tip|Usage: <code><nowiki>{{Tip|This text should be considered.}}</nowiki></code> A "Tip" box used to share helpful hints. [[Template:Tip]]}}
{{Warning|Usage: <code><nowiki>{{Warning|This text should be heeded.}}</nowiki></code> A "Warning" box used to report potential danger. [[Template:Warning]]}}
==DDNet related images==
* Images from physics layers: <code><nowiki>{{Tile|game|2}}</nowiki></code>: {{Tile|game|2}} See [[Template:Tile]] 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
* Link + Image for weapons (text is customizable):
{| class="wikitable"
|-
! Basic usage !! Result !! Template link for more info
|-
| <code><nowiki>{{Hammer}}</nowiki></code> || {{Hammer}} || [[Template:Hammer]]
|-
| <code><nowiki>{{Pistol}}</nowiki></code> || {{Pistol}} || [[Template:Pistol]]
|-
| <code><nowiki>{{Shotgun}}</nowiki></code> || {{Shotgun}} || [[Template:Shotgun]]
|-
| <code><nowiki>{{Laser}}</nowiki></code> || {{Laser}} || [[Template:Laser]]
|-
| <code><nowiki>{{Ninja}}</nowiki></code> || {{Ninja}} || [[Template:Ninja]]
|}
* Links with image of tile layer attached: <code><nowiki>{{TileLink|{{Tile|game|11}}|Template:TileLink}}</nowiki></code>: {{TileLink|{{Tile|game|11}}|Template:TileLink}}

Revision as of 21:48, 30 August 2022

Templates help making the page more clearly lay out and readable.

Eye-catching boxes

Note: Usage: {{Note|This text should be noted.}} A "Note" box used to emphasize important information. Template:Note
Tip: Usage: {{Tip|This text should be considered.}} A "Tip" box used to share helpful hints. Template:Tip
Warning: Usage: {{Warning|This text should be heeded.}} A "Warning" box used to report potential danger. Template:Warning

DDNet related images

  • 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
  • Link + Image for weapons (text is customizable):
Basic usage Result Template link for more info
{{Hammer}} Hammer Template:Hammer
{{Pistol}} Pistol Template:Pistol
{{Shotgun}} Shotgun Template:Shotgun
{{Laser}} Laser Template:Laser
{{Ninja}} Ninja Template:Ninja
  • Links with image of tile layer attached: {{TileLink|{{Tile|game|11}}|Template:TileLink}}: Template:TileLink