• View
  • Changes
  • Options
  • Related
  • Edit
  • Contextual (or "relative") names are abbreviated card names that can be interpreted differently based on context.  These short-cut names are translated into "absolute" names when used in links, inclusions, and searches.

     

     

    Examples

    Here is the raw content of a card named Earth:

    The small planet we all live on is named {{_self|name}}. It has seven continents.  See [[+continents]]

    And here is what Earth looks like when it is rendered.

  • View
  • Changes
  • Options
  • Related
  • Edit
  • Earth   

    The small planet we all live on is named Earth. It has seven continents.  See +continents

     

     

    Similarly, here is the raw content of a card named Earth+continents

    Australia, Asia, Africa, Europe, Antarctica, and North and South America are all [[_right]] on planet [[_left]].

    And here is what that card looks like rendered:

  • View
  • Changes
  • Options
  • Related
  • Edit
  • Australia, Asia, Africa, Europe, Antarctica, and North and South America are all continents on planet Earth.

     

     

    How To

    Use these terms in links, inclusions and/or WQL where you want to refer to a card within its own content:

    _self to refer to the card's name. You can also use _ for short, or in plus cards even omit it altogether. For example, in the content of our example card called Earth, all three of these would include Earth+continent:

    • {{_self+continent}}
    • {{_+continent}}, and
    • {{+continent}}.

     

    _left and _right to refer to the left and right parts of a plus card.  You can also use _L and _R for short*.  _right always refers to the rightmost card.  _left always refers to everything else.  For example, with "A+B+C", _left refers to "A+B", and _right refers to "C".  

     

    Another notation that works in plus cards is _1 for the first card, _2 for the second, etc., so on "A+B+C", {{_1}} would be "A" and {{_2}} would be "B".

     

    *This notation allows for arbitrarily complex references. For example on "A+B+C+D+E", you can refer to "A+B+C" with {{_LL}}.  (left of left).   Each L selects the left part, first "A+B+C+D", then "A+B+C".  And you can refer to "C" with {{_LLR}} (right of left of left).  As above, LL gets us "A+B+C", then R selects the right part: "C".

     

    **_user cannot be used in links (because they are not rendered separately for each user), but can be used in inclusions in link view: {{_user|link}}

     

    These are additional terms that relate to other aspects of the user's context:

    _user refers to the user card of the person who is currently signed in**.

     

    _main refers to the main card of the page. It is generally used in custom layout cards to include the main card, and works in inclusions, links and WQL anywhere.

     

    Tips

     
    Add +discussion
    Tickets relevant to contextual names

    Download Docs Sandbox Hosting Support

  • View
  • Changes
  • Options
  • Related
  • Edit
  •  

    Wagn News

    1 to 5 of 24Next-page 1 to 5 of 24Next-page

     

    Ideas

     

     

    Support Tickets



    Wagn at github

    Wheeled by Wagn v. 1.7.2