Template:Hacknotice: Difference between revisions
Jump to navigation
Jump to search
Add example for `rule`. |
Correct syntax for falling back to the `type` param. |
||
Line 2: | Line 2: | ||
| type = notice | | type = notice | ||
| image = [[File:robo.svg|60px]] | | image = [[File:robo.svg|60px]] | ||
| text = {{#switch:{{lc: {{{1| | | 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='''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]]}} | ||
|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].''' | ||
Line 21: | Line 21: | ||
;type=rule | ;type=rule | ||
{{Hacknotice|rule|noarchive=yes}} | {{Hacknotice|type=rule|noarchive=yes}} | ||
===Parameters=== | ===Parameters=== |
Revision as of 18:50, 21 April 2024
No type specified, see Template:Hacknotice. |
Documentation
Banner for highlighting the spaces documentation and practices.
Examples
- type=rule
Rules on wiki superceded by those on the main website, see rules.nottinghack.org.uk. Change as of 15th May 2016 anything left is for historic reference only. |
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
- Template:Hack - smaller hatnote for pointing to Rules and Guide