Compare commits
No commits in common. "fc124b26de828048373587e1f95b1a37daacec71" and "65141d85dab7441e2b0a31da661e75dd5afd2ebc" have entirely different histories.
fc124b26de
...
65141d85da
|
@ -1,5 +1,4 @@
|
|||
[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)
|
||||
* 2023.10.19: Aggiornato il *tiddlywiki* alla versione 5.3.1 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)
|
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