• Home
  • Random
  • Log in
  • Settings
  • About English Wikipedia @ Freddythechick
English Wikipedia @ Freddythechick

Template:FeaturedTopicSum/sandbox

  • Language
  • Watch
  • View source
< Template:FeaturedTopicSum
__EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:FeaturedTopicSum (diff).
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:FeaturedTopicSum

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

{{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

  • [[Wikipedia:Featured topics/Norid]] is a {{FeaturedTopicSum|Norid|featured topic|good topic}}. → Wikipedia:Featured topics/Norid is a good topic.
The above documentation is transcluded from Template:FeaturedTopicSum/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://enwiki.freddythechick.net/index.php?title=Template:FeaturedTopicSum/sandbox&oldid=6932185"
Last edited on 18 October 2014, at 18:02

Languages

      This page is not available in other languages.

      English Wikipedia @ Freddythechick
      • This page was last edited on 18 October 2014, at 18:02.
      • Content is available under Creative Commons Attribution-ShareAlike 4.0 unless otherwise noted.
      • About English Wikipedia @ Freddythechick
      • Desktop