Template:WPBannerMeta/hooks/image needed
Jump to navigation
Jump to search
| An editor has requested that an image or photograph be added to this article. | ||
This hook allows a note to be displayed which alerts editors that an image is needed. It will also populate one or more relevant categories depending on the options which have been set.
| Syntax |
|---|
{{WPBannerMeta
|PROJECT =
|category={{{category|}}}
|listas={{{listas|}}}
...
|HOOK_NOTE = {{WPBannerMeta/hooks/image needed
|BANNER_NAME = {{subst:FULLPAGENAME}}
|category={{{category|}}}
|needs-image={{{needs-image|}}}
|IMAGE =
|SIZE =
|details={{{details|}}}
|location={{{location|}}}
|LOCATION_CATEGORY =
|topic={{{topic|}}}
|TOPIC_CATEGORY =
|type={{{type|}}}
}}
...
}}
|
Basic parameters
needs-image={{{needs-image|}}}(Required) - the parameter to trigger this note.category={{{category|}}}(Required) - the 'category' parameter must be passed through the template to enable category optout.location={{{location|}}}- allows the editor to specify the location of the requested image.LOCATION_CATEGORY- a default category when the location is not specified or leads to a non-existent category.
Advanced parameters
SIZE(Optional) - specifies the size of the icon; the default is 20px.IMAGE(Optional) - specifies the icon to be used (without the File namespace prefix); the default is
.details={{{details|}}}- allows an editor to specify more details about the required image.type={{{type|}}}- allows the editor to specify the type of image required, e.g. map, photograph, diagram, etc.topic={{{topic|}}}- allows an editor to specify a topic area that the photograph relates to.TOPIC_CATEGORY- a default category in case the topic is not specified or leads to a non-existent category.