There's something about it понедельник, 9 октября 2017 г., 23:38:43 UTC+2 пользователь Jan написал: > > Hello, > I am trying to make a macro to call a Temporary Wikipedia Tiddler. This > means it should open a Tiddler with an Iframe containing the Wikipedia > article. I do not arrive to insert the subject into the Iframe. > Perhaps (if anyone else could use this) It would be a good Idea to > choose the wikipedia language as well. > > This is what I made so far... > > \define Wikisubject(subject) $subject$ > \define Wikihtml() > <$wikify name="subject" text=<<Wikisubject>>> > <iframe allowtransparency="true" frameborder="0" scrolling="no" > src="https://de.m.wikipedia.org/wiki/<<subject>>" > style="width:110%;height:95vh;" scrolling="yes"></iframe> > </$wikify> > \end > > \define Wikiframe() > <iframe allowtransparency="true" frameborder="0" scrolling="no" > src="https://de.m.wikipedia.org/wiki/$subject$" > style="width:110%;height:95vh;" scrolling="yes"></iframe> > \end > > \define Wikipedia(subject) > <$button> > <$action-setfield $tiddler="""$:/temp/Wikipedia/$subject$""" > text=<<Wikiframe>>/> > <$action-setfield $tiddler="""$:/temp/Wikipedia/$subject$""" > tags="Wikipedia"/> > <$action-setfield $tiddler="""$:/temp/Wikipedia/$subject$""" > alias="$subject$"/> > <$action-navigate $to="""$:/temp/Wikipedia/$subject$"""/> > Wikipedia:$subject$ > </$button> > \end > > <<Wikipedia "Semiotik">> >
-- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/57325195-fc21-47f5-80b8-cc6c15dd4978%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.