1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-26 07:13:15 +00:00

Docs update

The SubStories thing is fun
This commit is contained in:
Jeremy Ruston 2012-06-26 19:55:11 +01:00
parent 69a0c46447
commit 6056b88532
4 changed files with 17 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -30,4 +30,4 @@ The downside of writing the first version of TiddlyWiki in this way was that it
! Leaving BT
//To be continued.../
//To be continued...//

View File

@ -10,5 +10,6 @@ Here are a few features of TiddlyWiki that you can explore:
* If you're running on a touch browser like Mobile Safari on the iPad or iPhone:
** The zooming chooser appears by swiping into the left edge of the screen. (It's currently broken but you get the idea)
** The zooming navigator appears by swiping in from the right edge of the screen. (It currently only works in the 'Classic' storyview)
* Play with the SubStories example to understand how the StoryMechanism works
* Browse the list of AllTiddlers or the ShadowTiddlers
* Examine the example [[bitmap images|Motovun Jack.jpg]] and [[SVG images|Motovun Jack.svg]]

View File

@ -0,0 +1,14 @@
title: SubStories
tags: samples
It is possible to have multiple `story` macro pointing to the same story tiddler, and it is even possible to nest them.
For example, this macro displays the same tiddlers as the main story but through the template used to display tags, which makes each tiddler appear as a tiny panel:
{{{
<<story story:"$:/StoryTiddlers" defaultViewTemplate:[[$:/templates/TagTemplate]] storyview:classic >>
}}}
Try opening and closing some other tiddlers and see how this second story animates when tiddlers are added and removed from the main story. (It's also interesting to view the story tiddler alongside this one: [[$:/StoryTiddlers]])
<<story story:"$:/StoryTiddlers" defaultViewTemplate:[[$:/templates/TagTemplate]] storyview:classic >>