Hi Yaron

You can show/transclude content from other tiddlers via the tiddler 
macro<http://tiddlywiki.org/#tiddler>by writing: <<tiddler TiddlerTitle>>.

This way you can add any number of tiddlers content into any other number 
of tiddlers..

It is even possible to extract sections or slices of text like this: 
<<tiddler TiddlerTitle##Section>> <<tiddler TiddlerTitle::Slice>>

Taking it even further you can use other tiddlers as templates by using the 
placeholders $1 to $9 for the content that you want replaced during 
transclusion. See http://tiddlywiki.org/#tiddler

Cheers Måns Mårtensson
 
Den søndag den 4. maj 2014 18.08.48 UTC+2 skrev Yaron Hadad:
>
> Hey,
>
> I'm not sure how to do this. I mean, what do you mean by transcluding the 
> tiddlers? How do you practically do it?
>
> Thanks.
>
>
> On Sun, May 4, 2014 at 3:40 AM, Måns <[email protected] <javascript:>>wrote:
>
>> Thank you Yaron
>>
>> What happens if you transclude several tiddlers into one tiddler - the 
>> macro (which you have put into the standard ViewTemplate) - maybe it will 
>> count content from the transcluded tiddlers too?
>>
>> Cheers
>>
>> Den lørdag den 3. maj 2014 20.11.27 UTC+2 skrev Yaron Hadad:
>>>
>>> Hi Måns,
>>>
>>> It is pretty easy.
>>>
>>> I installed the WordCountMacro <http://wordcountmacro.tiddlyspot.com>to 
>>> count the number of words I write. Then I then changed [[ViewTemplate]] 
>>> by adding the line
>>> {{{
>>> <div class='subtitle'><span macro='view modifier link'></span>, <span 
>>> macro='view modified date'></span> (<span macro='message 
>>> views.wikified.createdPrompt'></span> <span macro='view created 
>>> date'></span>), <span macro="wordCount"></span> words</div>
>>> }}}
>>> to ensure it shows a word count in each post (then it shows the word 
>>> count in the upper part of the post, see attached image.
>>>
>>> Good luck!
>>> Yaron
>>>
>>>
>>>
>>>
>>> On Sat, May 3, 2014 at 2:03 AM, Måns <[email protected]> wrote:
>>>
>>>> Hi Yaron
>>>>
>>>>  I know how to do it per post, and trying to do it for the whole TW.
>>>>>
>>>>  
>>>> How do you count words per tiddler?
>>>> Can you share an example?
>>>>
>>>> Cheers Måns Mårtensson 
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to a topic in the 
>>>> Google Groups "TiddlyWiki" group.
>>>> To unsubscribe from this topic, visit https://groups.google.com/d/
>>>> topic/tiddlywiki/QmSVaJEMJ6M/unsubscribe.
>>>>  To unsubscribe from this group and all its topics, send an email to 
>>>> [email protected].
>>>> To post to this group, send email to [email protected].
>>>>
>>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> - Yaron Hadad
>>> http://www.yaronhadad.com/
>>> http://www.nutrino.co/
>>>  
>>  -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/QmSVaJEMJ6M/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> - Yaron Hadad
> http://www.yaronhadad.com/
> http://www.nutrino.co/
>  

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to