Access Keys:
Skip to content (Access Key - 0)
Home (Access Key - 1)
All spaces... (Access Key - 3)
Log in (Access Key - 5)
Sign up (Access Key - 6)
Toggle Sidebar

set-level macro

(None)

{set-level} macro

To follow

Toggle Sidebar
Added by Guy Fraser on Aug 17, 2007 05:48, last edited by Guy Fraser on Jul 07, 2008 12:41
<tr bgcolor=ffffff>
    <!-- The left-hand table cell should contain usage examples -->
    <td>
        {set-level:username|readonly=true}
    </td>
    <!-- The right-hand cell describes the macro and its available arguments -->
    <!-- and may include sample output -->
    <td>
        <p>Allows setting of a users 'level'</p>
        <p>Parameters:</p>
        <ul>
            <li><i>default</i> - the username of the user whose level should be displayed, or @self for the logged in user (username/@self/@creator/@owner - defauluts to @creator)<br>
            when the logged in user is the one chosen then the display becomes a dropdown that allows that user to select their level</li>
            <li>showDescription - whether the macro should display description of the chosen level (default false)</li>
            <li>readonly - whether the macro should just display the level when the logged in user matches the one chosen (default false)</li>
        </ul>
        <p>See Also: <span class="nobr"><a href="http://www.adaptavist.com/display/USERGUIDE/set-level+macro" title="Visit page outside Confluence">User Guide and Examples</a></span></p>
    </td>
</tr>

Adaptavist Theme Builder Powered by Atlassian Confluence