Template:TopicLogic

From Wikipedia, the free encyclopedia

This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.

Example:

{{Topic|Logic}}

Creates:


 Points of interest related to Logic on Wikipedia 
Portal - Category - WikiProject - Stubs - Deletions - Cleanup

{{Topic|Logic|talk=y}}

Creates:


 Points of interest related to Logic on Wikipedia 
Portal - Category - WikiProject - Stubs - Deletions - Cleanup

{{Topic|Logic|simple=y}}

Creates:


 Portal - Article - Category - WikiProject - Stubs - Deletions - Cleanup   


You can also define each of the following parameters by hand:

  • article: The main article for the topic.
  • category: The main category for the topic.
  • portal: The portal for the topic.
  • project: The WikiProject for the topic. This should be the "X" in "Wikipedia:WikiProject X."
  • stubtype: The stub type for the topic; this should be the "X" in "Category:X stubs".
  • delsort: The deletion-sorting subpage for the topic; this should be the "X" in "Wikipedia:WikiProject Deletion sorting/X."
  • pna: The cleanup page for the topic; this should be the "X" in "Wikipedia:Pages needing attention/X."
  • board: The noticeboard for the topic. This should be the "XYZ" in Wikipedia:XYZ.
  • collab: The collaboration for the topic. This should be the ABC in Wikipedia:ABC.

Display parameters:

  • simple: If you want a simple one-line display without table formatting, set "simple=yes" (or any non-whitespace value).
  • talk: If you want the template to appear in standard Talk page format, set "talk=yes" (or any non-whitespace value).
  • image: An image to appear in-line (20px in the title bar in standard format, or 50px at the far left in Talk format). This should be the "XYZ" in Image:XYZ.

If these variables are not specified, the template will assume that they are all the same as the topic name. If no such page exists, then the name will be skipped. Unless an incorrect variable has been specified, this should never contain a redlink.


 Points of interest related to [[{{{1}}}|{{{1}}}]] on Wikipedia 
[[:Category:{{{1}}}|Category]] - Math-logic stubs - New articles
Languages