|
Text-templates are simple systems for creating dynamic text similar to MediaWiki templates. Access to text-templates is done by adding the following markup to text: {{template_name}}
Additionally, optional named parameters can also be passed to text-templates: {{template_name|paramName=value|param2Name=value2}}
Text-templates can be useful for inserting predefined scripts or objects into HTML without allowing cross-site scripting attacks. They can also be used to make common html blocks easier to display or change. Below is a listing of text-templates that come with Segue. See the Documentation page on text-templates for information on creating your own text-templates. This template will allow the embedding of Flash Video from a variety of sources. These sources must be configured by the Segue administrator if they are not included in the default configuration.
{{video|service=youtube|id=s13dLaTIHSg|width=425|height=344}} If you paste the embed code from a supported service into a text block, it will automatically be converted into the template markup when saved. This template will insert a search form that will open a new window with the search criteria supplied. The default search provider is Google, but other search providers can be used by specifying base_url and search_param_name options.
This template will insert an embedded Google Map. Pasting the Google Map embed-code into a TextBlock will automatically convert the embed-code into template markup.
This template will insert an embedded google calendar. It is easiest to copy paste the embed code from GoogleCalendar rather than manually writing the template markup.
This template will open a link in a popup window.
|