diff --git a/editions/tw5.com/tiddlers/features/Core Icons.tid b/editions/tw5.com/tiddlers/features/Core Icons.tid index 1eb7f84ad..9799f48d7 100644 --- a/editions/tw5.com/tiddlers/features/Core Icons.tid +++ b/editions/tw5.com/tiddlers/features/Core Icons.tid @@ -1,5 +1,8 @@ title: Core Icons tags: Features +modified: 20230423103154329 +created: 20230423103154329 + !! Introduction @@ -18,6 +21,14 @@ The core icons are parameterised. The first parameter `size` specified the size <$transclude $tiddler="$:/core/images/picture" size="32px"/> """>> +Here is an example of dynamically resizing icons: + +< +<$text text={{{ [addsuffix[px]] }}} /> +<$transclude $tiddler="$:/core/icon" size=<>/> + +""">> + Some icons take further parameters to customise how they are rendered. For example, the $:/core/images/new-journal-button icon takes an additional parameter `day` that specifies the day of the month that should be shown on the calendar. It defaults to the current date if not specified <