mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-15 06:14:53 +00:00
80256b4dab
* Add string '.htm' to 'Saving with TiddlyIE' * Change external links to match locale with wiki language * Add instructions for use to 'Saving on Android' * Change string in 'task' * Change instructions for use in 'Saving on iPad/iPhone' * Add newline to 'TiddlyDesktop Releases' * Remove caption from 'Serving TW5 from Android' * Change link to external in tiddlers which tagged 'Editions' * Remove string 'index.html' from 'Some of the things you can do with TiddlyWiki' * Change link 'TiddlyWiki Groups' to 'Forums' in tiddlers which tagged 'Community' * Remove CamelCase link 'TiddlyWiki' from tiddlers tagged 'Community' * Change string 'done' to 'Upgrade' in 'UpgradeMechanism' * Change buttons to images in 'How to export tiddlers' * Add images about buttons to tiddlers * Add quotation mark to text 'edit' in 'Signing the Contributor License Agreement' * Rename 'UsingSVG' to 'Using SVG' * Change link 'TypedBlockWikiText' to 'Typed Blocks in WikiText' in 'Using SVG' * Add tiddler 'Using Stamp' * Add 'rel="noopener noreferrer"' to external links * Add description about 'rel="noreferrer"' to 'HTML in WikiText' * Add link of prerelease version about translators edition, and how to translate on Node.js, in 'Translate TiddlyWiki into your language' * Change string 'dropdown' to 'tab' in 'Installing a plugin from the plugin library' * Add download button to 'Empty Edition'
28 lines
1.2 KiB
Plaintext
28 lines
1.2 KiB
Plaintext
created: 20141020111002211
|
|
modified: 20160617125921235
|
|
tags: Learning
|
|
title: How to put the last modification date in a banner
|
|
type: text/vnd.tiddlywiki
|
|
|
|
Here's how to display the last modification date of a wiki in a banner in the corner of the window:
|
|
|
|
# [[Install the plugin|Installing a plugin from the plugin library]] <<.def "Corner ribbon">> in your ~TiddlyWiki
|
|
# Save ({{$:/core/images/save-button}}) and reload ({{$:/core/images/refresh-button}}) your wiki
|
|
# Create a new tiddler called [[$:/_MyRibbon]] tagged [[$:/tags/PageControls]] and containing:<div>
|
|
|
|
```
|
|
<div class="github-fork-ribbon-wrapper right">
|
|
<div class="github-fork-ribbon" style="background-color:#DF4848;">
|
|
<$list filter="[!is[system]!has[draft.of]!sort[modified]limit[1]]">
|
|
<$link>
|
|
<$view field="modified" format="date" template="DD mmm YYYY at 0hh:0mm"/>
|
|
</$link>
|
|
</$list>
|
|
</div>
|
|
</div>
|
|
```
|
|
</div>
|
|
# If required, change the background-color value to your preference
|
|
# You can also try changing the positioning class from `right` to `right-bottom`
|
|
## To make the banner appear at the top left you'll need to tag the tiddler [[$:/tags/PageTemplate]] instead of [[$:/tags/PageControls]] and then change the position class to `left`
|