Template:Hack: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
No edit summary
return
 
(2 intermediate revisions by the same user not shown)
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]]&nbsp;&nbsp;'''Please see Nottinghack Rules/Guide -&nbsp;'''}}[{{{1|{{{url|}}} }}} {{{2|{{{name|}}} }}}] }}{{#if:{{{3|{{{hms|}}} }}}|&nbsp;&nbsp;{{#ifeq:{{{noicon}}}|yes||[[Image:guide.png|18px]]&nbsp;&nbsp;}}[{{{3|{{{hms|}}} }}} HMS page]}}'''''<noinclude>
<noinclude>
==Documentation==
==Documentation==
Template for a hatnote linking to Nottinghack rules or guide.
Template for a hatnote linking to Nottinghack rules or guide.

Latest revision as of 21:08, 24 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}}
  Please see Nottinghack Rules/Guide - 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