ScriptClip
Displays a small line of text on the page with a button to transfer it to the clipboard
Parameters
- script = The text to display
- fileName = Alternative to script - the file to display as a clip
[{ScriptClip script="ls -la /open-forum/content"}]
-
MarkPage
Marks a point in a page that can be referenced
Parameters
[{Mark name="TestMark"}] Some text to reference
-
ChildPagesList
Creates a bulleted list of child pages
Parameters
- pageName = The page to list children of (optional, default = current page)
[{ChildPagesList pageName="/OpenForum"}]
-
Icon
Places an icon on the page
Parameters
[{Icon name="chart pie"}]
-
HttpsOnly
Redirects to the https url if the user arrives via http
Parameters
-
Date
Displays the current date
Parameters
[{Date}]
-
CrumbTrail
Displays a page hierarchy breadcrumb trail
Parameters
[{CrumbTrail}]
-
Help
Creates a popup help link
Parameters
- id = Unique identifier for the help popup
- sourceFileName = File containing help content
- sourcePageName = Page where help content is located
- title = Optional title for the help link
[{Help id="test" sourceFileName="help-content.wiki" sourcePageName="/OpenForum/Extensions/Help"}]
-
Bookmarklet
Adds a link to automatically bookmark a page
Parameters
- title = Bookmark title Name
- domain = external site domain
- script = Path to script
[{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
- title = Button text
- function = JavaScript function to call
[{Button title="Do Action" function="doAction"}]
-
MarkDown
Renders markdown formatted text in a page
Parameters
- pageName = Page where markdown file is attached (optional)
- fileName = Name of markdown file to render
- url = Alternative: URL of remote markdown file
[{MarkDown pageName="/OpenForum/Extensions/MarkDown" fileName="example.md"}]
-
history
-
InsertSourceFile
Inserts a file's contents into the page as source code
Parameters
- pageName = The page where the file is attached (optional, default = current page)
- fileName = The file to insert
[{InsertSourceFile pageName="/OpenForum/Extensions/InsertSourceFile" fileName="data.json"}]
-
DisplayCard
Creates a display card with optional image, title, description, and link
Parameters
- linkURL = URL for the card link
- linkText = Text for the link button
- title = Card title
- description = Card description text
- imageURL = Optional image URL for the card
[{DisplayCard linkURL="#" linkText="Link" title="Title" description="Description" imageURL="http://example.com/image.jpg"}]
-
Clock
Displays a live clock
Parameters
[{Clock}]
-
InsertPage
Inserts the contents of one page into another
Parameters
- page = The page to insert content from
- section = Optional section number of the page to insert
[{InsertPage page="/OpenForum/PageTemplates/Example" section=""}]
-
ActionInput
An input field that fires an OpenForum GET action
Parameters
- action = Action Name
- parameters = Optional parameters to pass to the action
[{ActionInput action="alert" parameters="pageName=Home"}]
-
InputField
Inserts a form input field
Parameters
- name = Field name
- value = Optional default value
[{InputField name="myField"}]
-
ServerActionButton
A button that fires an OpenForum GET action on the server
Parameters
- action = Action Name
- text = Action button text
- parameters = Optional parameters to pass to the action
[{ServerActionButton action="Rebuild" parameters="pageName=Home" text="Rebuild Wiki"}]
-
InsertFile
Inserts a file's contents into the page
Parameters
- pageName = The page where the file is attached (optional, default = current page)
- fileName = The file to insert
[{InsertFile pageName="pageName" fileName="fileName"}]
-
ActionButton
A button that fires an OpenForum GET action
Parameters
- action = Action Name
- text = Action button text
- parameters = Optional parameters to pass to the action
[{ActionButton action="Rebuild" parameters="pageName=Home" text="Rebuild Wiki"}]
-
Redirect
Redirects the page to another page
Parameters
- page = The page to redirect to
[{Redirect page="new page name"}]
-
Info
Creates an info popup icon
Parameters
- id = Unique identifier for the info popup
- sourceFileName = File containing info content
- sourcePageName = Page where info content is located
- title = Optional title for the info popup
[{Info id="test" sourceFileName="popup-content.wiki" sourcePageName="/OpenForum/Extensions/OneTimePopup"}]
-
Popup
Creates a popup modal dialog
Parameters
- id = Unique identifier for the popup
- sourceFileName = File containing popup content (optional)
- sourcePageName = Page where popup content is located (optional)
- content = Inline content for the popup (optional)
- title = Title for popup button (optional)
[{Popup id="test1" sourceFileName="popup-content.wiki" sourcePageName="/OpenForum/Extensions/OneTimePopup"}]
-
OneTimePopup
Creates a popup that displays once per user session
Parameters
- id = Unique identifier for the popup
- sourceFileName = File containing popup content
- sourcePageName = Page where popup content is located
- suppressText = Text for the close/dismiss button
[{OneTimePopup id="test" sourceFileName="popup-content.wiki" sourcePageName="/OpenForum/Extensions/OneTimePopup" suppressText="Make this go away"}]
-
AttachmentsList
Lists attachments for a page with optional filtering
Parameters
- targetPage = Page name to list attachments from (blank for current page)
- matching = Filter pattern (e.g., ".txt" for text files)
[{AttachmentsList targetPage="" matching=".txt"}]