Template:FeaturedTopicSum/doc
This is a documentation subpage for Template:FeaturedTopicSum. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This template determines whether a topic is good or featured, and is used by various related templates.
Each call to a new topic using this template will use three expensive parser function calls. This means that only 133 different topics can be listed on a page before the page goes over the limit of 500 expensive parser function calls per page (not counting other expensive function calls that might be used).
Usage
[edit]{{FeaturedTopicSum|topic|if featured topic|if good topic}}
The first parameter is the name of the topic, e.g. "Norid" for Wikipedia:Featured topics/Norid. The second parameter is what to output if the topic is featured, and the third parameter is what to output otherwise. (It is assumed that the topic is a Good Topic if it is not featured.)
If any of the values include an equals sign ("=") then you must specify the parameter name explicitly, like this:
{{FeaturedTopicSum|1=topic|2=if featured topic|3=if good topic}}
Examples
[edit][[Wikipedia:Featured topics/Norid]] is a {{FeaturedTopicSum|Norid|featured topic|good topic}}.
→ Wikipedia:Featured topics/Norid is a good topic.