Template:MindTouch > Reports > Controls > TableCellPage

TableCellPage

    Table of contents
    No headers
    /**
     * Table Cell: Page detail
     * Outputs page related information
     */
    var pageId = $id;
    var class = $class;
    var cellPage = $page ?? wiki.getpage(num.cast(pageId));
    
    <td class=("page-detail " .. class)>
        <div class="details">
        <a href=(cellPage.uri)>cellPage.title</a>;
        var parentPath = cellPage.parent.path;
        if (parentPath) {
            <span class="in">
                " " .. wiki.localize("MindTouch.Reports.data.title.in") .. " ";
                <a href=(cellPage.parent.uri)>parentPath</a>;
            </span>
        }
        </div>
    
        var tags = cellPage.tags;
        if (#tags > 0) {
        <div class="tags">
            <span>wiki.localize("MindTouch.Reports.data.title.tags")</span>
            <ul>
                foreach (var tag in tags) {
                    if (__count > 2) {
                        break;
                    }
                    <li><a href=("Special:Tags?tag=" .. tag.name)>tag.name</a></li>
                }
            </ul>
        </div>
        }
    </td>
    



    Tag page (Edit tags)
    • No tags

    Running the latest version?

    V1.12.0 - released July 2015
    Releasenews | Download
    Changelog
    | Requirements

    MediaPortal RSS Feeds

    windows media centerNews & Blogs
    htpcP&S: New
    htpcDocumentation

    Team-MediaPortal

    HTPCAbout
    Contact | Press
    Partners