OpenForum Extended Markup


ActionButton

A button that fires an OpenForum GET action

Parameters [{ActionButton action="Rebuild" parameters="pageName=Home" text="Rebuild Wiki"}]

ActionInput

An input field that fires an OpenForum GET action

Parameters [{ActionInput action="alert" parameters="pageName=Home"}]

AttachmentsList

Lists attachments for a page with optional filtering

Parameters [{AttachmentsList targetPage="" matching=".txt"}]

Banner

Creates a banner with image, title, and text

Parameters [{Banner imageURL="/path/to/image.jpg" title="Welcome" text="Welcome to our site"}]

Bookmarklet

Adds a link to automatically bookmark a page

Parameters [{Bookmarklet title="Bookmark" domain="https://open-forum.onestonesoup.org" script="/OpenForum/Extensions/Bookmarklet/append-link.js" text="Bookmark pages more easily. Drag this bookmarklet to the Bookmarks bar of your browser:"}]

Button

Deprecated - Use /OpenForum/Extensions/ActionButton instead

Parameters [{Button title="Do Action" function="doAction"}]

CTABanner

Creates a call-to-action banner with image, title, text, and button

Parameters [{CTABanner imageURL="/OpenForum/Images/open-forum-dog-small.png" title="Call To Action" text="A description of the CTA" ctaText="Click Me" ctaURL="http://www.bbc.co.uk"}]

ChildPagesList

Creates a bulleted list of child pages

Parameters [{ChildPagesList pageName="/OpenForum"}]

ChildrenContentsPage

Creates a content page showing the contents section from each child page

Parameters [{ChildrenContentsPage pageName="/OpenForum"}]

Clock

Displays a live clock

Parameters [{Clock}]

ContrastBlock

Creates a colored block with text and optional image

Parameters [{ContrastBlock text="Some text in here" backgroundColor="blueviolet" textColor="white" imageURL="/OpenForum/Images/open-forum-dog.png" imageRight="false"}]

CountDown

Creates a countdown timer that triggers an action

Parameters [{CountDown counter="Alerts" action="doAction" period="10"}]

CrumbTrail

Displays a page hierarchy breadcrumb trail

Parameters [{CrumbTrail}]

DataTable

Creates an interactive data table with actions

Parameters [{DataTable name="myTable" data=" Site site Open openLink action "}]

Date

Displays the current date

Parameters [{Date}]

DevNotes



DisplayCard

Creates a display card with optional image, title, description, and link

Parameters [{DisplayCard linkURL="#" linkText="Link" title="Title" description="Description" imageURL="http://example.com/image.jpg"}]

Form

Creates a data-entry form with various field types

Parameters [{Form name="myForm" data=" Name name Age age Checkbox: Has Pet hasPet Table: todo Task task, Description description "}]

Hash



Help

Creates a popup help link

Parameters [{Help id="test" sourceFileName="help-content.wiki" sourcePageName="/OpenForum/Extensions/Help"}]

HttpsOnly

Redirects to the https url if the user arrives via http

Parameters

Icon

Places an icon on the page

Parameters [{Icon name="chart pie"}]

ImageDisplayCard

Creates an image display card with title, description, and link

Parameters [{ImageDisplayCard title="Open Forum" description="Open Forum - The Future" linkText="Open Forum" linkURL="https://open-forum.onestonesoup.org/" imageURL="/OpenForum/Images/open-forum-dog-small.png"}]

Info

Creates an info popup icon

Parameters [{Info id="test" sourceFileName="popup-content.wiki" sourcePageName="/OpenForum/Extensions/OneTimePopup"}]

InputBoolean

Creates a boolean checkbox input field with data binding

Parameters [{InputBoolean id="myValue" text="My Value"}]

InputField

Inserts a form input field

Parameters [{InputField name="myField"}]

InputFileName

Creates a filename input field with validation

Parameters [{InputFileName id="myPage"}]

InsertFile

Inserts a file's contents into the page

Parameters [{InsertFile pageName="pageName" fileName="fileName"}]

InsertNotes

Inserts a file's contents into the page as notes

Parameters [{InsertNotes pageName="/OpenForum/Extensions/InsertNotes" fileName="notes.txt"}]

InsertPage

Inserts the contents of one page into another

Parameters [{InsertPage page="/OpenForum/PageTemplates/Example" section=""}]

InsertSourceFile

Inserts a file's contents into the page as source code

Parameters [{InsertSourceFile pageName="/OpenForum/Extensions/InsertSourceFile" fileName="data.json"}]

LinkButton

Creates a button that links to a URL

Parameters [{LinkButton href="https://www.bbc.co.uk" target="externalTab" text="BBC"}]

ListField

Inserts a form input field with a datalist for autocomplete

Parameters [{ListField name="beetle" list="names"}]

MarkDown

Renders markdown formatted text in a page

Parameters [{MarkDown pageName="/OpenForum/Extensions/MarkDown" fileName="example.md"}]

MarkPage

Marks a point in a page that can be referenced

Parameters [{Mark name="TestMark"}] Some text to reference

OneTimePopup

Creates a popup that displays once per user session

Parameters [{OneTimePopup id="test" sourceFileName="popup-content.wiki" sourcePageName="/OpenForum/Extensions/OneTimePopup" suppressText="Make this go away"}]

OpeningTimes

Creates a weekly opening times schedule display

Parameters [{OpeningTimes mondayOpen="09:00" mondayClose="17:00" tuesdayOpen="09:00" tuesdayClose="17:00"}]

Popup

Creates a popup modal dialog

Parameters [{Popup id="test1" sourceFileName="popup-content.wiki" sourcePageName="/OpenForum/Extensions/OneTimePopup"}]

RecaptchaButton

A button that checks you are not a robot using reCAPTCHA

Parameters [{RecaptchaButton action="alertMe" text="Am I A Robot ?"}]

Redirect

Redirects the page to another page

Parameters [{Redirect page="new page name"}]

RenderFile

Renders a file fragment into the page

Parameters [{RenderFile pageName="/OpenForum/Extensions/RenderFile" fileName="example-list.fragment"}]

ScriptClip

Displays a small line of text on the page with a button to transfer it to the clipboard

Parameters

ServerActionButton

A button that fires an OpenForum GET action on the server

Parameters [{ServerActionButton action="Rebuild" parameters="pageName=Home" text="Rebuild Wiki"}]

Star



Table

Creates an editable data table

Parameters [{Table name="myTable" actions="add,edit,move,remove" data=" Site site Link url link "}]

TextDisplayCard

Creates a text display card with title, description, and link

Parameters [{TextDisplayCard title="Open Forum" description="The future" linkText="Open Forum" linkURL="https://open-forum.onestonesoup.org/"}]

Thumbnail



UploadFileInputField

Creates a file upload input field

Parameters [{UploadFileInputField name="upload" targetPageName="/Sandbox" text="Upload" message="File Uploaded"}]

WysiwygInput

Creates a WYSIWYG (What You See Is What You Get) text editor input field

Parameters [{WysiwygInput name="myText" value="1234"}]