Template:Section
Template page
More actions
English • čeština • Deutsch • español • français • italiano • 日本語 • 한국어 • polski • português • português do Brasil • русский • ไทย • Türkçe • українська • Tiếng Việt • 中文(简体) • 中文(繁體)
File:Notebook.pngDocumentation
This template relies heavily on CSS for its layout and styling.
Any edits may affect layout or appearance across multiple pages.
This template is used to create a section box with a heading and content.
Usage
Syntax
{{Section
| Section heading
| Section content
| style = custom style
| class = custom class
}}
Parameters
1- Section heading, default to
Section Heading. 2- Section content, default to
Section content.. - If the content is not shown, the possible reason is that the content contains
=so that the template cannot parse it correctly. To solve this problem, use2 =to specify the content. style- Custom style.
class- Custom class for section heading, can be the following values:
red(default)blue
Examples
{{Section}}
Section Heading
Section content.
{{Section|Custom Heading|Custom content.}}
Custom Heading
Custom content.
{{Section|class=blue}}
Section Heading
Section content.
How to translate
This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:
- Create a subpage of this template with the language code of the language you want to translate to.
- Copy the code wrapped in the
<noinclude>tag in this template into the page you created.{{Translation guide}}template should be removed from the translated documentation.
- Translate the page according to the translation requirements of normal pages.
See also
The following pages transclude this template:
Editors can experiment in this template's sandbox.