Template:Hack: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
::'''''{{#if:{{{1|{{{url|}}} }}}{{#ifeq:{{{noicon}}}|yes||[[Image:guide.png|18px]]  }}[{{{1|{{{url|}}} }}} {{{2|{{{name|}}} }}}]}}'''''
::'''''{{#if:{{{1|{{{url|}}} }}}[{{{1|{{{url|}}} }}} {{{2|{{{name|}}} }}}]}}'''''
<noinclude>
<noinclude>
==Documentation==
==Documentation==

Revision as of 18:15, 10 July 2019

'''''

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}}
'''''


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