Difference between revisions of "Template:SetDisciplineCoreQuestions"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
For each community where the discipline has core questions, the template searches for core question claims and, if found, creates subobjects (one for each association claim) with the following properties: | For each community where the discipline has core questions, the template searches for core question claims and, if found, creates subobjects (one for each association claim) with the following properties: | ||
− | * <code><nowiki>SubObjectCategory</nowiki></code> = "Discipline Core | + | * <code><nowiki>SubObjectCategory</nowiki></code> = "Discipline Core Question". |
* <code><nowiki>Community</nowiki></code> - the community. | * <code><nowiki>Community</nowiki></code> - the community. | ||
* <code><nowiki>Discipline</nowiki></code> - the discipline. | * <code><nowiki>Discipline</nowiki></code> - the discipline. | ||
Line 31: | Line 31: | ||
--><!-- no claims found: store an empty subobject | --><!-- no claims found: store an empty subobject | ||
-->{{#subobject:<!-- | -->{{#subobject:<!-- | ||
− | -->|SubObjectCategory=Discipline Core | + | -->|SubObjectCategory=Discipline Core Question<!-- |
-->|Discipline={{{discipline|}}}<!-- | -->|Discipline={{{discipline|}}}<!-- | ||
-->|Community=varCommunity<!-- | -->|Community=varCommunity<!-- | ||
Line 54: | Line 54: | ||
-->{{#subobject:<!-- | -->{{#subobject:<!-- | ||
− | -->|SubObjectCategory=Discipline Core | + | -->|SubObjectCategory=Discipline Core Question<!-- |
-->|Discipline={{{discipline|}}}<!-- | -->|Discipline={{{discipline|}}}<!-- | ||
-->|Community=varCommunity<!-- | -->|Community=varCommunity<!-- |
Revision as of 10:59, 29 June 2024
This template is used to save the currently accepted core question claims of the given discipline.
For each community where the discipline has core questions, the template searches for core question claims and, if found, creates subobjects (one for each association claim) with the following properties:
SubObjectCategory
= "Discipline Core Question".Community
- the community.Discipline
- the discipline.Theory
- the page for the accepted core question claim.Question
- the core questions (topic page) for ease of access.Sorting Order
- the sorting order of the question.Completeness
- {None, Complete, Partial}.
NOTE: As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values.
Parameters:
|discipline=
- the discipline page.