Difference between revisions of "Template:Hack"

From Nottinghack Wiki
Jump to navigation Jump to search
(==See also== * Template:Hacknotice - larger box for point to Rules and Guide)
Line 1: Line 1:
::'''''{{#ifeq:{{{noicon}}}|yes||[[Image:guide.png|18px]]}}  [{{{1| {{{url|}}} }}} {{{2| {{{name|}}} }}}]'''''
+
::'''''{{#ifeq:{{{noicon}}}|yes||[[Image:guide.png|18px]]}}  [{{{1|{{{url|}}} }}} {{{2|{{{name|}}} }}}]'''''
 
<noinclude>
 
<noinclude>
 
==Documentation==
 
==Documentation==

Revision as of 18:08, 10 July 2019

Guide.png  [ ]

Documentation

Template for a hatnote linking to Nottinghack rules or guide.

Examples

{{Hack|https://rules.nottinghack.org.uk/en/latest/do-not-be-on-fire.html|Rule 0: Do Not Be On Fire}}
Guide.png  Rule 0: Do Not Be On Fire


Parameters

url

Url to link to. Also works as first parameter unnamed.

name

Title to give to link. Also works as second parameter unnamed.

noicon

If noicon=yes then icon is not shown.

See also