Difference between revisions of "Widget:Calendar"

From Hackerspace ACKspace
Jump to: navigation, search
m (new debug data)
(new debug test)
Line 148: Line 148:
  
 
<ul>
 
<ul>
<!--{foreach from=$color key=key item=item}-->
+
<!--{foreach from=$hl key=col item=dates}-->
  <li><!--{$key|escape:'html'}-->: set to <!--{$item|escape:'html'}--></li>
+
  <li><!--{$col|escape:'html'}-->: set to
 +
    <ul>
 +
    <!--{foreach from=$dates item=item}-->
 +
      <li>
 +
        <!--{$item|escape:'html'}-->
 +
      </li>
 +
    <!--{/foreach}-->
 +
    </ul>
 +
  </li>
 
<!--{/foreach}-->
 
<!--{/foreach}-->
 
</ul>
 
</ul>
 
</includeonly>
 
</includeonly>

Revision as of 17:34, 25 February 2016

This widget allows you to display a calendar

Created by Xopr

Using this widget

To insert this widget, use the following code:

{{#widget:Calendar
|date=march 1 2011
}}

This will give the following result:

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:Calendar article.