Template:Blocks/doc

This template allows you to display multiple pages or content blocks as inline-block "columns" on a page. This can be used to present content in a more space-ef

Template:Blocks/doc

Usage

This template allows you to display multiple pages or content blocks as inline-block "columns" on a page. This can be used to present content in a more space-efficient manner. It can be used to transclude content from other pages, display custom content, or a combination of both.

Syntax

Transclude another page

{{Blocks
| section1 = Section header 1
| page1    = Page to transclude 1
| section2 = Section 2
...
}}

Embed content directly in the template

{{Blocks
| section1 = Section header 1
| content1 = Wikitext content Section 1
| section2 = Section 2
...
}}

Parameters

  • sectionN (optional): The header text for the content block or transcluded page, where N is a number starting from 1 and incrementing for each new section.
  • pageN (optional): The name of the page to be transcluded, where N is a number starting from 1 and incrementing for each new page.
  • contentN (optional): The custom content to be displayed for the respective section, where N is a number starting from 1 and incrementing for each new content block.

Note that you must specify either a pageN or contentN for each section. If both are specified, the transcluded page will take precedence.

Example

{{Blocks
| section1 = Discussions
| page1    = Wikipedia:Vaccine safety/Discussions
| section2 = Arbitrary wikitext
| content2 = Basically whatever you want
===New sections are possible===
If they are on their own lines.
* Bullet point lists.
# Numbers too.
}}

Discussions[ edit ]

Arbitrary wikitext[ edit ]

Basically whatever you want

New sections are possible

If they are on their own lines.

  • Bullet point lists.
  1. Numbers too.


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.