User:Zackmann08/scripts/AddCheckForConflictingParameters

AddCheckForConflictingParameters
DescriptionAdds a link to insert a check for conflicting parameters in a template.
AuthorZackmann08
UpdatedMay 24, 2026
    (2 months ago)
SourceUser:Zackmann08/scripts/ AddCheckForConflictingParameters

Installing this script will add a Chk4Clob option to your tools section that allows you to quickly and easily generate a {{#invoke:Check for conflicting parameters|check}} with at least some of the conflicting parameters in the template. Note this script is FAR from perfect and changes should be carefully reviewed but it will do some of the heavy lifting.

It will do the following:

  1. For Template wrappers, the code will look for the |_alias-map= and automatically generate a list of conflicting params based on those that are aliased to one another.
  2. It will look for any instances of {{if empty|{{{param1}}}|{{{param2}}}|...}} and add a conflicting param line for param1, param2, etc.

Installation

  1. Go to your common JavaScript and paste in the following line:
    {{subst:iusc|User:Zackmann08/scripts/AddCheckForConflictingParameters.js}}
  2. Save the page.

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.