• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Topic links

  • Template
  • Talk
  • Language
  • Watch
  • Edit
Points of interest related to [[{{{1}}}]] on Wikipedia:
[[Outline of {{{1}}}|Outline]] –  [[Index of {{{1}}}-related articles|Index]] –  [[History of {{{1}}}|History]] –  [[Portal:{{{1}}}|Portal]] – [[:Category:{{{1}}}|Category]]  – [[Wikipedia:WikiProject {{{1}}}|WikiProject]]  – [[Wikipedia:WikiProject {{{1}}}/Article alerts|Alerts]] (Setup) – [[Wikipedia:WikiProject Deletion sorting/{{{1}}}|Deletions]]  – [[:Category:{{{1}}} articles needing attention|Cleanup]]  – [[:Category:{{{1}}} stubs|Stubs]]  – [[Wikipedia:WikiProject {{{1}}}/Assessment|Assessment]]  – [[Wikipedia:Manual of Style/{{{1}}}|Style]]  – [[Wikipedia:WikiProject {{{1}}}/to do|To-do]]  ([[|Talk]])
Template documentation[view] [edit] [history] [purge]

Contents

  • 1 Usage
    • 1.1 Parameters
    • 1.2 Examples
  • 2 See also

Usage

edit

This template semi-automatically generates a list of useful links to Wikipedia resources about a particular topic. It is used in the "Wikipedia:" namespace, not on articles or their talk pages, because it is very WP:SELFREFish.

It is a fork of {{Topic}} which generally does not suppress red links, thus making minimal use of the expensive parser function #ifexist, which helps pages that transclude it many times stay out of Category:Pages with too many expensive parser function calls.

Parameters

edit

You can define each of the following parameters by hand. This is not necessary unless the resource exists but was not automatically detected.
|alerts= – article alerts page for the topic (X in Wikipedia:X)
|article= – main article for the first or only topic (just the article name, without markup)
|article2= – main article for a second topic (just the article name, without markup); |article=X must also be specified
|assessment= – article assessment page for the topic (X in Wikipedia:X)
|board= – noticeboard (e.g. regional) for the topic (X in Wikipedia:X)
|category= – main category for the first or only topic (X in Category:X)
|category2= – main category for a second topic (Y in Category:Y); |category=X must also be specified
|collab= – collaboration for the topic (X in Wikipedia:X)
|commonscat= – Commons images and other files available for the topic (X in commons:Category:X
|delsort= – deletion-sorting subpage for the topic (X in Wikipedia:WikiProject Deletion sorting/X)
|outline= – outline for the topic (X in Outline of X; if real article at a different name, create a redirect that will work)
|index= – Wikipedia:WikiProject Indexes for the index(X in Index of X
|portal= – portal for the topic (X in Portal:X)
|project= – WikiProject (or taskforce/workgroup/subproject) for the topic (X in Wikipedia:WikiProject X)
|project=no – suppress display of the "Project" link entirely (useful when {{Topic|...}} is used on WikiProject pages)
|stubtype= – stub type for the topic (X in Category:X stubs}})
|style= – Manual of Style for the topic (X in Wikipedia:X)
|to-do= – To-do list for the topic (X in Wikipedia:X or Talk:X)

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 item will be skipped. Unless an incorrect variable has been specified, this should never contain a redlink.

Display parameters

|simple=yes – if you want a simple one-line display without messagebox formatting
|image= – An icon to appear on the left of the messagebox. This is X in File:X (formerly Image:X). Do not add other image-related parameters; the {{notice}} at the other end cannot process them.

Examples

edit

{{Topic links|China}}

creates:

Points of interest related to China on Wikipedia:
Outline –  Index –  History –  Portal – Category  – WikiProject  – Alerts  – Deletions  – Cleanup  – Stubs  – Assessment  – Style  – To-do  (Talk)


{{Topic links|China|simple=y}}

creates:

Article –  Outline –  Index –  History –  Portal – Category  – WikiProject  – Alerts  – Deletions  – Cleanup  – Stubs  – Assessment  – Style  – To-do  (Talk)


Topics with few developments show fewer options automatically; {{Topic links|Archery|simple=y|outline=NONE YET!}}

creates:

Article –  Outline –  Index –  History –  Portal – Category  – WikiProject  – Alerts (Setup) – Deletions  – Cleanup  – Stubs  – Assessment  – Style  – To-do  (Talk)


Complex example: {{Topic links|Heraldry and vexillology|article=Heraldry|article2=Vexillology|category=Heraldry|category2=Vexillology}}

creates:

Points of interest related to Heraldry and Vexillology on Wikipedia:
Outline –  Index –  History –  Portal – Category:Heraldry, Category:Vexillology  – WikiProject  – Alerts  – Deletions  – Cleanup  – Stubs  – Assessment  – Style  – To-do  (Talk)


{{Topic links|Cue sports|image=Chalk_stub.png|portal=Snooker|commonscat=Billiards}}

creates:

Points of interest related to Cue sports on Wikipedia:
Outline –  Index –  History –  Portal – Category  – WikiProject  – Alerts  – Deletions  – Cleanup  – Stubs  – Assessment  – Style  – To-do  (Talk) – Commons files

See also

edit
  • {{Topic}}
The above documentation is transcluded from Template:Topic links/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Topic_links&oldid=854399822"
Last edited on 11 August 2018, at 02:13

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 11 August 2018, at 02:13 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop