Open main menu

Changes

no edit summary
'''Parameters:'''
* <code><nowiki>|topic=</nowiki></code> - the page for which related topics are to be printed.
* <code><nowiki>|includeinverselyrelatedtopics=</nowiki></code> - if yes, the topics to which this topic is itself related will also be included in the list.
* <code><nowiki>|includeparenttopic=</nowiki></code> - if yes, the parent topic is also included in the list.
* <code><nowiki>|includesubtopics=</nowiki></code> - if yes, the subtopics of the topic are also included.
* <code><nowiki>|intro=</nowiki></code> - initial text that precedes the output, if at least some results exist.
* <code><nowiki>|outro=</nowiki></code> - text that is appended to the output, if at least some results exist.
* <code><nowiki>|default=</nowiki></code> - if, for any reason, the query returns no results, this will be printed instead.
* <code><nowiki>|link=</nowiki></code> - determines whether the values are to be printer as links to the respective pages (where available); possible values are ''none'', ''subject'', ''all''. If not given ''all'' is the default.
* <code><nowiki>|bulletslink=</nowiki></code> - if non empty, a bullet-list will be produced.* <code><nowiki>|includeinverselyrelatedtopics=</nowiki></code> - if yes, determines whether the topics values are to which this topic is itself related will also be included in printer as links to the listrespective pages (where available); possible values are ''none'', ''subject'', ''all''. * <code><nowiki>|includeparenttopic=</nowiki></code> - if yes, the parent topic If not given ''all'' is also included in the listdefault. * <code><nowiki>|includesubtopicspretty=</nowiki></code> - if yesnon empty, a ''pretty'' list is produced where the subtopics of last two elements are chained with an ''and'' (or the topic are also includedlocal languages equivalent).
</noinclude><includeonly><!--
-->{{#arraysort: values|asc}}<!--
--><!--
--><!-- print
-->{{#switch: {{#arraysize: values}}<!--
-->|0={{{default|}}}<!--
-->|{{{intro|}}}<!--
-->{{#if: {{{pretty|}}}<!-- -->|{{#arrayprint: values||@@@@|@@@@|print=pretty}}<!-- -->|{{#ifarrayprint: {{{bulletsvalues|}}},&#32;|* @@@@|}}@@@@}}<br/!-- -->}}<!--
-->{{{outro|}}}<!--
-->}}<!--
--><!--
--></includeonly>