Template:TemplateStarter

    Documentation

    This box includes basic usage information for this template.  When calling the template, this documentation will not appear.  Functional template code should be placed outside the dotted box.

    Summary

    Template Description  
    Requirements  
    Documentation URL  
    Discussion URL  

    Version History

    Place newest version at the top of the table.

    Version Date Author Description
           

    Template Parameters

    Name Type Default Description
           
    // UNSAFECONTENT PERMISSION CHECK
    // This code checks if the template is properly installed for unsafe content execution,
    // and may be removed if this check is not desired.  If you leave this here, add your new code
    // in a new DekiScript block below this one.
    var chkunsafe = wiki.inclusions()[-1];
    if (!wiki.pagepermissions(chkunsafe.id, chkunsafe.author.id).unsafecontent)
      <div style="color:red; width:75%; padding:5px; border:1px solid red;">
        "WARNING: The page '"..chkunsafe.path.."' must be re-saved by a user with UNSAFECONTENT permission in order to work correctly. ";
        <a href="http://developer.mindtouch.com/en/kb/Using_templates_which_require_UNSAFECONTENT_permission"> "See this" </a>;
        " for more info."; 
      </div>;
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by