Difference between revisions of "Template:Star"

From SEBoK
Jump to navigation Jump to search
(Created page with "<includeonly><div id="light" class="white_content">{{#tag:html|<a style="float:right;padding:2px 4px 0 0" href="javascript:void(0)" onclick="$('#light').hide();$('#fade').hide...")
 
m
Line 1: Line 1:
<includeonly><div id="light" class="white_content">{{#tag:html|<a style="float:right;padding:2px 4px 0 0" href="javascript:void(0)" onclick="$('#light').hide();$('#fade').hide()">[X]</a>}}{{#star:{{{1}}}}}</div><div id="fade" class="black_overlay"></div>{{#tag:html|<a style="float:right" href="javascript:void(0)" onclick="$('#light').show();$('#fade').show()"><img src="/dev/extensions/SEBoK/staricon.png" alt="Star menu" /></a><br /><div style="text-align:center;color:#999;">This navigational tool is a prototype under development SEBoK 1.0. Comments are welcome for improvement.</div>}}</includeonly><noinclude>This template creates a star menu inside a light-box.
+
<includeonly><div id="light" class="white_content">{{#tag:html|<a style="float:right;padding:2px 4px 0 0" href="javascript:void(0)" onclick="$('#light').hide();$('#fade').hide()">[X]</a>}}<div style="text-align:center;color:#999;">This navigational tool is a prototype under development SEBoK 1.0. Comments are welcome for improvement.</div>{{#star:{{{1}}}}}</div><div id="fade" class="black_overlay"></div>{{#tag:html|<a style="float:right" href="javascript:void(0)" onclick="$('#light').show();$('#fade').show()"><img src="/dev/extensions/SEBoK/staricon.png" alt="Star menu" /></a><br />}}</includeonly><noinclude>This template creates a star menu inside a light-box.
  
 
Example usage:
 
Example usage:

Revision as of 16:11, 13 March 2012

This template creates a star menu inside a light-box.

Example usage:

{{Star|{{#linktree:3|A|B|C}}}}

Where "3" is the number of levels the link-tree should display to, and "A", "B" and "C" are titles that should be excluded.