Aggiornamento tiddlywiki e info di presentazione

This commit is contained in:
Gianluigi 2023-10-19 17:32:10 +02:00
parent 65141d85da
commit cb93264473
2 changed files with 209 additions and 146 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,39 +1,39 @@
/*\ /*\
title: $:/macros/ulaulaman/TagTable.js title: $:/macros/ulaulaman/TagTable.js
type: application/javascript type: application/javascript
module-type: macro module-type: macro
<<TagTable tag>> <<TagTable tag>>
Example: Example:
<<TagTable>> <<TagTable>>
<<TagTable "tag">> <<TagTable "tag">>
\*/ \*/
(function(){ (function(){
/*jslint node: true, browser: true */ /*jslint node: true, browser: true */
/*global $tw: false */ /*global $tw: false */
"use strict"; "use strict";
/* /*
Information about this macro Information about this macro
Create a styled table in order to show tiddlers from a specific tag as a menu. Create a styled table in order to show tiddlers from a specific tag as a menu.
*/ */
exports.name = "TagTable"; exports.name = "TagTable";
exports.params = [ exports.params = [
{ name: "tag" } { name: "tag" }
]; ];
/* /*
Run the macro Run the macro
*/ */
exports.run = function(tag) { exports.run = function(tag) {
if( !tag) tag = "menu"; if( !tag) tag = "menu";
var output = "{{" + tag + "||$:/core/macros/ulaulaman/TagTable}}"; var output = "{{" + tag + "||$:/core/macros/ulaulaman/TagTable}}";
return output; return output;
}; };
})(); })();