Changes for page View File

Last modified by Admin Trust-IT on 2026/05/29 08:29

From version 2.2
edited by Admin Trust-IT
on 2026/05/29 08:28
Change comment: There is no comment for this version
To version 2.1
edited by Admin Trust-IT
on 2026/05/29 07:53
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -1,4 +2,3 @@
1 -{{velocity}}
2 2  #set($fileName = $xcontext.macro.params.get('att--filename'))
3 3  #if("$!fileName" == "")
4 4   #set($fileName = $xcontext.macro.params.name)
... ... @@ -7,6 +7,5 @@
7 7  #if("$!fileName" != "")
8 8   [[image:icon:attach]] [[$fileName>>attach:$fileName]]
9 9  #else
10 - //Attachment not specified//
9 + //Allegato non specificato//
11 11  #end
12 -{{/velocity}}
XWiki.WikiMacroParameterClass[1]
Parameter description
... ... @@ -1,1 +1,1 @@
1 -Attachment name
1 +Nome dell'allegato da mostrare.
Parameter mandatory
... ... @@ -1,1 +1,1 @@
1 -No
1 +Yes
XWiki.WikiMacroParameterClass[2]
Parameter description
... ... @@ -1,0 +1,1 @@
1 +Pagina che contiene l'allegato (default: pagina corrente).
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No
Parameter name
... ... @@ -1,1 +1,1 @@
1 -att--filename
1 +page
XWiki.WikiMacroParameterClass[3]
Parameter description
... ... @@ -1,0 +1,1 @@
1 +Larghezza (default 100%).
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No
Parameter name
... ... @@ -1,0 +1,1 @@
1 +width
XWiki.WikiMacroParameterClass[4]
Parameter description
... ... @@ -1,0 +1,1 @@
1 +Altezza (default 600px).
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No
Parameter name
... ... @@ -1,0 +1,1 @@
1 +height