Template:Hacknotice: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
Shane (talk | contribs)
Add example for `rule`.
Shane (talk | contribs)
Remove archive - all pages are cleaned away
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
| type = notice
| type = notice
| image = [[File:robo.svg|60px]]
| image = [[File:robo.svg|60px]]
| text = {{#switch:{{lc: {{{1|{{{{type|}}} }}}}}<!--
| text = {{#switch:{{lc: {{{1|{{{type|}}} }}} }}<!--
-->|rule='''Rules on wiki superceded by those on the main website, see [https://rules.nottinghack.org.uk rules.nottinghack.org.uk].''' Change as of 15th May 2016 anything left is for historic reference only.{{#ifeq: {{lc: {{{noarchive|}}} }}|yes| | [[Category:Archived Pages]]}}
-->|rule='''Any rules on this page are superceded by those on the dedicated Rules website: [https://rules.nottinghack.org.uk rules.nottinghack.org.uk].'''<br/>As of 15th May 2016, anything left is for historic reference only.
   |broken='''Broken tools are not a problem if they're reported! Please report broken tools via [https://docs.google.com/forms/d/e/1FAIpQLSd04sHwLhWqoNOYa49OD1K4R5W2hu_irmm0ub8PlqbSnv-UQw/viewform this form].'''
   |broken='''Broken tools are not a problem if they're reported! Please report broken tools via [https://docs.google.com/forms/d/e/1FAIpQLSd04sHwLhWqoNOYa49OD1K4R5W2hu_irmm0ub8PlqbSnv-UQw/viewform this form].'''
   |induction='''This tool requires induction. Please request via  [https://docs.google.com/forms/d/11Cn8Y4vmnWjj7TVxJYkPtvR0fjt5seOK-RPwSN4DbQA/ this form].'''
   |induction='''This tool requires induction. Please request via  [https://docs.google.com/forms/d/11Cn8Y4vmnWjj7TVxJYkPtvR0fjt5seOK-RPwSN4DbQA/ this form].'''
Line 21: Line 21:
;type=rule
;type=rule


{{Hacknotice|rule|noarchive=yes}}
{{Hacknotice|type=rule}}


===Parameters===
===Parameters===
;type
;type
:Type of notice, (also works with first parameter unnamed):
:Type of notice, (also works with first parameter unnamed):
::type=rule - notice about rules at being rules.nottinghack.org.uk. Adds to [[:Category:Archived Pages]], Unless '''noarchive'''=yes.
::type=rule - notice about rules being available on rules.nottinghack.org.uk.
::type=broken - link to broken tools form
::type=broken - link to broken tools form
::type=induction - Induction notice
::type=induction - Induction notice

Latest revision as of 22:49, 22 April 2024

Documentation

Banner for highlighting the spaces documentation and practices.

Examples

type=rule

Parameters

type
Type of notice, (also works with first parameter unnamed):
type=rule - notice about rules being available on rules.nottinghack.org.uk.
type=broken - link to broken tools form
type=induction - Induction notice
type=inductionsafely - Induction to use safely note
type=requestitem - Highlights form for requesting resources item.
type=requestvend - Highlights form for requesting vend item.
type=guide - Highlights guide
note
Note adds custom text after standard notice

Templates used

See also