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|}}} }}}] |No url.}}{{#if:{{{3|{{{hms|}}} }}}|{{#ifeq:{{{noicon}}}|yes||[[Image:guide.png|18px]]  }}[{{{3|{{{hms|}}} }}}HMS page}}'''''
::'''''{{#if:{{{1|{{{url|}}} }}}|{{#ifeq:{{{noicon}}}|yes||[[Image:guide.png|18px]]  }}[{{{1|{{{url|}}} }}} {{{2|{{{name|}}} }}}] |No url.}}{{#if:{{{3|{{{hms|}}} }}}|  {{#ifeq:{{{noicon}}}|yes||[[Image:guide.png|18px]]  }}[{{{3|{{{hms|}}} }}} HMS page]}}'''''
<noinclude>
<noinclude>
==Documentation==
==Documentation==

Revision as of 18:24, 10 July 2019

No url.

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