Category:Articles using invalid arguments in template calls: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
(Converting to {{Category Header}})
Tags: Replaced Reverted
(Non-media specific categories won't use {{Category Header}})
Tag: Reverted
Line 1: Line 1:
{{Category Header}}
{{Maintenance Category}}
The following articles are using templates with parameters that either do not exist or are being phased out. This is typically due to typos or out-of-date articles. This category and all subcategories are hidden from view in the mainspace.
 
'''Other subcategories:'''
*[[:Category:Articles using invalid color names]] contains articles using the <code>{{[[Template:Color|Color]]}}</code> template with a color name that does not exist in [[Module:Color/Data]].
*[[:Category:Articles using invalid icon names]] contains articles using the <code>{{[[Template:Icon|Icon]]}}</code> template with an icon name that does not exist.
*[[:Category:Infoboxes using br tags]] contains articles with infoboxes that use [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br br tags] to create lists, resulting in [https://developer.mozilla.org/en-US/docs/Learn/Accessibility/HTML poor HTML semantics].
*[[:Category:Infoboxes using Exp Game]] contains articles with infoboxes using the <code>{{[[Template:Exp Game|Exp Game]]}}</code> template instead of the <code>{{[[Template:Infobox Game Blocks|Infobox Game Blocks]]}}</code> template.
*[[:Category:Terms with redundant display arguments]] contains articles that use <code>{{[[Template:Term|Term]]}}</code> and <code>{{[[Template:Plural|Plural]]}}</code> with a <code>display</code> argument that is the exact same as the term itself and is therefore redundant.
===Fixing Invalid Arguments===
====Viewing Warnings====
Pages in this category should have [[Module:Error#Warn|editor warnings]] that describe which template usages are invalid and how to fix them.
 
Warning messages are displayed above page previews, unless the preference <code>Show previews without reloading the page</code> is enabled. In this case, the warnings can also be viewed in the Lua logs at the very bottom of the preview page beneath the editing area, under "parser profiling data." Unfortunately warning messages cannot be viewed when using VisualEditor, even in source mode. To switch to the regular source editor, go to [[Special:Preferences]], <code>Editing</code> tab, and from the <code>Preferred editor</code> dropdown select <code>Source editor</code>.
 
====Transcluded Errors====
If a page appears in this category but no editor warning appears when previewing the page, it may be that the error is being transcluded from another page. This happens quite often with errors in [[Data:Translations]] being transcluded into articles via {{Template|Nomenclature}}, and on redirect pages that use {{Template|Synonym}}.
 
In this case, you can use [[Special:ExpandTemplates]] to find out where the error is coming from. Put the name of the article in the '''context''' title field and the article wikitext in the '''input wikitext''' field, then submit the form. Search for <code>{{PAGENAME}}</code> in the '''Result''' section. The category name will appear where the error is.
Once the transcluded page (e.g. Data:Translations) is fixed, you must null edit the transcluding page (e.g. an article with Nomenclature) to clear it from this category.
[[Category:Pages with template errors]][[Category:Articles needing attention]]

Revision as of 05:52, 11 June 2023

The following articles are using templates with parameters that either do not exist or are being phased out. This is typically due to typos or out-of-date articles. This category and all subcategories are hidden from view in the mainspace.

Other subcategories:

Fixing Invalid Arguments

Viewing Warnings

Pages in this category should have editor warnings that describe which template usages are invalid and how to fix them.

Warning messages are displayed above page previews, unless the preference Show previews without reloading the page is enabled. In this case, the warnings can also be viewed in the Lua logs at the very bottom of the preview page beneath the editing area, under "parser profiling data." Unfortunately warning messages cannot be viewed when using VisualEditor, even in source mode. To switch to the regular source editor, go to Special:Preferences, Editing tab, and from the Preferred editor dropdown select Source editor.

Transcluded Errors

If a page appears in this category but no editor warning appears when previewing the page, it may be that the error is being transcluded from another page. This happens quite often with errors in Data:Translations being transcluded into articles via {{Nomenclature}}, and on redirect pages that use {{Synonym}}.

In this case, you can use Special:ExpandTemplates to find out where the error is coming from. Put the name of the article in the context title field and the article wikitext in the input wikitext field, then submit the form. Search for Articles using invalid arguments in template calls in the Result section. The category name will appear where the error is. Once the transcluded page (e.g. Data:Translations) is fixed, you must null edit the transcluding page (e.g. an article with Nomenclature) to clear it from this category.

Subcategories

This category has the following 3 subcategories, out of 3 total.

Pages in category "Articles using invalid arguments in template calls"

The following 2 pages are in this category, out of 2 total.