mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 05:19:57 +00:00
Add procedure and function snippet to "stamp button" (#8445)
* Add procedure and function snippet to "stamp button" * remove draft tiddler
This commit is contained in:
parent
165c7e9825
commit
d2302df197
7
core/language/en-GB/Snippets/FunctionDefinition.tid
Normal file
7
core/language/en-GB/Snippets/FunctionDefinition.tid
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
title: $:/language/Snippets/FunctionDefinition
|
||||||
|
tags: $:/tags/TextEditor/Snippet
|
||||||
|
caption: Function definition
|
||||||
|
|
||||||
|
\function f.name(param1,param2:"default value") [<param1>!is[blank]else<param2>]
|
||||||
|
|
||||||
|
<<f.name>>
|
7
core/language/en-GB/Snippets/ProcedureDefinition.tid
Normal file
7
core/language/en-GB/Snippets/ProcedureDefinition.tid
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
title: $:/language/Snippets/ProcedureDefinition
|
||||||
|
tags: $:/tags/TextEditor/Snippet
|
||||||
|
caption: Procedure definition
|
||||||
|
|
||||||
|
\procedure procName(param1:"default value",param2)
|
||||||
|
Your text comes here.
|
||||||
|
\end
|
2
core/wiki/tags/TextEditorSnippet.tid
Normal file
2
core/wiki/tags/TextEditorSnippet.tid
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
title: $:/tags/TextEditor/Snippet
|
||||||
|
list: $:/language/Snippets/ProcedureDefinition $:/language/Snippets/FunctionDefinition $:/language/Snippets/ListByTag $:/language/Snippets/Table4x3 $:/language/Snippets/TableOfContents $:/language/Snippets/MacroDefinition
|
7
languages/de-DE/Snippets/FunctionDefinition.tid
Normal file
7
languages/de-DE/Snippets/FunctionDefinition.tid
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
title: $:/language/Snippets/FunctionDefinition
|
||||||
|
tags: $:/tags/TextEditor/Snippet
|
||||||
|
caption: Function Definition
|
||||||
|
|
||||||
|
\function f.name(param1,param2:"default value") [<param1>!is[blank]else<param2>]
|
||||||
|
|
||||||
|
<<f.name>>
|
@ -3,6 +3,6 @@ tags: $:/tags/TextEditor/Snippet
|
|||||||
caption: Makro Definition
|
caption: Makro Definition
|
||||||
|
|
||||||
\define makroName(param1:"standard parameter", param2)
|
\define makroName(param1:"standard parameter", param2)
|
||||||
Text des Makros. Zugriff auf den <<__param1__>>.
|
Ihr Text kommt hier her. Zugriff auf <<__param1__>>.
|
||||||
<<__param2__>>
|
<<__param2__>>
|
||||||
\end
|
\end
|
||||||
|
8
languages/de-DE/Snippets/ProcedureDefinition.tid
Normal file
8
languages/de-DE/Snippets/ProcedureDefinition.tid
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
title: $:/language/Snippets/ProcedureDefinition
|
||||||
|
tags: $:/tags/TextEditor/Snippet
|
||||||
|
caption: Procedure Definition
|
||||||
|
|
||||||
|
\procedure procName(param1:"standard parameter", param2)
|
||||||
|
Ihr Text kommt hier her. Zugriff auf <<__param1__>>.
|
||||||
|
<<__param2__>>
|
||||||
|
\end
|
Loading…
Reference in New Issue
Block a user