Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Template:BsPanel"
Jump to navigation
Jump to search
m (Fixed heading title) |
m (Set default as... default... instead of primary) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:style|{{#if:{{{bs-style|}}} | {{{bs-style|}}} | | <includeonly>{{#vardefine:style|{{#if:{{{bs-style|}}} | {{{bs-style|}}} | default }}}} | ||
<div class="panel panel-{{#var:style}}"> | <div class="panel panel-{{#var:style}}"> | ||
{{#if:{{{title|}}}|<div class="panel-heading"><div class="panel-title">{{{title|}}}</div></div>}} | {{#if:{{{title|}}}|<div class="panel-heading"><div class="panel-title">{{{title|}}}</div></div>}} | ||
<div class="panel-body">{{{body|}}}</div> | <div class="panel-body">{{{body|}}}</div> | ||
{{#if:{{{footer|}}}|<div class="panel-footer">{{{ | {{#if:{{{footer|}}}|<div class="panel-footer">{{{footer|}}}</div>}} | ||
</div></includeonly><noinclude>{{documentation}}</noinclude> | </div></includeonly><noinclude>{{documentation}}</noinclude> |