Jump to content

Template:Graphs disabled/doc

From Wikipedia, the free encyclopedia

This is a notice on documentation pages for templates that use <graph>...</graph> (often via a template like {{Graph:Chart}}), to let users know they are broken.

Usage

[edit]

{{Graphs disabled}} can be added to documentation pages about graphs while graphs are disabled:


{{Graphs disabled|missing}} can be added to places where a graph should have been displayed:

A graph should have been displayed here but it is using the legacy Graph extension and needs to be converted to the new Chart extension.

If the graph code is still on the page then MediaWiki:Graph-disabled is automatically displayed in that place:

In that case there is no need for {{Graphs disabled|missing}}. The pages are also added to Category:Pages with disabled graphs. Affected pages may have to be purged or edited to display MediaWiki:Graph-disabled and the category right away.