Difference between revisions of "Template:Hacknotice"

From Nottinghack Wiki
Jump to navigation Jump to search
(Suggest using the History feature, rather than leaving the page unreadable with deleted text)
(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. Use the 'View history' feature of this page to dig into previous changes. {{#ifeq: {{lc: {{{noarchive|}}} }}|yes| | [[Category:Archived Pages]]}}
 
   |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 16: Line 16:
 
==Documentation==
 
==Documentation==
 
Banner for highlighting the spaces documentation and practices.
 
Banner for highlighting the spaces documentation and practices.
 +
 +
===Examples===
 +
 +
;type=rule
 +
 +
{{Hacknotice|type=rule|noarchive=yes}}
  
 
===Parameters===
 
===Parameters===

Revision as of 18:57, 21 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 at being rules.nottinghack.org.uk. Adds to Category:Archived Pages, Unless noarchive=yes.
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