Difference between revisions of "Form:Core Question"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
</pre> | </pre> | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | {{{info|page name=<Core Question[Question]> Is a Core Question of {{PAGENAME:<Core Question[Discipline]>}}|create title=Add a Core Question|edit title=Edit}}} | + | {{{info|page name=<Core Question[Core Question]> Is a Core Question of {{PAGENAME:<Core Question[Discipline]>}}|create title=Add a Core Question|edit title=Edit}}} |
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> | <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> | ||
{{{for template|Core Question}}} | {{{for template|Core Question}}} | ||
Line 22: | Line 22: | ||
--><!-- get the current value of question | --><!-- get the current value of question | ||
--><!-- | --><!-- | ||
− | -->{{#vardefine: varQuestion|{{#show:{{FULLPAGENAME}}|?Question|link=none}}|}}<!-- | + | -->{{#vardefine: varQuestion|{{#show:{{FULLPAGENAME}}|?Core Question|link=none}}|}}<!-- |
--><!-- | --><!-- | ||
--><!-- get the read only properties | --><!-- get the read only properties | ||
Line 34: | Line 34: | ||
|width="70%"| {{PAGENAME:{{#var: varDiscipline}} }} {{{field|Discipline|hidden|default={{#var: varDiscipline}}|}}} | |width="70%"| {{PAGENAME:{{#var: varDiscipline}} }} {{{field|Discipline|hidden|default={{#var: varDiscipline}}|}}} | ||
|- | |- | ||
− | ! Question: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">The question that is a core question of the discipline. If the question is not in the list, please first add it separately.</p> | + | ! Core Question: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">The question that is a core question of the discipline. If the question is not in the list, please first add it separately.</p> |
|<!-- | |<!-- | ||
-->{{#if: {{#var: varQuestion}}<!-- | -->{{#if: {{#var: varQuestion}}<!-- | ||
-->|{{#var:varQuestion|}}<!-- | -->|{{#var:varQuestion|}}<!-- | ||
− | -->{{{field|Question|hidden|default={{#var:varQuestion|}}|}}}<!-- | + | -->{{{field|Core Question|hidden|default={{#var:varQuestion|}}|}}}<!-- |
− | -->|{{{field|Question|input type=combobox|existing values only|values from category=Topic|mandatory}}} <!-- | + | -->|{{{field|Core Question|input type=combobox|existing values only|values from category=Topic|mandatory}}} <!-- |
-->}} | -->}} | ||
|- | |- |
Latest revision as of 06:53, 30 June 2024
This is the "Core Question" form. It is called from Template:Discipline to add new entries stating that such and such a question is a core question of the discipline. When the form is used to create a new core question claim (as opposed to merely editing an existing one), it expects the following parameter to be passed onto the query string:
query string= Discipline= //the FULLPAGENAME of discipline