Parser Functions: Difference between revisions
Line 198: | Line 198: | ||
|- | |- | ||
|heading | |heading | ||
|Heading to be displayed instead of the standard heading. | |Heading to be displayed instead of the standard heading. Will also call <code><nowiki>{{DISPLAYTITLE:}}</nowiki></code>. | ||
|} | |} |
Revision as of 14:38, 27 May 2019
#semorg-person
called like this (preferably via template):
{{#semorg-person: |ref={{FULLPAGENAME}} |prefix={{{prefix|}}} |firstname={{{firstname|}}} |lastname={{{lastname|}}} |name={{{firstname|}}} {{{lastname|}}} |suffix={{{suffix|}}} |workstreet={{{workstreet|}}} |workpostalcode={{{workpostalcode|}}} |worklocality={{{worklocality|}}} |email={{{email|}}} |workphone={{{workphone|}}} |homepage={{{homepage|}}} |note={{{note|}}} |organization={{{organization|}}} |gender={{{gender|}}} }}
sets all the attributes and spits out a nicely formatted table with all the contact information and also a download link for a .vcard file
#semorg-person-ref
#semorg-form
#semorg-field
#semorg-fields
#semorg-field-rows
#semorg-set
#semorg-set-list
#semorg-table
#semorg-subobject
#semorg-network
#semorg-cooperation
#semorg-circles
#semorg-toggle
#semorg-list
This parser function is used to show lists of pages belonging to a certain category. For the details about this highly configurable parser function see Parser Function semorg-list
#semorg-user-create
Render a link to create a new user account if it doesn't exist already
#semorg-formlink
This parser function is an abbreviation to call {{#formlink}}
with smart defaults.
Markup | Result |
---|---|
{{#semorg-formlink:meeting}}
|
The following system messages control the appearance of the list:
Message | Function |
---|---|
semorg-formlink-<feature>-link-text | The link text to be displayed. |
semorg-formlink-<feature>-link-type | Use this to set a wiki-wide default for all calls of {{#semorg-formlink:<feature>}}
|
semorg-formlink-<feature>-target | |
semorg-formlink-<feature>-tooltip | |
semorg-formlink-<feature>-popup | |
semorg-formlink-<feature>-new-window | |
semorg-formlink-<feature>-query-string | |
semorg-formlink-<feature>-returnto |
The following parameters are available:
Parameter | Description |
---|---|
link text, link type, target, tooltip, popup, new window, query string, returnto | These are the default parameters for Page Form's {{#formlink}} function
|
#semorg-forminput
This parser function is an abbreviation to call {{#forminput}}
with smart defaults.
Markup | Result |
---|---|
{{#semorg-forminput:group}}
|
The following system messages control the appearance of the list:
Message | Function |
---|---|
semorg-forminput-<feature>-button-text | The button text to be displayed. |
semorg-forminput-<feature>-size | Use this to set a wiki-wide default for all calls of {{#semorg-forminput:<feature>}}
|
semorg-forminput-<feature>-default-value | |
semorg-forminput-<feature>-query-string | |
semorg-forminput-<feature>-autocomplete-on-category | |
semorg-forminput-<feature>-autocomplete-on-namespace | |
semorg-forminput-<feature>-placeholder | |
semorg-forminput-<feature>-popup | |
semorg-forminput-<feature>-returnto |
The following parameters are available:
Parameter | Description |
---|---|
button text, size, default value, query string, autocomplete on category, autocomplete on namespace, placeholder, popup, returnto | These are the default parameters for Page Form's {{#forminput}} function
|
NB: The no autofocus
parameter is set by default.
#semorg-meetings
#semorg-properties
#semorg-values
#semorg-tabs
#semorg-tabs-card
#semorg-user
#semorg-true
#semorg-detail
Show header details for page. Replaces the main heading and provides a backlink to the overview page. See the documentation for Detail pages.
The following system messages control the appearance of the header:
Message | Function |
---|---|
semorg-<feature>-page-name | The title of the overview page |
semorg-<feature>-entity name | Name for the instance. Displayed over the page title. |
The following parameters are available:
Parameter | Description |
---|---|
heading | Heading to be displayed instead of the standard heading. Will also call {{DISPLAYTITLE:}} .
|