×
Create a new article
Write your page title here:
We currently have 230 articles on Farthest Frontier. Type your article name above or create one of the articles listed here!



    Farthest Frontier

    Template overview

    A template that serves as a shortcut for the SemanticWiki {{#show}} ParserFunction, defaulting the target page name to the current page name.

    Usage

    {{Show|property|pagename|default}}
    
    property
    (required) The name of the property for which to retrieve its value.
    pagename
    (optional) The name of the page containing the target Property.
    default
    (optional) The value to output if the target property has no value.

    Example

    Given an SMW declaration of [​[​Text::foo​]​] on this page...

    {{Show|Text}}
    

    ...renders...


    Given an SMW declaration of [​[​Text::bar​]​] on User:Jamespapp/sandbox...

    {{Show|Text|User:Jamespapp/sandbox}}
    

    ...renders...

    bar
    

    ...and...

    {{Show|Herring|User:Jamespapp/sandbox}}
    

    ...renders...

    ...and...

    {{Show|Herring|User:Jamespapp/sandbox|red}}
    

    ...renders...

    red
    

    Result

    If pagename is omitted, the current page (determined using {{fullpagename}}) is used as the target for this template.

    If the Property exists on the target page, it's value is rendered, otherwise nothing is rendered.

    If the property in question is of type page then a link to that page is rendered (not just the plain text of the name of that page). If that page is in the File namespace then the specified image is rendered (not its name nor a link to it, but the actual image itself).
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.