Difference between revisions of "Template:Hacknotice"

From Nottinghack Wiki
Jump to navigation Jump to search
(1)
Line 2: Line 2:
 
| type = notice
 
| type = notice
 
| image = [[File:robo.svg|60px]]
 
| image = [[File:robo.svg|60px]]
| text = {{#switch:{{{type|}}}<!--
+
| text = {{#switch:{{{1|{{{{type|}}} }}}<!--
 
-->|rule='''Rules on wiki superceded by those on the main website''', see [https://rules.nottinghack.org.uk rules.nottinghack.org.uk].
 
-->|rule='''Rules on wiki superceded by those on the main website''', see [https://rules.nottinghack.org.uk rules.nottinghack.org.uk].
 
}}<!--
 
}}<!--
Line 15: Line 15:
 
:Type of notice:
 
:Type of notice:
 
::type=rule - notice about rules at rules.nottinghack.org.uk
 
::type=rule - notice about rules at rules.nottinghack.org.uk
 +
:Also works with first unnamed parameter.
 
;note
 
;note
 
:Note adds custom text after standard notice
 
:Note adds custom text after standard notice

Revision as of 00:55, 23 February 2019

Documentation

Note: Adding this template automatically adds page to Category:Nottinghack notice.

Parameters

type
Type of notice:
type=rule - notice about rules at rules.nottinghack.org.uk
Also works with first unnamed parameter.
note
Note adds custom text after standard notice

Templates used