Difference between revisions of "Template:Info block"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
}} | }} | ||
</pre> | </pre> | ||
+ | |||
+ | |||
;Example (left) | ;Example (left) | ||
Line 42: | Line 44: | ||
|footer=Footer text | |footer=Footer text | ||
}} | }} | ||
+ | |||
+ | |||
;Example (right) | ;Example (right) |
Revision as of 20:19, 18 February 2022
- Description
- Usage
{{Info block |label= # Any short text. Default: "Did You Know ..." </nowiki> |content= # Instances of the [[Template:Info section]] |footer= # Any text |position= # Tab alignment policy [ left|right ]. Default: "left" }}
- Example (left)
{{Info block |label=Label |content= {{info section|content=Section content}} {{info section|content=Section content}} {{info section|content=Section content}} |footer=Footer text }}
- Result
- Label
Section content
Section content
Section content
- Example (right)
{{Info block |label=Label |content= {{info section|content=Section content}} {{info section|content=Section content}} {{info section|content=Section content}} |footer=Footer text |position=right }}
- Result
- Label
Section content
Section content
Section content