mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-14 05:44:50 +00:00
18 lines
517 B
Plaintext
18 lines
517 B
Plaintext
created: 20150221141507000
|
|
modified: 20150228103440000
|
|
tags: [[transclusion Variable]] [[Variable Examples]]
|
|
title: transclusion Variable (Examples)
|
|
type: text/vnd.tiddlywiki
|
|
|
|
This example shows how to distinguish between the sidebar and other environments:
|
|
|
|
<$macrocall $name=".example" n="1"
|
|
eg="""We are
|
|
<$list
|
|
filter="[<transclusion>prefix[{|$:/core/ui/PageTemplate/sidebar|||}]]"
|
|
emptyMessage="in the story river.">
|
|
in the sidebar.
|
|
</$list>"""/>
|
|
|
|
In the sidebar, this would show `We are in the sidebar` instead.
|