Vorlage:Show Comment: Unterschied zwischen den Versionen

Aus Haus Kormin
Wechseln zu:Navigation, Suche
Die Seite wurde neu angelegt: „<noinclude> Kategorie:Vorlage == Version == Version 1.0 == Purpose == The template "Show Comment" is used to display a comment, but is has no logic inside. Is is used for internal functions. == Parameters == <pre> userparam= [FOLD|FLAT|QUOTE|NONE] # defines initial state of the box, either folded or unfolded. All boxes are foldable. Default is FOLD SOURCE = <text> # Source. This comes with ? due to limitations of named args for se…“
 
Keine Bearbeitungszusammenfassung
 
Zeile 11: Zeile 11:
== Parameters ==
== Parameters ==
<pre>
<pre>
userparam= [FOLD|FLAT|QUOTE|NONE] # defines initial state of the box, either folded or unfolded. All boxes are foldable. Default is FOLD
SOURCE  = <text>                # Source. This comes with ? due to limitations of named args for semantic template
SOURCE  = <text>                # Source. This comes with ? due to limitations of named args for semantic template
TARGET  = <text>                # Target. This comes with ? due to limitations of named args for semantic template
TARGET  = <text>                # Target. This comes with ? due to limitations of named args for semantic template
CONTENT = <text>                # Content. This comes with ? due to limitations of named args for semantic template
CONTENT = <text>                # Content. This comes with ? due to limitations of named args for semantic template
TITLE= <text>                    # Title of the comment. Default: "SOURCE über TARGET"


</pre>
</pre>
The function of the "userparam" option "NONE" may not be obvious: The content is hidden. This does not make much sense for a normal box, but this template is used by the Comment-Function and can be used to create invisible comments, which can be reused anywhere else.


== Examples ==
== Examples ==

Aktuelle Version vom 10. Januar 2026, 10:39 Uhr

Version

Version 1.0

Purpose

The template "Show Comment" is used to display a comment, but is has no logic inside. Is is used for internal functions.

Parameters

SOURCE  = <text>                 # Source. This comes with ? due to limitations of named args for semantic template
TARGET  = <text>                 # Target. This comes with ? due to limitations of named args for semantic template
CONTENT = <text>                 # Content. This comes with ? due to limitations of named args for semantic template
TITLE= <text>                    # Title of the comment. Default: "SOURCE über TARGET"

Examples

na