Difference between revisions of "Template:PrintRelatedTopics"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
* <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>|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>|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>| | + | * <code><nowiki>|bullets=</nowiki></code> - if non empty, a bullet-list will be produced. |
− | </noinclude><includeonly>{{GetPropertyValuesList|object={{{object|}}}|property=Has Related Topic|intro={{{intro|}}}|link={{{link|}}}|}}</includeonly> | + | </noinclude><includeonly>{{GetPropertyValuesList|object={{{object|}}}|property=Has Related Topic|intro={{{intro|}}}|link={{{link|}}}|bullets={{{bullets|}}}|}}</includeonly> |
Revision as of 01:19, 19 August 2016
This template is used to print an array of topics related to 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:
|object=
- the page for which related topics are to be printed.|intro=
- the text that should precede the list, e.g. "Here are the major topics tackled by this author:".|link=
- 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.|bullets=
- if non empty, a bullet-list will be produced.