Template:Article section/doc

This simple template is used to generate a link to a certain section of the current/associated article or other non-talk page, and render an appropriate section…

Template:Article section/doc

Usage

This simple template is used to generate a link to a certain section of the current/associated article or other non-talk page, and render an appropriate section mark (§). This link points to a section of the article or page, even if it the template is used within that article's talk page.

Markup Renders as
Are the dates in {{article section|Early life}} accurate? ~~~~

Are the dates in § Early life accurate? User:Example 00:00, 1 January 2000 (UTC)

This template is meant to save the editors from writing the same thing twice. For example, instead of the following:

[[History of IBM#1969: Antitrust, the Unbundling of software and services|§ 1969: Antitrust, the Unbundling of software and services]] within Talk:History of IBM, or
[[#1969: Antitrust, the Unbundling of software and services|§ 1969: Antitrust, the Unbundling of software and services]] within History of IBM article

...you can write:

{{Article section|1969: Antitrust, the Unbundling of software and services}}

...which is much shorter and does not require you to search for the section mark character.

Both generate:

§ 1969: Antitrust, the Unbundling of software and services
Q: What if the target anchor is different from what must be displayed?
A: This might happen if the section title contains characters that cannot appear in an HTML anchor or HTML ID. In that case, you are already in need of writing the ID and the display text separately; use of this template would be pointless as it only makes you type an additional "article section|". Stick to standard Wikipedia linking syntax.

See also

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Article section in articles based on its TemplateData.

TemplateData for Article section

This simple template is used to generate a link to a certain section the current/associated article and render an appropriate section mark (§). This link points to a section of the article even if the template is used within the article's talk page. This template is meant to save the editors from writing the same thing twice.

Template parameters

ParameterDescriptionTypeStatus
Section name1

Name of the section in the current/associated article to which you'd like to link.

Stringrequired


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.