Translation components API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/translations/xwiki-platform/xwiki-xwikisyntaximages/sv/units/?format=api
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 2,
    "next": null,
    "previous": null,
    "results": [
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaximages/sv/?format=api",
            "source": [
                "= Editing =\n\n== Images ==\n\n=== 1.0 Images ===\n\n|=Feature|=XWiki Syntax 1.0|=Result\n|Image from attachment on current page|(((\n{{info}}See [[Image Macro>>https://extensions.xwiki.org/xwiki/bin/view/Extension/Old%20XWiki%201.0%20syntax%20renderer/Image%20Macro%20%28Radeox%29]] for details{{/info}}\n{{{{image:img.png}}}}\n)))|image:XWiki.XWikiSyntaxImages@img.png\n|Image from attachment on another page|{{{{image:img.png|document=Space.Page}}}}|image:XWiki.XWikiSyntaxImages@img.png\n|Image with parameters|{{{{image:img.png|width=25|height=25}}}}|[[image:XWiki.XWikiSyntaxImages@img.png||width=\"25\" height=\"25\"]]\n|Images located at URL|{{{https://some/url/img.png}}}|image:XWiki.XWikiSyntaxImages@img.png\n\n=== 2.0 Images ===\n\n|=Feature|=XWiki Syntax 2.0|=Result\n|Image from attachment on current page|{{{image:img.png}}}|image:XWiki.XWikiSyntaxImages@img.png\n|Image from attachment on another page|{{{image:Space.Page@img.png}}}|image:XWiki.XWikiSyntaxImages@img.png\n|Image with parameters|{{{[[image:img.png||width=\"25\" height=\"25\"]]}}}|[[image:XWiki.XWikiSyntaxImages@img.png||width=\"25\" height=\"25\"]]\n|Image with caption|{{{[[~[~[XWiki~>~>https://www.xwiki.org~]~] supports captions.>>image:img.png]]}}}|((([[~[~[XWiki~>~>https://www.xwiki.org~]~] supports captions.>>image:XWiki.XWikiSyntaxImages@img.png]])))\n|Images located at URL|{{{image:https://some/url/img.png}}}|image:XWiki.XWikiSyntaxImages@img.png\n\n{{velocity}}$subHeading XWiki Syntax 2.0 Image Specification $subHeading{{/velocity}}\n\n{{info}}\nThe part in ##( )## is required, while the parts in ##{ }## are optional.\n{{/info}}\n\nThe full format of an image is either **##image~: (reference)##** or **##~[~[{caption>>}image~: (reference) {||parameters}]]##**\n\n* **##caption##**: An optional caption. May contain arbitrary XWiki 2.0 syntax but nested link syntax must be escaped using ##~~##. The caption is only supported when the image syntax is the only content of a paragraph. The captioned image may also be wrapped in a link. In this case, the link will contain the image but not the caption.\n* **##image~:##** A required string identifying the resource as image.\n* **##reference##**: The reference to the image that shall be displayed in one of the following forms:\n** **URL**: Any URL to an image in the form of **##http:~/~/path/imageName##**. Example: ##http:~/~/domain.org/path/img.png##\n** **Attachment** reference in the form **##~{~{~{wikiName:} space.} page@} (imageName)##**\n*** **##wikiName##**: An optional string containing the name of a wiki. The image reference will point to an image attached to a page inside that wiki. Example: mywiki\n*** **##space##**: An optional wiki Space name. If no space is specified the current space is used. Example: Main\n*** **##page##**: An optional string containing the name of the wiki page to which the referenced image is attached. Example: WebHome\n*** **##imageName##**: A required string containing the name of the image attached to a page as it is stored in the wiki.\n* **##parameters##**: An optional list of space-separated parameters passed to the image. Example: ##width=\"800\" height=\"600\" alt=\"img.png\" title=\"My nice image\"##\n** **HTML attributes**: All attributes defined by the HTML standard will be added to the rendered HTML ##<img>## tag.\n*** **##style##**: CSS style information that should be applied to the image. Examples: ##style=\"float:right;height:50\"## (image on right side, height 50 px), ##style=\"display:block;margin-left:auto;margin-right:auto;width:80%\"## (image centered, width 80% of block width), ##style=\"vertical-align:bottom\"## (text starts at bottom of picture)\n*** **##height##**: A parameter that defines the height of the displayed image. The value should be presented either in pixel (example: ##height=\"80\"##) or in pixel related to the height of the block containing the image (example: ##height=\"40%\"##).\n*** **##width##**: A parameter that defines the width of the displayed image. The value should be presented either in pixel (example: ##width=\"80\"##) or in pixel related to the width of the block containing the image (example: ##width=\"40%\"##).\n*** **##title##**: A parameter that defines the title the displayed image which will be visible when hovering the mouse trigger over the image, for instance. Example: ##title=\"My nice image\"##\n*** **##alt##**: A parameter that defines which text should be displayed if the browser is not able to display the image. Since this is a required HTML attribute XWiki will use the file name instead if the ##alt## parameter is not defined. Example: ##alt=\"img.png\"##\n*** **More**: A more in depth explanation on the HTML ##<img>## tag including more attributes can be reviewed [[in the HTML standard>>https://html.spec.whatwg.org/multipage/embedded-content.html#the-img-element]].\n\n=== 2.1 Images ===\n\n|=Feature|=XWiki Syntax 2.1|=Result\n|Image from attachment on current page|{{{image:img.png}}}|image:XWiki.XWikiSyntaxImages@img.png\n|Image from attachment on another page|{{{image:PageA.PageB@img.png}}}|image:XWiki.XWikiSyntaxImages@img.png\n|Image with parameters|{{{[[image:img.png||width=\"25\" height=\"25\"]]}}}|[[image:XWiki.XWikiSyntaxImages@img.png||width=\"25\" height=\"25\"]]\n|Image with caption|{{{[[~[~[XWiki~>~>https://www.xwiki.org~]~] supports captions.>>image:img.png]]}}}|((([[~[~[XWiki~>~>https://www.xwiki.org~]~] supports captions.>>image:XWiki.XWikiSyntaxImages@img.png]])))\n|Images located at URL|{{{image:https://some/url/img.png}}}|image:XWiki.XWikiSyntaxImages@img.png\n|Prepackaged Icons|{{{image:icon:accept}}}|image:icon:accept\n\n{{velocity}}$subHeading XWiki Syntax 2.1 Image Specification $subHeading{{/velocity}}\n\n{{info}}\nLegend: The parts are ##()## are required, while the parts in ##{}## are optional.\n{{/info}}\n\nThe full format of an image is either **##image~: (reference)##** or **##~[~[{caption>>}image~: (reference) {||parameters}]]##**\n\n* **##caption##**: An optional caption. May contain arbitrary XWiki 2.1 syntax but nested link syntax must be escaped using ##~~##. The caption is only supported when the image syntax is the only content of a paragraph. The captioned image may also be wrapped in a link. In this case, the link will contain the image but not the caption.\n* **##image~:##** A required string identifying the resource as image.\n* **##reference##**: The reference to the image that shall be displayed in one of the following forms:\n** **URL**: Any URL to an image in the form of **##[url:](protocol:~/~/path/imageName)##**. Example: ##http:~/~/domain.org/path/img.png##\n*** **##url:##** An optional string identifying the image as an URL.\n*** **##protocol:~/~/path/imageName##**: The URL to the image\n** **Attachment**: A reference in the form **##[attach~:]~{~{~{(wikiName):}(spaceNameList).}(pageName)@}(imageName)##**\n*** **##attach~:##** An optional string identifying the reference as an XWiki Document attachment.\n*** **##wikiName##**: An optional string containing the name of a wiki. The image reference will point to an image attached to a page inside that wiki. If no wiki is specified, the current wiki is used. Example: ##mywiki##.\n*** **##spaceNameList##**: An optional dot-separated list of wiki Space names. If no space is specified the current space is used. Examples: ##Main##, ##A.B##, ##A.B.C##\n*** **##pageName##**: An optional string containing the name of the wiki page to which the referenced image is attached. Example: ##Welcome##\n*** **##imageName##**: A required string containing the name of the image attached to a page as it is stored in the wiki. Example: ##myImage.png##\n** **Page Attachment**: A reference in the form **##pageAttach~:~{~{~{(wikiName):}(pageNameList)/}(imageName)##**\n*** **##pageAttach~:##** An required string identifying the reference as an XWiki Page attachment.\n*** **##wikiName##**: An optional string containing the name of a wiki. The image reference will point to an image attached to a page inside that wiki. If no wiki is specified, the current wiki is used. Example: ##mywiki##.\n*** **##pageNameList##**: An optional dot-separated list of wiki page names. If no page is specified the current page is used. Examples: ##Main##, ##A/B##, ##A/B/C##\n*** **##imageName##**: A required string containing the name of the image attached to a page as it is stored in the wiki. Example: ##myImage.png##\n** **Icon**: A reference in the form **##icon{{{:(}}}iconName)##**. Example: **##icon:accept##**\n*** **##icon:##** A required string identifying the image reference as an icon from the [[XWiki Icon Set>>https://www.famfamfam.com/lab/icons/silk/previews/index_abc.png]].\n*** **##iconName##**: A required string identifying the icon referenced. Example: ##accept##\n** **Data URI**: A reference in the form **##(data{{{:)}}}(content)##**. Example: **##{{{data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==}}}##**\n*** **##data:##** A required string identifying the image as being specified inline using the [[Data URI scheme>>https://en.wikipedia.org/wiki/Data_URI_scheme]].\n*** **##content##**: The encoded image. Example: ##{{{image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==}}}##\n* **##parameters##**: An optional list of space-separated parameters passed to the image. Example: ##width=\"800\" height=\"600\" alt=\"img.png\" title=\"My nice image\"##\n** **HTML attributes**: All attributes defined by the HTML standard will be added to the rendered HTML ##<img>## tag.\n*** **##style##**: CSS style information that should be applied to the image. Examples: ##style=\"float:right;height:50\"## (image on right side, height 50 px), ##style=\"display:block;margin-left:auto;margin-right:auto;width:80%\"## (image centered, width 80% of block width), ##style=\"vertical-align:bottom\"## (text starts at bottom of picture)\n*** **##height##**: A parameter that defines the height of the displayed image. The value should be presented either in pixel (example: ##height=\"80\"##) or in pixel related to the height of the block containing the image (example: ##height=\"40%\"##).\n*** **##width##**: A parameter that defines the width of the displayed image. The value should be presented either in pixel (example: ##width=\"80\"##) or in pixel related to the width of the block containing the image (example: ##width=\"40%\"##).\n*** **##title##**: A parameter that defines the title the displayed image which will be visible when hovering the mouse trigger over the image, for instance. Example: ##title=\"My nice image\"##\n*** **##alt##**: A parameter that defines which text should be displayed if the browser is not able to display the image. Since this is a required HTML attribute XWiki will use the file name instead if the ##alt## parameter is not defined. Example: ##alt=\"img.png\"##\n*** **More**: A more in depth explanation on the HTML ##<img>## tag including more attributes can be reviewed [[in the HTML standard>>https://html.spec.whatwg.org/multipage/embedded-content.html#the-img-element]].\n** **##queryString##**: Allows queries to be passed to the server when creating the download link for the referenced image. Example: ##queryString=\"width=100&height=800&keepAspectRatio=true\"## (**##keepAspectRatio=true## will fail if the ##width## and ##height## parameters are specified in addition to ##queryString##!**)"
            ],
            "previous_source": "= Editing =\n\n== Images ==\n\n=== 1.0 Images ===\n\n|=Feature|=XWiki Syntax 1.0|=Result\n|Image from attachment on current page|(((\n{{info}}See [[Image Macro>>https://extensions.xwiki.org/xwiki/bin/view/Extension/Old%20XWiki%201.0%20syntax%20renderer/Image%20Macro%20%28Radeox%29]] for details{{/info}}\n{{{{image:img.png}}}}\n)))|image:XWiki.XWikiSyntaxImages@img.png\n|Image from attachment on another page|{{{{image:img.png|document=Space.Page}}}}|image:XWiki.XWikiSyntaxImages@img.png\n|Image with parameters|{{{{image:img.png|width=25|height=25}}}}|[[image:XWiki.XWikiSyntaxImages@img.png||width=\"25\" height=\"25\"]]\n|Images located at URL|{{{https://some/url/img.png}}}|image:XWiki.XWikiSyntaxImages@img.png\n\n=== 2.0 Images ===\n\n|=Feature|=XWiki Syntax 2.0|=Result\n|Image from attachment on current page|{{{image:img.png}}}|image:XWiki.XWikiSyntaxImages@img.png\n|Image from attachment on another page|{{{image:Space.Page@img.png}}}|image:XWiki.XWikiSyntaxImages@img.png\n|Image with parameters|{{{[[image:img.png||width=\"25\" height=\"25\"]]}}}|[[image:XWiki.XWikiSyntaxImages@img.png||width=\"25\" height=\"25\"]]\n|Image with caption|{{{[[~[~[XWiki~>~>https://www.xwiki.org~]~] supports captions.>>image:img.png]]}}}|((([[~[~[XWiki~>~>https://www.xwiki.org~]~] supports captions.>>image:XWiki.XWikiSyntaxImages@img.png]])))\n|Images located at URL|{{{image:https://some/url/img.png}}}|image:XWiki.XWikiSyntaxImages@img.png\n\n{{velocity}}$subHeading XWiki Syntax 2.0 Image Specification $subHeading{{/velocity}}\n\n{{info}}\nThe part in ##( )## is required, while the parts in ##{ }## are optional.\n{{/info}}\n\nThe full format of an image is either **##image~: (reference)##** or **##~[~[{caption>>}image~: (reference) {||parameters}]]##**\n\n* **##caption##**: An optional caption. May contain arbitrary XWiki 2.0 syntax but nested link syntax must be escaped using ##~~##. The caption is only supported when the image syntax is the only content of a paragraph. The captioned image may also be wrapped in a link. In this case, the link will contain the image but not the caption.\n* **##image~:##** A required string identifying the resource as image.\n* **##reference##**: The reference to the image that shall be displayed in one of the following forms:\n** **URL**: Any URL to an image in the form of **##http:~/~/path/imageName##**. Example: ##http:~/~/domain.org/path/img.png##\n** **Attachment** reference in the form **##~{~{~{wikiName:} space.} page@} (imageName)##**\n*** **##wikiName##**: An optional string containing the name of a wiki. The image reference will point to an image attached to a page inside that wiki. Example: mywiki\n*** **##space##**: An optional wiki Space name. If no space is specified the current space is used. Example: Main\n*** **##page##**: An optional string containing the name of the wiki page to which the referenced image is attached. Example: WebHome\n*** **##imageName##**: A required string containing the name of the image attached to a page as it is stored in the wiki.\n* **##parameters##**: An optional list of space-separated parameters passed to the image. Example: ##width=\"800\" height=\"600\" alt=\"img.png\" title=\"My nice image\"##\n** **HTML attributes**: All attributes defined by the HTML standard will be added to the rendered HTML ##<img>## tag.\n*** **##style##**: CSS style information that should be applied to the image. Examples: ##style=\"float:right;height:50\"## (image on right side, height 50 px), ##style=\"display:block;margin-left:auto;margin-right:auto;width:80%\"## (image centered, width 80% of block width), ##style=\"vertical-align:bottom\"## (text starts at bottom of picture)\n*** **##height##**: A parameter that defines the height of the displayed image. The value should be presented either in pixel (example: ##height=\"80\"##) or in pixel related to the height of the block containing the image (example: ##height=\"40%\"##).\n*** **##width##**: A parameter that defines the width of the displayed image. The value should be presented either in pixel (example: ##width=\"80\"##) or in pixel related to the width of the block containing the image (example: ##width=\"40%\"##).\n*** **##title##**: A parameter that defines the title the displayed image which will be visible when hovering the mouse trigger over the image, for instance. Example: ##title=\"My nice image\"##\n*** **##alt##**: A parameter that defines which text should be displayed if the browser is not able to display the image. Since this is a required HTML attribute XWiki will use the file name instead if the ##alt## parameter is not defined. Example: ##alt=\"img.png\"##\n*** **More**: A more in depth explanation on the HTML ##<img>## tag including more attributes can be reviewed [[in the HTML standard>>https://html.spec.whatwg.org/multipage/embedded-content.html#the-img-element]].\n\n=== 2.1 Images ===\n\n|=Feature|=XWiki Syntax 2.1|=Result\n|Image from attachment on current page|{{{image:img.png}}}|image:XWiki.XWikiSyntaxImages@img.png\n|Image from attachment on another page|{{{image:PageA.PageB@img.png}}}|image:XWiki.XWikiSyntaxImages@img.png\n|Image with parameters|{{{[[image:img.png||width=\"25\" height=\"25\"]]}}}|[[image:XWiki.XWikiSyntaxImages@img.png||width=\"25\" height=\"25\"]]\n|Image with caption|{{{[[~[~[XWiki~>~>https://www.xwiki.org~]~] supports captions.>>image:img.png]]}}}|((([[~[~[XWiki~>~>https://www.xwiki.org~]~] supports captions.>>image:XWiki.XWikiSyntaxImages@img.png]])))\n|Images located at URL|{{{image:https://some/url/img.png}}}|image:XWiki.XWikiSyntaxImages@img.png\n|Prepackaged Icons|{{{image:icon:accept}}}|image:icon:accept\n\n{{velocity}}$subHeading XWiki Syntax 2.1 Image Specification $subHeading{{/velocity}}\n\n{{info}}\nLegend: The parts are ##()## are required, while the parts in ##{}## are optional.\n{{/info}}\n\nThe full format of an image is either **##image~: (reference)##** or **##~[~[{caption>>}image~: (reference) {||parameters}]]##**\n\n* **##caption##**: An optional caption. May contain arbitrary XWiki 2.1 syntax but nested link syntax must be escaped using ##~~##. The caption is only supported when the image syntax is the only content of a paragraph. The captioned image may also be wrapped in a link. In this case, the link will contain the image but not the caption.\n* **##image~:##** A required string identifying the resource as image.\n* **##reference##**: The reference to the image that shall be displayed in one of the following forms:\n** **URL**: Any URL to an image in the form of **##[url:](protocol:~/~/path/imageName)##**. Example: ##http:~/~/domain.org/path/img.png##\n*** **##url:##** An optional string identifying the image as an URL.\n*** **##protocol:~/~/path/imageName##**: The URL to the image\n** **Attachment**: A reference in the form **##[attach~:]~{~{~{(wikiName):}(spaceNameList).}(pageName)@}(imageName)##**\n*** **##attach~:##** An optional string identifying the reference as an XWiki Document attachment.\n*** **##wikiName##**: An optional string containing the name of a wiki. The image reference will point to an image attached to a page inside that wiki. If no wiki is specified, the current wiki is used. Example: ##mywiki##.\n*** **##spaceNameList##**: An optional dot-separated list of wiki Space names. If no space is specified the current space is used. Examples: ##Main##, ##A.B##, ##A.B.C##\n*** **##pageName##**: An optional string containing the name of the wiki page to which the referenced image is attached. Example: ##Welcome##\n*** **##imageName##**: A required string containing the name of the image attached to a page as it is stored in the wiki. Example: ##myImage.png##\n** **Page Attachment**: A reference in the form **##pageAttach~:~{~{~{(wikiName):}(pageNameList)/}(imageName)##**\n*** **##pageAttach~:##** An required string identifying the reference as an XWiki Page attachment.\n*** **##wikiName##**: An optional string containing the name of a wiki. The image reference will point to an image attached to a page inside that wiki. If no wiki is specified, the current wiki is used. Example: ##mywiki##.\n*** **##pageNameList##**: An optional dot-separated list of wiki page names. If no page is specified the current page is used. Examples: ##Main##, ##A/B##, ##A/B/C##\n*** **##imageName##**: A required string containing the name of the image attached to a page as it is stored in the wiki. Example: ##myImage.png##\n** **Icon**: A reference in the form **##icon{{{:(}}}iconName)##**. Example: **##icon:accept##**\n*** **##icon:##** A required string identifying the image reference as an icon from the [[XWiki Icon Set>>https://www.famfamfam.com/lab/icons/silk/previews/index_abc.png]].\n*** **##iconName##**: A required string identifying the icon referenced. Example: ##accept##\n** **Icon**: A reference in the form **##icon{{{:(}}}iconName)##**. Example: **##icon:accept##**\n*** **##icon:##** A required string identifying the image reference as an icon from the [[XWiki Icon Set>>https://www.famfamfam.com/lab/icons/silk/previews/index_abc.png]].\n*** **##iconName##**: A required string identifying the icon referenced. Example: ##accept##\n** **Data URI**: A reference in the form **##(data{{{:)}}}(content)##**. Example: **##{{{data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==}}}##**\n*** **##data:##** A required string identifying the image as being specified inline using the [[Data URI scheme>>https://en.wikipedia.org/wiki/Data_URI_scheme]].\n*** **##content##**: The encoded image. Example: ##{{{image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==}}}##\n* **##parameters##**: An optional list of space-separated parameters passed to the image. Example: ##width=\"800\" height=\"600\" alt=\"img.png\" title=\"My nice image\"##\n** **HTML attributes**: All attributes defined by the HTML standard will be added to the rendered HTML ##<img>## tag.\n*** **##style##**: CSS style information that should be applied to the image. Examples: ##style=\"float:right;height:50\"## (image on right side, height 50 px), ##style=\"display:block;margin-left:auto;margin-right:auto;width:80%\"## (image centered, width 80% of block width), ##style=\"vertical-align:bottom\"## (text starts at bottom of picture)\n*** **##height##**: A parameter that defines the height of the displayed image. The value should be presented either in pixel (example: ##height=\"80\"##) or in pixel related to the height of the block containing the image (example: ##height=\"40%\"##).\n*** **##width##**: A parameter that defines the width of the displayed image. The value should be presented either in pixel (example: ##width=\"80\"##) or in pixel related to the width of the block containing the image (example: ##width=\"40%\"##).\n*** **##title##**: A parameter that defines the title the displayed image which will be visible when hovering the mouse trigger over the image, for instance. Example: ##title=\"My nice image\"##\n*** **##alt##**: A parameter that defines which text should be displayed if the browser is not able to display the image. Since this is a required HTML attribute XWiki will use the file name instead if the ##alt## parameter is not defined. Example: ##alt=\"img.png\"##\n*** **More**: A more in depth explanation on the HTML ##<img>## tag including more attributes can be reviewed [[in the HTML standard>>https://html.spec.whatwg.org/multipage/embedded-content.html#the-img-element]].\n** **##queryString##**: Allows queries to be passed to the server when creating the download link for the referenced image. Example: ##queryString=\"width=100&height=800&keepAspectRatio=true\"## (**##keepAspectRatio=true## will fail if the ##width## and ##height## parameters are specified in addition to ##queryString##!**)",
            "target": [
                "= Editing =\n\n== Images ==\n\n{{comment}}please do not translate the sub headlines{{/comment}}\n=== 1.0 Images ===\n\n|=Formateringstyp|=XWiki syntax 1.0|=Resultat\n|Bild från bilaga till aktuell sida|(((\n{{info}}Se [[bildmakrot>>https://extensions.xwiki.org/xwiki/bin/view/Extension/Old%20XWiki%201.0%20syntax%20renderer/Image%20Macro%20%28Radeox%29]] för detaljer{{/info}}\n{{{{image:img.png}}}}\n)))|image:XWiki.XWikiSyntaxImages@img.png\n|Bild från bilaga i annat dokument|{{{{image:img.png|document=Rum.Sida}}}}|image:XWiki.XWikiSyntaxImages@img.png\n|Bild med parametrar|{{{{image:img.png|width=25|height=25}}}}|[[image:XWiki.XWikiSyntaxImages@img.png||width=\"25\" height=\"25\"]]\n|Bild från URL|{{{http://some/url/img.png}}}|image:XWiki.XWikiSyntaxImages@img.png\n\n=== 2.0 Images ===\n\n|=Formateringstyp|=XWiki syntax 2.0|=Resultat\n|Bild från bilaga till aktuell sida|{{{image:img.png}}}|image::XWiki.XWikiSyntaxImages@img.png\n|Bild från bilaga i annat dokument|{{{image:Rum.Sida@img.png}}}|image::XWiki.XWikiSyntaxImages@img.png\n|Bild med parametrar|{{{[[image:img.png||width=\"25\" height=\"25\"]]}}}|[[image::XWiki.XWikiSyntaxImages@img.png||width=\"25\" height=\"25\"]]\n|Bild från URL|{{{image:http://some/url/img.png}}}|image::XWiki.XWikiSyntaxImages@img.png\n\n\n{{velocity}}$subHeading XWiki Syntax 2.0 bildspecifikation $subHeading{{/velocity}}\n\n\n{{info}}\nDelarna inom ##( )## är obligatoriska och delarna inom ##{ }## får utelämnas.\n{{/info}}\n\nDet fullständiga formatet för bilder är antingen **##image~: (referens)##** eller **##~[~[image~: (referens) {||parametrar}]]##**\n\n* **##image~:##** En obligatorisk sträng som identifierar resursen som en bild.\n* **##referens##**: Referensen till bilden som skall visas på ett av följande format:\n** **URL**: En URL till en bild på formatet **##http:~/~/sökväg/bildnamn##**. Exempel: ##http:~/~/domän.org/sökväg/bild.png##\n** **Bilaga** referens på formatet **##~{~{~{wikinamn:} rum.} sida@} (bildnamn)##**\n*** **##wikiNamn##**: En sträng (vilken kan utelämnas) som anger namnet på den virtuella wikin.  Bildreferensen kommer att peka på en bild inuti den namngivna wikin.  Exempel: ##minwiki##\n*** **##rum##**: Ett rum i wikin.  Om inget anges används det aktuella rummet, dvs samma rum som sidan som innehåller länken.  Exempel: ##Main##\n*** **##sida##**: En sträng (vilken kan utelämnas) som anger namnet på sidan som bildbilagan tillhör.  Exempel: ##WebHome##\n*** **##bildnamn##**: En obligatorisk sträng som anger namnet på bildbilagan.  (Notera att XWiki ibland ändrar filnamnet på filer som laddas upp som bilaga.)\n* **##parametrar##**: En utelämnings bar lista separerad av blankstegstecken med parametrar till bilden.  Exempel: ##width=\"800\" height=\"600\" alt=\"img.png\" title=\"Min fina bild\"##\n** **HTML-attribut**:  Alla attribut definierade i HTML-standarden för taggen ##<img>## kan användas.\n*** **##style##**: CSS-stilinformation som skall appliceras på bilden. Exempel: ##style=\"float:right;height:50\"## (bilden till höger, höjd 50 pixlar), ##style=\"display:block;margin-left:auto;margin-right:auto;width:80%\"## (bilden centrerad, bredd 80% av blockbredden), ##style=\"vertical-align:bottom\"## (texten ställs i linje med bildens nederkant)\n*** **##height##**: Parameter som anger höjden på bilden vid visning.  Värdet kan anges antingen i pixlar (exempel: ##height=\"80\"##) eller relativt höjden på bildens omgivande block (exempel: ##height=\"40%\"##).\n*** **##width##**: Parameter som anger bredden på bilden vid visning.  Värdet kan anges antingen i pixlar (exempel: ##height=\"80\"##) eller relativt bredden på bildens omgivande block (exempel: ##height=\"40%\"##). \n*** **##title##**: Parameter som anger texten som blir synlig då muspekaren hålls över bilden. Exempel: ##title=\"Min fina bild\"##\n*** **##alt##**: Parameter som anger ersättningstext om webbläsaren ej kan visa bilder.  Eftersom denna parameter är obligatorisk i HTML kommer XWiki att använda filnamnet istället om denna parameter utelämnas.  Exempel: ##alt=\"img.png\"##\n*** **Mer**: En mer omfattande beskrivning av HTML-taggen ##<img>## inklusive fler attribut kan man läsa om [[på w3.org>>http://www.w3.org/TR/html4/struct/objects.html#h-13.2]].\n\n=== 2.1 Images ===\n\n|=Formateringstyp|=XWiki syntax 2.1|=Resultat\n|Bild från bilaga till aktuell sida|{{{image:img.png}}}|image::XWiki.XWikiSyntaxImages@img.png\n|Bild från bilaga i annat dokument|{{{image:Rum.Sida@img.png}}}|image::XWiki.XWikiSyntaxImages@img.png\n|Bild med parametrar|{{{[[image:img.png||width=\"25\" height=\"25\"]]}}}|[[image::XWiki.XWikiSyntaxImages@img.png||width=\"25\" height=\"25\"]]\n|Bild från URL|{{{image:http://some/url/img.png}}}|image::XWiki.XWikiSyntaxImages@img.png\n|Ikon|{{{image:icon:accept}}}|image:icon:accept\n\n{{velocity}}$subHeading XWiki Syntax 2.1 Image Specification $subHeading{{/velocity}}\n\n\n{{info}}\nDelarna inom ##( )## är obligatoriska och delarna inom ##{ }## får utelämnas.\n{{/info}}\n\nDet fullständiga formatet för bilder är antingen **##image~: (referens)##** eller **##~[~[image~: (referens) {||parametrar}]]##**\n\n* **##image~:##** En obligatorisk sträng som identifierar resursen som en bild.\n* **##referens##**: Referensen till bilden som skall visas på ett av följande format:\n** **URL**: En URL till en bild på formatet **##http:~/~/sökväg/bildnamn##**. Exempel: ##http:~/~/domän.org/sökväg/bild.png##\n** **Bilaga** referens på formatet **##~{~{~{wikinamn:} rum.} sida@} (bildnamn)##**\n*** **##wikiNamn##**: En sträng (vilken kan utelämnas) som anger namnet på den virtuella wikin.  Bildreferensen kommer att peka på en bild inuti den namngivna wikin.  Exempel: ##minwiki##\n*** **##rum##**: Ett rum i wikin.  Om inget anges används det aktuella rummet, dvs samma rum som sidan som innehåller länken.  Exempel: ##Main##\n*** **##sida##**: En sträng (vilken kan utelämnas) som anger namnet på sidan som bildbilagan tillhör.  Exempel: ##WebHome##\n*** **##bildnamn##**: En obligatorisk sträng som anger namnet på bildbilagan.  (Notera att XWiki ibland ändrar filnamnet på filer som laddas upp som bilaga.)\n** **Ikon** referens på formatet **##{{{(icon:)}}} (ikonnamn)##**. Exempel: **##icon:accept##**\n*** **##icon:##** En obligatorisk sträng som identifierar bildreferensen som en ikon från [[XWikis ikonsamling>>http://www.famfamfam.com/lab/icons/silk/previews/index_abc.png]].\n*** **##ikonnamn##**: En obligatorisk sträng som anger namnet på ikonen. Exempel: ##accept##\n* **##parametrar##**: En utelämnings bar lista separerad av blankstegstecken med parametrar till bilden.  Exempel: ##width=\"800\" height=\"600\" alt=\"img.png\" title=\"Min fina bild\"##\n** **HTML-attribut**:  Alla attribut definierade i HTML-standarden för taggen ##<img>## kan användas.\n*** **##style##**: CSS-stilinformation som skall appliceras på bilden. Exempel: ##style=\"float:right;height:50\"## (bilden till höger, höjd 50 pixlar), ##style=\"display:block;margin-left:auto;margin-right:auto;width:80%\"## (bilden centrerad, bredd 80% av blockbredden), ##style=\"vertical-align:bottom\"## (texten ställs i linje med bildens nederkant)\n*** **##height##**: Parameter som anger höjden på bilden vid visning.  Värdet kan anges antingen i pixlar (exempel: ##height=\"80\"##) eller relativt höjden på bildens omgivande block (exempel: ##height=\"40%\"##).\n*** **##width##**: Parameter som anger bredden på bilden vid visning.  Värdet kan anges antingen i pixlar (exempel: ##height=\"80\"##) eller relativt bredden på bildens omgivande block (exempel: ##height=\"40%\"##). \n*** **##title##**: Parameter som anger texten som blir synlig då muspekaren hålls över bilden. Exempel: ##title=\"Min fina bild\"##\n*** **##alt##**: Parameter som anger ersättningstext om webbläsaren ej kan visa bilder.  Eftersom denna parameter är obligatorisk i HTML kommer XWiki att använda filnamnet istället om denna parameter utelämnas.  Exempel: ##alt=\"img.png\"##\n*** **Mer**: En mer omfattande beskrivning av HTML-taggen ##<img>## inklusive fler attribut kan man läsa om [[på w3.org>>http://www.w3.org/TR/html4/struct/objects.html#h-13.2]].\n** **##queryString##**: Det går även att ange parametrar till nedladdningslänken för bilden.  Exempel: ##queryString=\"width=100&height=800&keepAspectRatio=true\"## (**##keepAspectRatio=true## kommer att misslyckas om både ##width##- och ##height##-parametrarna specificerats utöver ##queryString##!**)"
            ],
            "id_hash": 4321460072923956526,
            "content_hash": 6360591309667949323,
            "location": "",
            "context": "content",
            "note": "",
            "flags": "",
            "labels": [],
            "state": 10,
            "fuzzy": true,
            "translated": false,
            "approved": false,
            "position": 1,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": true,
            "num_words": 1336,
            "source_unit": "https://l10n.xwiki.org/api/units/465534/?format=api",
            "priority": 100,
            "id": 465564,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaximages/sv/?checksum=bbf8e90a4daa852e",
            "url": "https://l10n.xwiki.org/api/units/465564/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2020-12-02T15:32:36.596268Z"
        },
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaximages/sv/?format=api",
            "source": [
                "XWikiSyntaxImages"
            ],
            "previous_source": "",
            "target": [
                "XWikiSyntaxImages"
            ],
            "id_hash": -7901431335316922026,
            "content_hash": 4091256177329078772,
            "location": "",
            "context": "title",
            "note": "",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 2,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": true,
            "num_words": 1,
            "source_unit": "https://l10n.xwiki.org/api/units/465535/?format=api",
            "priority": 100,
            "id": 465565,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaximages/sv/?checksum=12587a10694b6156",
            "url": "https://l10n.xwiki.org/api/units/465565/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2020-12-02T15:32:36.715723Z"
        }
    ]
}