Template:Satop

维基百科,自由的百科全书
跳转至: 导航搜索
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

This template creates internal links for the See also section of an article.

This template performs the following:

  1. If desired, creates a headline for the See also section.
  2. Searches for, and creates a link to, an outline of the article subject.
  3. Searches for, and creates a link to, a bibliography of the subject.
  4. Searches for, and creates a link to, an index of articles related to the subject.
  5. If desired, creates links to other related reference articles.
  6. Creates a floating link box to related Wikipedia portals.
  7. Creates a floating link box to the corresponding Wikipedia book.
  8. If desired, creates a floating link box to the corresponding section of Wikimedia Commons.

Usage[编辑]

The complete syntax for this template is:

{{Satop|portal01|...|portal25|r1=|r2=|r3=|r4=|r5=|r6=|r7=|r8=|r9=|r10=|align=|width=|nohead=|nobook=|nocomm=}}

where:

  • |portal01|...|portal25| are up to 25 optional Wikipedia portal base names.
    • |newcol| will create a new column of portal links.
  • r1= an optional reference article name (default Outline of {{PAGENAME}} or Outline of the {{PAGENAME}}).
  • r2= an optional reference article name (default Bibliography of {{PAGENAME}} or Bibliography of the {{PAGENAME}}).
  • r3= an optional reference article name (default Index of {{PAGENAME}}-related articles).
  • r4= an optional reference article name.
  • r5= an optional reference article name.
  • r6= an optional reference article name.
  • r7= an optional reference article name.
  • r8= an optional reference article name.
  • r9= an optional reference article name.
  • r10= an optional reference article name.
  • align= an optional alignment parameter for the floating boxes.
    • align=left
    • align=right (default).
  • width= an optional maximum width parameter in pixels for the Wikipedia portal link box.
    • width=600 (default).
  • nohead= an optional headline blocking parameter.
    • nohead=false – show the headline "Additional, more specific, and related topics may be found at:".
    • nohead=true – do not show a headline (default).
    • nohead=other – show the formatted headline other.
  • nobook= an optional blocking parameter for the Wikipedia book link box.
    • nobook=false – show the Wikipedia book link box if the book exists (default).
    • nobook=true – do not show a Wikipedia book link box.
    • nobook=other – show Wikipedia book link box for Book:other if the book exists.
  • nocomm= an optional blocking parameter for the Wikimedia Commons link box.
    • nocomm=false – show the Wikimedia Commons link box.
    • nocomm=true – do not show a Wikimedia Commons link box (default).
    • nocomm=other – show the Wikimedia Commons link box for other.

Notes[编辑]

This template does not display links to Wikipedia pages that do not yet exist. This simplifies maintenance because new links appear instantly when the pages are created.

The See also section of a Wikipedia article should normally be preceded by, and terminate with, a {{clear}} template to avoid running into other sections.

Example[编辑]

Placing the following Wikitext:

{{satop|Geography|North America|Northern America|Commonwealth realms|NAFTA|Arctic|Canada}}

at the top of the See also section of the Wikipedia article Canada creates the following:



See also[编辑]