Difference between revisions of "Template:PrintTopicSubtitle"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
'''Parameters:''' | '''Parameters:''' | ||
− | * <code><nowiki>| | + | * <code><nowiki>|topic=</nowiki></code> - the fullpagename of the topic. |
− | |||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
− | -->{{#if:{{{ | + | -->{{#if: {{{topic|}}}<!-- |
− | -->This question was first formulated<!-- | + | --><!-- |
− | + | -->|This question was first formulated<!-- | |
− | + | --><!-- add the authors if given | |
− | + | -->{{#vardefine: varAuthors|{{PrintTopicAuthors|topic={{{topic|}}}|link=all|pretty=true}}|}}<!-- | |
− | -->{{# | + | -->{{#if: {{#var: varAuthors}}<!-- |
− | + | --><!-- | |
− | + | -->| by {{#var: varAuthors}}<!-- | |
− | + | -->}}<!-- | |
− | + | --><!--add year formulated if given | |
− | + | -->{{#if: {{#show: {{{topic|}}}|?Formulate Year|link=none}}| in {{#show: {{{topic|}}}|?Formulate Year|link=none}}.|.}}<!-- | |
− | --> | + | --><!-- |
+ | -->}}<!-- if topic | ||
+ | --></includeonly> |
Revision as of 20:48, 4 September 2016
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.