Template:Graphs disabled/doc
![]() | This is a documentation subpage for Template:Graphs disabled. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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:
![]() | The legacy Graph extension is no longer supported. This graph is unavailable due to a known technical issue. It needs to be converted to use the new Chart extension. |
{{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:
![]() | This graph was using the legacy Graph extension, which is no longer supported. It needs to be converted to the new Chart extension. |
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.