Template:Grenade: Difference between revisions

From DDraceNetwork
Add optional parameters to overwrite displayed text/language link
mNo edit summary
Line 5: Line 5:
* <code><nowiki>{{grenade}}</nowiki></code> -> {{grenade}}
* <code><nowiki>{{grenade}}</nowiki></code> -> {{grenade}}
* <code><nowiki>{{grenade|grenade}}</nowiki></code> -> {{grenade|grenade}}
* <code><nowiki>{{grenade|grenade}}</nowiki></code> -> {{grenade|grenade}}
* For translation: <code><nowiki>{{grenade|Granate|de}}</nowiki></code> -> {{grenade|Granate|de}}
* For translation with link to translated article: <code><nowiki>{{grenade|Granate|de}}</nowiki></code> -> {{grenade|Granate|de}}


</noinclude><includeonly>{{TileLink|{{Tile|game|200}}|{{#if:{{{2|}}}|Grenade/{{{2}}}|Grenade}}|{{#if:{{{1|}}}|{{{1}}}|Grenade}}}}<includeonly>
</noinclude><includeonly>{{TileLink|{{Tile|game|200}}|{{#if:{{{2|}}}|Grenade/{{{2}}}|Grenade}}|{{#if:{{{1|}}}|{{{1}}}|Grenade}}}}<includeonly>

Revision as of 21:48, 5 March 2022

Shortcut to link to the grenade article with the Template:TileLink:

  • {{grenade}}/{{Grenade}} -> Grenade
  • {{grenade}} -> Grenade
  • {{grenade|grenade}} -> grenade
  • For translation with link to translated article: {{grenade|Granate|de}} -> Granate