Home Recent
Request an Invitation Sign in
Feature Page

Wagn cards can include other cards inside them, which opens up several possibilities:

  • referring to one card (like an address or an event notice) from many spots on the site.  That way, when its contents get updated, it's updated everywhere
  • including "closed" cards to save space and allow for a more dynamic read
  • organizing more granular data that can be referred to in multiple contexts
  • you create and edit standard formats by including cards within cards (that can be rearranged)
  • images in Wagn work by by creating an image card and uploading an image to it, then including the image card where you want it to appear

You can edit included cards by double-clicking anywhere in them, or clicking on the Edit tab (if it's view:open, or view:closed but has been opened).

Also see relative inclusion.



Page

Text cards

 

Including cards is achieved through a simple syntax, which consists of the name of the card inside double braces, with a couple of optional modifiers. It looks like this:

 

{{Wagn Wheels}} — include the Wagn Wheels card, but without the card interface around it

 

You can add a view modifier after a vertical bar to affect exactly what gets included:
{{Wagn Wheels|view:content}} — explicit way of saying the same thing as above

 

Actually, the "view:" is optional:
{{Wagn Wheels|content}}

 

Some more views:

 

{{Wagn Wheels|open}} — include Wagn Wheels with its card interface around it, and open (this used to be "card")

 

{{Wagn Wheels|closed}} — include Wagn Wheels with its card interface, but closed (this used to be "line")

 

{{Wagn Wheels|link}} — include just a link to Wagn Wheels

 

{{Wagn Wheels|name}} — include just the plain card name, "Wagn Wheels"

 

{{Wagn Wheels|raw}} — raw is the same as content, but does not include any of the surrounding HTML that happens with content. This means you won't be able to double-click on it to edit it, and is useful for embedding, say, in HTML cards.

 

Image cards


When you're including an image, by default it will appear exactly where you include it. You can instead have it align left or right. If it's included in a paragraph, then the text will wrap around it.

{{nymph|float:right}}
{{nymph|float:left}}
{{nymph|float:none}} (the default)

 

Lists of cards


When you're including Search or Pointer cards — both of which return lists of cards — you can also specify how the returned cards appear, by adding a semicolon and item:content, item:raw, item:open, item:closed (this is the default), item:link, item:name. So {{High priority tickets|line;item:link}} looks like:



Page

{{Wiki on Wheels|closed}} looks like this:


 

{{Wiki on Wheels|link}} looks like this:


Wiki on Wheels

 

{{Wiki on Wheels}} looks like this:


 

{{nymph}} looks like this:


 

There's a {{nymph|float:right}} at the beginning of this paragraph:


To see an image side-by-side with some text, we can add float:right and have it appear to the right as it does here. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus ac nunc vitae leo ullamcorper volutpat. Maecenas aliquam euismod nibh. Nullam arcu. Cras sed odio sed magna egestas semper. Mauris sed sem eu dui placerat pretium. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer mauris lacus, porta eu, porta ac, volutpat eu, nibh. Morbi sed est id mi luctus ullamcorper. Fusce eget magna eu tellus placerat cursus. Proin pede est, tincidunt pharetra, sagittis eget, molestie nec, ipsum. Vestibulum est augue, aliquet et, cursus ac, dignissim a, mauris. Suspendisse laoreet dolor eu lacus. Mauris tristique magna quis odio. Sed eleifend nisi eget purus. Nullam volutpat augue nec arcu. Aliquam vel mauris. Suspendisse potenti. Vivamus dolor.



Page

Keeping things on one line

 

Sometimes you want to include cards in the middle of a line of text, and want everything to stay on one line. To do this there are a few things that have to be in place:

  1. When including text cards, instead of cardtype Basic, make sure that they are PlainText or Phrase. (Images, numbers, etc. will be fine as is.)
  2. Include them with view raw - { {inclusion one|raw} }
  3. Put them all on one line, e.g.: { {inclusion one|raw} } { {inclusion two|raw} } { {inclusion three|raw} }

Example

 

Forgot to include them raw:

We like our favicon
so much that

we use it in examples.

Almost — just forgot to make inclusion four a Phrase or Plaintext:

We like our favicon so much that

we use it in examples.



Tickets relevant to inclusion:


Add +discussion