This is a documentation subpage for Module:Blocks. It may contain usage information, categories and other content that is not part of the original module page. |
This module is used for Template:Blocks.
Usage
editTo use this module, add the following code to your wiki page:
{{#invoke:Blocks|main}}
Inputs
editOutputs
editThis module outputs a single string containing the HTML markup for the generated blocks. Each block will include:
- The section name (if provided) as an
<h2>
heading, followed by an edit link (either to that page or the transcluded page if a page title is passed). - The transcluded content from the specified page or the provided content, wrapped in a
<div>
with the classblocks-block
.