You want to look at and create information in whatever way works for you, and Wagn lets you do that with many special URLs (web addresses) take you exactly where you want to go, and control how much of the usual interface you see around it.
Examples
http://wagn.org/new/Support_Ticket
http://wagn.org/new/Support_Ticket?_status=open (see setting default content with links)
http://wagn.org/card/edit/Web_address_for_everything
http://wagn.org/card/changes/Web_address_for_everything
http://wagn.org/card/options/Web_address_for_everything
http://wagn.org/card/related/Web_address_for_everything/plusses
http://wagn.org/card/view/1031
http://wagn.org/wagn/Web_address_for_everything+howto?layout=noside
http://wagn.org/wagn/Web_address_for_everything+howto?layout=blankhttp://wagn.org/wagn/Web_address_for_everything+howto?layout=none
http://wagn.org/wagn/Web_address_for_everything+howto?view=content
http://wagn.org/wagn/Web_address_for_everything+howto?layout=blank&view=naked
How To
To make links that do simple searches, replace "/wagn/cardname" in a regular address with "/search/what you're looking for".
To make a link to create a card, after the base address put "/card/new".
To make links that create new cards of a specified type, replace "/wagn/cardname" with "/new/cardtype of new card". You can also set setting default content with links to go into plus cards in the format of that cardtype.
By default when you go to a card's page you are in the View tab. You can link directly to a card's other tabs by replacing /wagn/ in the address with "/card/edit/", "/card/options/", etc. You can even link directly to the Related tab's subtabs using addresses like "/card/related/cardname/config".
The rest of these use the usual URL syntax for key/value pairs — the URL is followed by a question mark, and each key/value pair is expressed as "key=value", with an ampersand to separate each key/value pair (e.g. [[/wagn/Wagn_News?layout=noside&view=content]]) :
To see a card without some or all of the usual surrounding interface you can specify a layout and/or a view:
- remove the sidebar — "layout=noside"
- remove the header links and footer credit — "layout=blank"
- remove all HTML outside the card itself — "layout=none"
- eliminate the card interface around the card itself — "view=content"
- eliminate the card interface and any HTML around the card — "view=naked"
You can override the view of Pointer or Search items with "item=" and the view name you want used.
You can specify the type of a named card (if it doesn't exist yet, such that clicking on it will lead to creating it) with something like [[/wagn/NewCardName?type=Image]]
Tips
- The styling of internal and external links is different, and Wagn treats anything with a complete web address (beginning with http) as external. To make these links so that Wagn recognizes them as internal, just skip the first part of the address. For example you'd edit http://wagn.org/search/fruit down to just/search/fruit — so [[/wagn/search/fruit|search for fruit]] ends up looking like search for fruit.
- Cards can be referred to by a numerical ID as well as by a name (this is helpful sometimes when troubleshooting). On any page, you can find the main card's ID by viewing source then searching for 'cardid' in a div with 'position="1"'. Once you have the ID, you can construct addresses such as "/card/view/1031", "/card/edit/1031", etc.
- The above is inaccurate for Wagn 1.3.0. Instead of position="1", the card ID is in div id="primary" and then div id="main. There is no position="1".
- Some of these can be powerfully combined by using inclusions inside the links, especially with contextual card names. Also see contextual generation of web addresses.
Add +discussion

