# XWiki Syntax Guide

Last modified by Alexandru Colesnicov on 2018/11/05 16:32
Export
Office Formats
Export as PDF
Other Formats
Export as HTML

XWiki Syntax 2.1 » Advanced » Parameters

## XWiki Syntax 2.1: Parameters

### 2.0 Parameters

With XWiki Syntax 2.1 it's possible to pass parameters to the different syntax elements and also to blocks of text. This is used for example to style them. You can set any parameter key/value pair you want. The XHTML renderer will pass these parameters as XHTML attributes to the underlying XHTML representation of the different syntax elements.

XWiki Syntax 2.1 | Generated XHTML
--- | ---
    (% class="myClass" style="myStyle" id="myId" %)
    = heading =
    <h1 class="myClass" style="myStyle" id="myId">heading</h1>

Tags:
Created by Alexandru Colesnicov on 2013/11/14 18:41

- Comments (0)
- Attachments (0)
- History
- Information

# Applications

# Tips

Did you know that you can improve XWiki? Take 5 minutes to fill this survey and help this open source project!

# Need help?

If you need help with XWiki you can contact:

- Community Support
- Professional Support

XWiki Debian 11.5