Balsamiq Macro

Zuletzt geändert von xwikiadmin am 2023/10/26 09:43

Description

This macro id a bridge for the Confluence Balsamiq Wireframe macro. It displays the image preview of the mockup, as it was migrated from Confluence.
The wireframe preview is an attachment added to the parent page. For example, for a wireframe identified with MyWireframeID, there will be an attachment on the parent page of this form: <balsamiq_MyWireframeID[_branchID].png. This means that there will be a prefix called balsamiq followed by an underscore (_), then the resource identifier (MyWireframeID in this case), then an arbitrary suffix (if it is set, by default it will be called Master). So, here are some filenames matching our example :

  • balsamiq_MyWireframeID_Master.png
  • balsamiq_MyWireframeID.png

Parameters

ParameterDescriptionAccepted valuesDefault valueMandatory
initialResourceIDThe ressource ID that is part of the mockup filename attached to the current page (in the example above, it would be MyWireframeID).Yes
initialBranchIDThe branch on which the file was stored. If it exists, by default, Confluence sets it to Master.
AlignmentThe alignment of the wireframe preview.Left, Center and RightLeft

Example of usage

  {{wireframe initialResourceID="2278E287-509B-183B-1098-2EC38DDDB7D8" initialBranchID="Master" Alignment="Center"/}}

Result

balsamiq_2278E287-509B-183B-1098-2EC38DDDB7D8_Master.png