Module:Hatnote/doc: Difference between revisions

Content deleted Content added
Format link: document the new _formatLink parameters
Make wikitext error: simplify description of argument "addTrackingCategory"
Line 108:
</source>
 
Formats the string <var>msg</var> as a red wikitext error message, with optional link to a help page <var>helpLink</var>. Normally this function also adds {{clc|Hatnote templates with errors}}; however, if <var>addTrackingCategory</var> is not false after being passed through [[Module:Yesno]], then the category is suppressed. ThisTo meanssuppress that the category can be suppressed with <var>addTrackingCategory</var> values including "no"categorization, "n", 0, "false", anduse {{codepara|addTrackingCategory|false|lua}}.
 
Examples: