Difference between revisions of "Template:FormatSubdisciplinesTopicTitle"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
-->{{#if: {{{link|}}}<!-- | -->{{#if: {{{link|}}}<!-- | ||
-->|<!-- return the formlink | -->|<!-- return the formlink | ||
− | -->{{#formlink:form= | + | -->{{#formlink:form=Discipline Hierarchy Topic|link text={{#var: varDisplay}}|target={{#var: varTitle}}|query string=Discipline={{{discipline|}}}&QuestionType=Subdisciplines}}<!-- |
-->|<!-- form link is not needed; return the name only | -->|<!-- form link is not needed; return the name only | ||
-->{{#var: varTitle}}<!-- | -->{{#var: varTitle}}<!-- |
Latest revision as of 15:24, 25 June 2024
Use this template to format the title of the topic page for the question concerning the subdisciplines of a discipline.
NOTE: As any "printing" template, it doesn't store any values anywhere, but merely returns a value.
Parameters:
|discipline=
- the discipline.|link=
- if not empty, a link to the respective page or a formlink (if the page doesn't exist) will be added.|displaytitle=
- if empty, the same as the output.