Template:TopTb

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

This template creates an entry for the table of topics & subcats.

  • The topic code (e.g. c, f, m, ...) is passed in parameter 1.
  • When parameter 2 contains the letter "b" (like "begin") the table header is built (p1 should be empty);
  • when parameter 2 contains the letter "f" (like "finish") the table is finished (p1 should not be empty),
  • when parameter 2 contains the letter "e" (like "empty") an empty table row is generated (p1 is empty).
  • when parameter 2 contains the letter "d" (like "deprecated") the code is stroked.

Keep in mind that some codes exist only in one of both templates: with Igen it can defined

  • a subcategory with s=
  • and another topic with w=.