Toggle menu
15
236
70
27.6K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 20:59, 23 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} {{lua|Module:Blocks}} {{Uses TemplateStyles|Template:Blocks/styles.css}} == 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 === <syntaxhighlight lang="wikitext"> {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
}}

Lua error: expandTemplate: template "Wikipedia:Vaccine safety/Discussions" does not exist.