| Macro000000 | Description | Parameters |
|---|---|---|
| anchor | Anchor Tag | name: The target anchor name. Example: {anchor:name=section1} |
| code | Displays a chunk of code with syntax highlighting, for example Java, XML and SQL. The none type will do nothing and is useful for unknown code types. | 1: syntax highlighter to use, defaults to java (optional) |
| comment | Wraps comment text (which will not appear on the rendered wiki page). | none |
| div | Wraps content in a div tag with an optional CSS class and/or style specified. | class: the CSS class that should be applied to this tag. style: the CSS style that should be applied to this tag. Example: {div:class=bluebox}...{div} |
| file-path | Displays a file system path. The file path should use slashes. Defaults to windows. | 1: file path |
| h1 | Wraps content in a h1 tag with an optional CSS class and/or style specified. | class: the CSS class that should be applied to this tag. style: the CSS style that should be applied to this tag. |
| image | Displays an image file. | img: the path to the image. alt: alt text (optional) align: alignment of the image (left, right, flow-left, flow-right) (optional) Example: {image:img=http://www.target_domain.com/images/logo.gif|align=right} |
| labkey | Base LabKey macro, used for including data from the LabKey Server portal into wikis. | tree : renders a LabKey navigation menu. treeId: the id of the menu to render can be one of the following: core.projects, core.CurrentProject, core.projectAdmin, core.folderAdmin, core.SiteAdmin |
| link | Generate a weblink. | |
| list-of-macros | Displays a list of available macros. | |
| mailto | Displays an email address. | 1: mail address |
| new-tab-link | Displays a link that opens in a new tab. | 1. Text to display 2. Link to open in a new tab. Example: {new-tab-link:DisplayText|http://www.google.com} |
| quote | Displays quotations. | 1: The source for the quote (optional) 2: Displayed description, default is Source (optional) Example: {quote:http://www.abrahamlincolnonline.org/lincoln/speeches/gettysburg.htm|Link}Four score and seven years ago{quote} |
| span | Wraps content in a span tag with an optional CSS class and/or style specified. Also supports Font Awesome icons. | class: the CSS class that should be applied to this tag. style: the CSS style that should be applied to this tag. Example: {span:class=fa fa-arrow-right}{span} |
| table | Displays a table. | none |
| video | Displays a video from an external URL at the width and height given. | height: in pixels width: in pixels Example: {video:https://www.youtube.com/embed/JEE4807UHN4|height:500|width:750} |
{code:java}
// Hello World in Java
class HelloWorld {
static public void main( String args[] ) {
System.out.println( "Hello World!" );
}
}
{code}// Hello World in Java
class HelloWorld {
static public void main( String args[] ) {
System.out.println( "Hello World!" );
}
}
{labkey:tree|core.currentProject}
| |||||||
{labkey:tree|core.projects}
{labkey:tree|core.currentProject}
{labkey:tree|core.projectAdmin}
{labkey:tree|core.folderAdmin}
{labkey:tree|core.siteAdmin}.bluebox {
background-color: #E7EFF4;
border:1px solid #dee0e1;
padding: 10px 13px;
margin: 10px 20px;
}{div:class=bluebox}
Some text in an instruction box:
- list item 1
- list item 2
- list item 3
{div}{anchor:someName}[Link to anchor|#someName]
[Link to anchor|docName#someName]
{div:style=color:red;display:inline-block}RED TEXT{div}{span:style=float:right}[emoji.jpg]{span}
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.