> I copied the lines: > !!!$1 @@font-size:80%;(<<editTiddler [[$1]]>>)@@ > <<tiddler [[$1]]>> > And named the tiddler ShowSection > but the resulting tiddler renders > $1 (error in macro <<editTiddler>>)
When viewed directly, the ShowSection tiddler will show the above 'error' output. However, when you write <<tiddler ShowSection with: TiddlerName>> in another tiddler, then the $1 contained in ShowSection is *automatically substituted* with "TiddlerName" (the value of the macro parameter), resulting in: !!!TiddlerName @@font-size:80%;(<<editTiddler [[TiddlerName]]>>)@@ <<tiddler [[TiddlerName]]>> Thus, after creating ShowSection, you simply create another tiddler with lines like this: <<tiddler ShowSection with: [[USN Warship Hull Codes]]>> <<tiddler ShowSection with: [[SomeTiddler]]>> <<tiddler ShowSection with: [[SomeOtherTiddler]]>> etc. > I then added the systemConfig tag, refreshed and got a "Syntax error: > missing ; before statement". Don't add a 'systemConfig' tag... the content of the tiddler is *not* javascript programming... it is simply formatted wiki-syntax content for use with the <<tiddler>> macro (as described above). enjoy, -e --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---