Difference between revisions of "Template:PrintTheoryFormulation"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This template is used to format the sentence that this formulation is an attempt to answers | + | 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. | '''NOTE:''' As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page. | ||
Line 12: | Line 12: | ||
--><!-- get the formulation/definition | --><!-- get the formulation/definition | ||
-->{{#vardefine: varText|{{#show: {{{theory|}}}|?Formulation Text}}|}}<!-- | -->{{#vardefine: varText|{{#show: {{{theory|}}}|?Formulation Text}}|}}<!-- | ||
− | |||
− | |||
− | |||
--><!-- | --><!-- | ||
-->{{#ifeq: {{#show: {{{theory|}}}|?Theory Type}}|Definition<!-- | -->{{#ifeq: {{#show: {{{theory|}}}|?Theory Type}}|Definition<!-- | ||
-->|<!-- definition | -->|<!-- definition | ||
− | -->This theory is | + | --><!-- get the topic |
+ | -->{{#vardefine: varTopic|{{#show: {{{theory|}}}|?Topic}}|}}<!-- | ||
+ | --><!-- | ||
+ | -->This theory is a definition of {{#var: varTopic}} that states "{{#var: varText}}"<!-- | ||
+ | --><!-- | ||
-->|<!-- 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}}"<!-- | -->{{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}}"<!-- | ||
+ | --><!-- | ||
-->}}<!-- ifeq | -->}}<!-- ifeq | ||
--><!-- | --><!-- | ||
-->}}<!-- if theory | -->}}<!-- if theory | ||
--></includeonly> | --></includeonly> |
Revision as of 15:03, 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.