Difference between revisions of "Template:BsPanel"

From Funtoo
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:{{{heading|}}}|<div class="panel-heading">{{{heading|}}}</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">{{{title|}}}</div>}}
{{#if:{{{footer|}}}|<div class="panel-footer">{{{title|}}}</div>}}
</div></includeonly><noinclude>{{documentation}}</noinclude>
</div></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 11:26, September 29, 2014

[create]

Template-info.png Template Documentation

To use this template insert {{Template:BsPanel}} into the page you wish to use it on and the page you wish.

This template does not have documentation, please add it