Difference between revisions of "Template:PrintRelatedTopics"
Jump to navigation
Jump to search
(Created page with "<noinclude> This template is used to properly format an array of related topics. Parameters: * <code><nowiki>|topics=</nowiki></code> - a comma separated list of the topics....") |
|||
Line 8: | Line 8: | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#if:{{{topics|}}} | {{{intro|}}} | <includeonly>{{#if:{{{topics|}}} | {{{intro|}}} | ||
− | + | {{#arraydefine:topicsArray|{{{topics|}}} }} | |
− | + | {{#arrayprint:topicsArray||@@@@|{{#if:@@@@|[[Has related topic::@@@@]] | |
− | <nowiki/> <br/> | + | <nowiki/><br/> |
|}} | |}} | ||
}} | }} | ||
}}</includeonly> | }}</includeonly> |
Revision as of 18:07, 13 August 2016
This template is used to properly format an array of related topics.
Parameters:
|topics=
- a comma separated list of the topics.|intro=
- the text that should precede the list, e.g. "Here are the major topics tackled by this author:".