• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.215
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:WPBannerMeta/hooks/notes

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
< Template:WPBannerMeta
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Syntax
{{WPBannerMeta
|HOOK_NOTE           = {{WPBannerMeta/hooks/notes
|category={{{category|}}}
|BANNER_NAME={{subst:FULLPAGENAME}}
|NOTE_SIZE             =
|note 1={{{**PARAMETER**|}}}
 |NOTE_1_TEXT          = 
 |NOTE_1_IMAGE         = 
  |NOTE_1_SIZE         = 
 |NOTE_1_CAT           = 
 |NOTE_1_FORMAT        = 
|note 2={{{**PARAMETER**|}}}
 |NOTE_2_TEXT          = 
 |NOTE_2_IMAGE         = 
  |NOTE_2_SIZE         = 
 |NOTE_2_CAT           = 
 |NOTE_2_FORMAT        = 
|note 3={{{**PARAMETER**|}}}
 |NOTE_3_TEXT          = 
 |NOTE_3_IMAGE         = 
  |NOTE_3_SIZE         = 
 |NOTE_3_CAT           = 
 |NOTE_3_FORMAT        = 
|note 4={{{**PARAMETER**|}}}
 |NOTE_4_TEXT          = 
 |NOTE_4_IMAGE         = 
  |NOTE_4_SIZE         = 
 |NOTE_4_CAT           = 
 |NOTE_4_FORMAT        = 
|note 5={{{**PARAMETER**|}}}
 |NOTE_5_TEXT          = 
 |NOTE_5_IMAGE         = 
  |NOTE_5_SIZE         = 
 |NOTE_5_CAT           = 
 |NOTE_5_FORMAT        = 
|note 6={{{**PARAMETER**|}}}
 |NOTE_6_TEXT          = 
 |NOTE_6_IMAGE         = 
  |NOTE_6_SIZE         = 
 |NOTE_6_CAT           = 
 |NOTE_6_FORMAT        = 
|note 7={{{**PARAMETER**|}}}
 |NOTE_7_TEXT          = 
 |NOTE_7_IMAGE         = 
  |NOTE_7_SIZE         = 
 |NOTE_7_CAT           = 
 |NOTE_7_FORMAT        = 
|note 8={{{**PARAMETER**|}}}
 |NOTE_8_TEXT          = 
 |NOTE_8_IMAGE         = 
  |NOTE_8_SIZE         = 
 |NOTE_8_CAT           = 
 |NOTE_8_FORMAT        = 
|note 9={{{**PARAMETER**|}}}
 |NOTE_9_TEXT          = 
 |NOTE_9_IMAGE         = 
  |NOTE_9_SIZE         = 
 |NOTE_9_CAT           = 
 |NOTE_9_FORMAT        = 
|note 10={{{**PARAMETER**|}}}
 |NOTE_10_TEXT          = 
 |NOTE_10_IMAGE         = 
  |NOTE_10_SIZE         = 
 |NOTE_10_CAT           = 
 |NOTE_10_FORMAT        = 
}}

This hook will add up 10 additional notes. It should be attached to the |HOOK_NOTE= parameter in conjunction with the /notecounter hook. The syntax is:

  • note 1– pass this parameter through to trigger any defined note. Eg: note 1={{{needs-photo|}}}, then by including |needs-photo=yes on the talk page. Up to ten notes can be specified in the hook.
    • NOTE_1_TEXT – the text of note 1. E.g.: This page has been marked as needing a photograph. If this is left blank there is no visual output.
    • NOTE_1_IMAGE – an image can be defined for each note. Remember that all images must be free, not fair-use. Eg: Gnome-dev-camera.svg
    • NOTE_1_SIZE – the size of the image
    • NOTE_1_FORMAT – optional formatting (colour, etc.) for the table cell which contains the image, if any, for the note. Eg: style="background:blue"
    • NOTE_1_CAT – if defined, all articles displaying note 1 will be categorised into Category:NOTE_1_CAT. Eg: Wikipedia requested photographs of Floridiae → Category:Wikipedia requested photographs of Floridiae
  • NOTE_SIZE – a default size to use for all 10 notes (unless individually specified). If this is not specified then x25px is used.
The above documentation is transcluded from Template:WPBannerMeta/hooks/notes/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:WPBannerMeta/hooks/notes&oldid=38895"
Categories:
  • Pages with broken file links
  • WPBannerMeta hooks
Last edited on 5 December 2020, at 18:14

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 5 December 2020, at 18:14.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop