Difference between revisions of "Template:PrintTopicSubtitle"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
-->{{#if: {{{topic|}}}<!-- | -->{{#if: {{{topic|}}}<!-- | ||
--><!-- | --><!-- | ||
− | -->| | + | -->|<!-- |
+ | -->{{#vardefine: varTypeText|{{#ifeq: {{#show: {{{topic|}}}|?Topic Type|link=none}}|Definitional|term was first used|question was first formulated}} }}<!-- | ||
+ | --><!-- | ||
+ | -->In the scientonomic context, this {{#var: varTypeText}}<!-- | ||
--><!-- add the authors if given | --><!-- add the authors if given | ||
-->{{#vardefine: varAuthors|{{PrintTopicAuthors|topic={{{topic|}}}|link=all|pretty=true}}|}}<!-- | -->{{#vardefine: varAuthors|{{PrintTopicAuthors|topic={{{topic|}}}|link=all|pretty=true}}|}}<!-- | ||
Line 18: | Line 21: | ||
-->}}<!-- | -->}}<!-- | ||
--><!--add year formulated if given | --><!--add year formulated if given | ||
− | -->{{#if: {{#show: {{{topic|}}}|? | + | -->{{#if: {{#show: {{{topic|}}}|?Formulated Year|link=none}}| in {{#show: {{{topic|}}}|?Formulated Year|link=none}}.|.}}<!-- |
--><!-- | --><!-- | ||
-->}}<!-- if topic | -->}}<!-- if topic | ||
--></includeonly> | --></includeonly> |
Latest revision as of 21:50, 8 February 2023
This template is used to print the sentence indicating the authors of a question and the year it was first formulated.
NOTE: As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
Parameters:
|topic=
- the fullpagename of the topic.