Změny dokumentu XCVID
Naposledy upravil David Brazda 08.04.2021 16:25
Popis verze:
Při změně verze nebyl zadán žádný kometář.
Přehled
-
Objects (1 změněno, 1 přidáno, 0 odstraněno)
Rozpis
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -1,0 +1,14 @@ 1 +{{velocity}} 2 +#set($url = $xcontext.macro.params.get('url')) 3 +#set($width = $xcontext.macro.params.get('width')) 4 +#set($height = $xcontext.macro.params.get('height')) 5 +#set($flight = $xcontext.macro.params.get('flight')) 6 +#if ($flight == 'nic') 7 + $xcontext.macro.params.set('flight') = 'neco'; 8 + $xcontext.macro.params.flight = 'neco'; 9 +#end 10 + 11 +{{html}} 12 +vysledek je $xcontext.macro.params.flight 13 +{{/html}} 14 +{{/velocity}}
- XWiki.WikiMacroParameterClass[3]
-
- Parameter default value
-
... ... @@ -1,0 +1,1 @@ 1 +nic - Parameter description
-
... ... @@ -1,0 +1,1 @@ 1 +ID of the flight - Parameter mandatory
-
... ... @@ -1,0 +1,1 @@ 1 +Ne - Parameter name
-
... ... @@ -1,0 +1,1 @@ 1 +flight