Template:Article section
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:
- 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
- {{Section link}}
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Section name | 1 | Name of the section in the current/associated article to which you'd like to link. | String | required |
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.
- 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:
- 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.
- 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.
- 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.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.