Difference between revisions of "Template:Info block"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
</div> | </div> | ||
<div class="portal-pills">{{{content|}}}<!-- | <div class="portal-pills">{{{content|}}}<!-- | ||
− | -->{{#if: {{{footer|}}}|<div class="info-footer">{{{footer| | + | -->{{#if: {{{footer|}}}|<div class="info-footer">{{{footer|}}}</div>}} |
</div> | </div> | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> |
Revision as of 20:25, 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 + important) (see Template:Info section)
{{Info block |label=Label |content= {{info section|content=Section content}} {{info section|content=Section content}} {{info section|content=Section content|important=1}} |footer=Footer text |position=right }}
- Result
- Label
Section content
Section content
Section content