Template:Hack: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
==See also== * Template:Hacknotice - larger box for point to Rules and Guide
return
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
::'''''{{#ifeq:{{{noicon}}}|yes||[[Image:guide.png|18px]]}}  [{{{1| {{{url|}}} }}} {{{2| {{{name|}}} }}}]'''''
::'''''{{#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