Template:Hammer: Difference between revisions

From DDraceNetwork
add hammer template
 
Add optional parameters to overwrite displayed text/language link
Line 1: Line 1:
[[Hammer|{{Tile|game|19}}]] [[Hammer]]
<noinclude>
Shortcut to link to the [[hammer|hammer article]] with the [[Template:TileLink]]:
 
* <code><nowiki>{{hammer}}</nowiki></code>/<code><nowiki>{{Hammer}}</nowiki></code> -> {{hammer}}
* <code><nowiki>{{hammer}}</nowiki></code> -> {{hammer}}
* <code><nowiki>{{hammer|hammer}}</nowiki></code> -> {{hammer|hammer}}
* For translation: <code><nowiki>{{hammer|Translation|de}}</nowiki></code> -> {{hammer|Translation|de}}
 
</noinclude><includeonly>{{TileLink|{{Tile|game|202}}|{{#if:{{{2|}}}|Hammer/{{{2}}}|Hammer}}|{{#if:{{{1|}}}|{{{1}}}|Hammer}}}}<includeonly>

Revision as of 21:47, 5 March 2022

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