Module:Contentious topics/talk notice/doc
| This module is rated as beta. It is considered ready for widespread use, but as it is still relatively new, it should be applied with some caution to ensure results are as expected. |
| This template is within the jurisdiction of the Arbitration Committee. Therefore, you must not make significant changes to the wording or functionality of this template without the Committee's consent. Thank you! |
| This module depends on the following other modules: |
To learn about the template {{Contentious topics/talk notice}}, please see its documentation. This page documents the technical details of the module. There is probably little of interest here unless you are an arbitrator or clerk (or you are curious how things work under the hood!).
Usage
{{#invoke:Contentious topics/talk notice|main}}
Technical details
This module is designed to be extensible without needing to edit the module code. Much of its data come from the following JSON pages:
- Template:Contentious topics/Additional restrictions.json contains per-topic additional restrictions. The
topic-widerestrictions apply whenever the corresponding CTOP code is given and applies to the entire page (i.e. there are no|-section=parameters). If they apply to part of the page, they can be turned off (e.g.|ECR=no).Theadditional-availablerestrictions can be passed as parameters (e.g.|ECR=yes), and can be used either when a restriction is added to the topic's standard set or when it applies to all articles within a subtopic of the contentious topic designation. - Template:Contentious topics/Restrictions definition.json is the text of the bullet point indicating a restriction is active
- Template:Contentious topics/Standard set.json is a list of all standard set restrictions
- Template:Contentious topics/Category database.json is the name of the category added when a restriction is active (without the
Category:prefix). The following codes have special meaning:- The
allcategory activates for every page tagged with the contentious topic banner - The
bad-topiccategory is used whenever a contentious topic code is not found at Template:Contentious topics/list - The
no-datecategory is used when there are active, manually-placed restrictions but no|placed-date=is specified - The
no-topiccategory is used when no topics are specified - The
protection-errorcategory is used when|protection=yes, but the page is not actually protected - The
unknowncategory is used when unknown parameters are provided
- The
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.
- 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:
- 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.
- 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.
- 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.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.