Template:Graphs disabled/doc

< Template:Graphs disabled
Revision as of 14:34, 12 September 2024 by Muskit Gergous (talk | contribs) (Created page with "{{Documentation subpage}} {{High-use}} This is a notice on documentation pages for templates that use {{tag|graph}} (often via a template like {{tl|Graph:Chart}}), to let users know they are broken. == Usage == <code><nowiki>{{Graphs disabled}}</nowiki></code> can be added to documentation pages about graphs while graphs are disabled: {{Graphs disabled}} <code><nowiki>{{Graphs dis...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

{{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 graphs are temporarily disabled.

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

⧼Graph-disabled⧽

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.