Difference between revisions of "Template:PrintTheoryFormulation"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
'''Parameters:''' | '''Parameters:''' | ||
* <code><nowiki>|theory=</nowiki></code> - the fullpagename of the theory. | * <code><nowiki>|theory=</nowiki></code> - the fullpagename of the theory. | ||
+ | * <code><nowiki>|skipquestions=</nowiki></code> - if not empty, the statement of questions will be omitted. | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
Line 22: | Line 23: | ||
-->|<!-- nondefinition | -->|<!-- nondefinition | ||
--><!-- | --><!-- | ||
− | -->{{PrintTheoryTopicQuestions|theory={{{theory}}}|intro=This is an answer to questions |intro one=This is an answer to the question |link=all|pretty=true}} that states "{{#var: varText}}"<!-- | + | -->{{#if: {{{skipquestions|}}}<!-- |
+ | -->|<!-- | ||
+ | --><!-- print without questions | ||
+ | -->This is a theory that states "{{#var: varText}}"<!-- | ||
+ | --><!-- | ||
+ | -->|<!-- | ||
+ | --><!-- print with questions | ||
+ | -->{{PrintTheoryTopicQuestions|theory={{{theory}}}|intro=This is an answer to questions |intro one=This is an answer to the question |link=all|pretty=true}} that states "{{#var: varText}}"<!-- | ||
+ | --><!-- | ||
+ | -->}}<!-- if | ||
--><!-- | --><!-- | ||
-->}}<!-- ifeq | -->}}<!-- ifeq |
Latest revision as of 15:18, 27 December 2022
This template is used to format the sentence that this formulation is an attempt to answers such-and-such questions or that the term is defined as such-and-such.
NOTE: As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
Parameters:
|theory=
- the fullpagename of the theory.|skipquestions=
- if not empty, the statement of questions will be omitted.