Changes

Jump to navigation Jump to search
no edit summary
<noinclude>
This template is used to print an array of topics related topicsto the page. This works for any page type that has property "Has Related Topic".
'''NOTE:''' As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
'''Parameters:'''
* <code><nowiki>|topicsobject=</nowiki></code> - a comma separated list of the page for which related topicsare to be printed.
* <code><nowiki>|intro=</nowiki></code> - the text that should precede the list, e.g. "Here are the major topics tackled by this author:".
* <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>|pretty=</nowiki></code> - if non empty, a ''pretty'' list is produced where the last two elements are chained with an ''and'' (or the local languages equivalent).
</noinclude><includeonly><!---->{{#if:GetPropertyValues|object={{{topicsobject|}}} |<!-- --><!-- add property=Has Related Topics|intro -->={{{intro|}}}<!-- --><!-- add topics -->{{#arraydefine:topicsArray|link={{{topicslink|}}} }}<!-- -->{|pretty={#arrayunique:topicsArray}}<!-- -->{{#arrayprint:topicsArraypretty||@@@@|[[@@@@]]<nowiki/><br/><!-- -->}}<!---->}|}}</includeonly>

Navigation menu