Cards are the basic building blocks of Wagn sites. How do you create them?
There are many ways, including via:
The variety of tools makes it possible to create intuitive, customized means for end users to contribute information to your site without even needing to know what a "card" is.
Let's go through each of the solutions above and learn both how to use them and how to wagneer them to make them easy for others to use.
On the menu of every new wagn, there is a link to Add a card. You can add this link anywhere with this Link Syntax:
[[/card/new | Add a card]]
After clicking that link, you can add a name, choose a type, add some content, and click "Submit".
As with most wikis, you can link to cards that don't yet exist and then click to create them. For example, this simple Link Syntax...
[[A Flying Hippo]]
...will yield this: A Flying Hippo. The red color indicates that "A Flying Hippo" has not yet been created. If you click the link, you can then choose a type, add some content, and click "Submit" to create it. Please don't create this card! That would falsify this doc, because after creating the card the link would turn green to indicate that the card exists.
To experiment with any of the methods described here, please feel welcomed to create away at sandbox.wagn.org.
Let's say you have created a Registration type to have users register for an event. You'd probably rather not make them select "Registration" from a type dropdown. Instead, you'd like to have a link that immediately opens up the registration form. Here's how:
[[/new/Registration | Register Here!]]
This will give you a link like this: Register Here!. After clicking that link, you won't see a type dropdown, because the type is already set. But you will see a name field (unless you're using autonaming), and the content area will match the Registration type.
Wagn's search bar can do more than just search. For example, if you type "A Flying Hippo" into the search bar above (or, better yet, into the search bar on sandbox.wagn.org), you will see the following options:
Option #1 does what search bars usually do: performs a search for cards that match those keywords. Option #2, however, lets you create a new card with the name "A Flying Hippo", just as in the link to an unused name section above. This method is useful when you want to confirm the name's availability or when you don't see a convenient create link on the page.
Wagn has very simple URL Syntax. Almost every page is constructed around viewing a card, for which the path is:
/wagn/cardname
Many Wagneers often create new cards by directly editing the cardname in the browser, which takes you directly to a card creation form with the name prepopulated. Note that with this solution you will need to use underscores "_" in place of spaces in card names. So to create our flying hippo on the sandbox wagn, the url would be: http://sandbox.wagn.org/wagn/A_Flying_Hippo
Just as you can link to a card that doesn't exist, you can also include such a card within another. For example, this Nest Syntax:
{{A Flying Hippo}}
...yields this link:
Clicking that link will prompt you to add the new card in place - without being taken to a new page. The process is the same as all the Flying Hippo examples above; you still choose a type and add content and click submit. But with inclusions, you are never taken out of your original context.