注意:
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
(Created page with "<includeonly>{{#vardefine:style|{{#if:{{{bs-style|}}} | {{{bs-style|}}} | primary }}}} <div class="panel panel-{{#var:style}}"> {{#if:{{{heading|}}}|<div class="panel-heading"...") |
m (Fixed heading title) |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:style|{{#if:{{{bs-style|}}} | {{{bs-style|}}} | primary }}}} | <includeonly>{{#vardefine:style|{{#if:{{{bs-style|}}} | {{{bs-style|}}} | primary }}}} | ||
<div class="panel panel-{{#var:style}}"> | <div class="panel panel-{{#var:style}}"> | ||
{{#if:{{{ | {{#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">{{{title|}}}</div>}} | {{#if:{{{footer|}}}|<div class="panel-footer">{{{title|}}}</div>}} | ||
</div></includeonly><noinclude>{{documentation}}</noinclude> | </div></includeonly><noinclude>{{documentation}}</noinclude> |