Created
February 28, 2015 21:55
-
-
Save DrLulz/6e3e692cbd954d8e7918 to your computer and use it in GitHub Desktop.
timeline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
{{tll | |
| title = ${1} | |
| subtitle = ${2} | |
| tip = ${3} | |
| body = ${4} | |
| icon = ${5} | |
| color = ${6} | |
}} | |
]]></content> | |
<tabTrigger>woli</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>text.html.mediawiki</scope> | |
<description>Mediawiker: Numbered list</description> | |
</snippet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<noinclude> | |
<pre> | |
{{tll | |
| title = | |
| subtitle = | |
| tip = | |
| body = | |
| icon = | |
| color = | |
}} | |
</pre> | |
</noinclude> | |
<li class="mw-bs-timeline"> | |
{{#if: {{{tip |}}} | |
| <div title="{{{tip}}}" class="tip timeline-badge glyphicon glyphicon-{{{icon}}} {{{color}}}" rel="tooltip" data-placement="right"></div> | |
| <div class="timeline-badge glyphicon glyphicon-{{{icon}}} {{{color}}}"></div> | |
}} | |
<div class="timeline-panel"> | |
<div class="timeline-heading"> | |
<h4 class="timeline-title">{{{title}}}</h4> | |
{{#if: {{{subtitle |}}} | | |
<p><small class="text-muted">{{{subtitle}}}</small></p> | |
}} | |
</div> | |
<div class="timeline-body"> | |
<p>{{{body}}}</p> | |
</div> | |
</div> | |
</li> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment