> I was just wondering if I could replace %0 with a wikified
> tiddlervalue instead?
> This way I would only have to input the ip once, thereby inputting the
> correct ip-address in many tiddlers at once...

huh?  I don't quite understand what you are asking...

However... you don't actually need to use the <<wikify>> macro if all
you are trying to do is insert an IP address stored in another
tiddler.  Instead of <<wikify>>, you should use 'tiddler transclusion
with parameters', like this:

First, create a tiddler called [[MoodleFrame]], containing:
-----------------------
<html><div align="center"><iframe src="http://$1/moodle/";
frameborder="0" width="100%" height="600"></iframe></div></html>
-----------------------
Note the use of "$1" as a substitution marker in [[MoodleFrame]].
This is equivalent to the %0 used in <<wikify>> and will automatically
substitute a passed in value wherever the marker occurs.

Then, to substitute a particular IP value, you can write in another
tiddler:
   <<tiddler MoodleFrame with: "1.2.3.4">>

Or, if you want to enter the IP address as a value in a separate
tiddler, you could write:
   <<tiddler MoodleFrame with: {{store.getTiddlerText("MoodleIP")}}>>

where the tiddler [[MoodleIP]] contains just:
   1.2.3.4

-e
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to