mirror of
https://github.com/ulaulaman/ulaulaman.github.io.git
synced 2025-03-02 19:38:01 +01:00
Aggiornamento tiddlywiki e info di presentazione
This commit is contained in:
parent
65141d85da
commit
cb93264473
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…
x
Reference in New Issue
Block a user