Template:Incorrect biology template usage/AssertEmpty

From Wikimedia Commons, the free media repository
Jump to: navigation, search


Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Incorrect biology template usage/AssertEmpty/doc.

Usage
Called to ensure that the parameter is empty.
If it is not empty, it adds Category:Pages with incorrect biology template usage to the calling category/article/file.
Mostly called by templates to ensure that a deprecated or badly named parameter has not been provided.
Syntax
{{Incorrect biology template usage/AssertEmpty|value|sortkey=<YourSortKey>|doc=<docPage>|text=<TheErrorToDisplay> }}
Parameters
  • value
the value supposed to be empty.
Sample (Inside {{VN}}): {{{simple|}}}
  • sortkey=<YourSortKey>
the sortkey under which the calling category/article/file will be placed in Category:Pages with incorrect biology template usage.
Sample (Inside {{VN}}): sortkey=Mple
  • text=<TheErrorToDisplay> (optional)
the error message to be displayed in red when the value is incorrect.
Sample (Inside {{VN}}): text=Please don't provide parameter 'simple' to VN
  • doc=<docPage> (optional)
the page to which the red error message will link
Sample (Inside {{VN}}): doc=Template:VN
Used by
See Also