Compare commits
2 Commits
65141d85da
...
fc124b26de
Author | SHA1 | Date |
---|---|---|
Gianluigi | fc124b26de | |
Gianluigi | cb93264473 |
|
@ -1,4 +1,5 @@
|
|||
[Pagina personale](https://ulaulaman.github.io/) realizzata con [TiddlyWiki](https://tiddlywiki.com/) con il [whitespace theme](http://j.d.whitespace.tiddlyspot.com/).
|
||||
|
||||
* 2020.07.16: Aggiunta una tabella come *plugin*: [*javascript*](js/TagTable.js) e [*css*](css/blue-table.css)
|
||||
* 2021.10.23: Aggiornato il *tiddlywiki* alla versione 5.2.0 usando il [*TiddlyWiki Upgrade Wizard*](https://tiddlywiki.com/upgrade.html)
|
||||
* 2021.10.23: Aggiornato il *tiddlywiki* alla versione 5.2.0 usando il [*TiddlyWiki Upgrade Wizard*](https://tiddlywiki.com/upgrade.html)
|
||||
* 2023.10.19: Aggiornato il *tiddlywiki* alla versione 5.3.1 usando il [*TiddlyWiki Upgrade Wizard*](https://tiddlywiki.com/upgrade.html)
|
279
index.html
279
index.html
File diff suppressed because one or more lines are too long
|
@ -1,39 +1,39 @@
|
|||
/*\
|
||||
title: $:/macros/ulaulaman/TagTable.js
|
||||
type: application/javascript
|
||||
module-type: macro
|
||||
|
||||
<<TagTable tag>>
|
||||
|
||||
Example:
|
||||
<<TagTable>>
|
||||
<<TagTable "tag">>
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
|
||||
/*jslint node: true, browser: true */
|
||||
/*global $tw: false */
|
||||
"use strict";
|
||||
|
||||
/*
|
||||
Information about this macro
|
||||
Create a styled table in order to show tiddlers from a specific tag as a menu.
|
||||
*/
|
||||
|
||||
exports.name = "TagTable";
|
||||
|
||||
exports.params = [
|
||||
{ name: "tag" }
|
||||
];
|
||||
|
||||
/*
|
||||
Run the macro
|
||||
*/
|
||||
exports.run = function(tag) {
|
||||
if( !tag) tag = "menu";
|
||||
var output = "{{" + tag + "||$:/core/macros/ulaulaman/TagTable}}";
|
||||
return output;
|
||||
};
|
||||
|
||||
/*\
|
||||
title: $:/macros/ulaulaman/TagTable.js
|
||||
type: application/javascript
|
||||
module-type: macro
|
||||
|
||||
<<TagTable tag>>
|
||||
|
||||
Example:
|
||||
<<TagTable>>
|
||||
<<TagTable "tag">>
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
|
||||
/*jslint node: true, browser: true */
|
||||
/*global $tw: false */
|
||||
"use strict";
|
||||
|
||||
/*
|
||||
Information about this macro
|
||||
Create a styled table in order to show tiddlers from a specific tag as a menu.
|
||||
*/
|
||||
|
||||
exports.name = "TagTable";
|
||||
|
||||
exports.params = [
|
||||
{ name: "tag" }
|
||||
];
|
||||
|
||||
/*
|
||||
Run the macro
|
||||
*/
|
||||
exports.run = function(tag) {
|
||||
if( !tag) tag = "menu";
|
||||
var output = "{{" + tag + "||$:/core/macros/ulaulaman/TagTable}}";
|
||||
return output;
|
||||
};
|
||||
|
||||
})();
|
Loading…
Reference in New Issue