toendaCMS Wiki

ToendaScript Reference

From toendaCMS Wiki

Back to documentation



Contents

Misc

Linebreak

 {br}

Line

 {hr}
 Create a line.

tcmsMore Tag

 {tcms_more}
 This is the tag to set a own end for the news on your frontpage. Also you can use it to create documents with more then one page.


Text formating

Bold text

 {b:}{:b}
 Change the font weight to bold.

Underlined text

 {u:}{:u}
 Makes a text underlined.

Italize text

 {i:}{:i}
 Makes a text italized.

Teletyper text

 {tt:}{:tt}
 Set font family to a serif font).

Header

 {h1:} - {h6:} {:h1} - {h6:}
 Create a header text. The number is the size of the header.

Cite text

 {cite:}{:cite}
 Create a cite text.

Center Text

 {center:}{:center}
 Set the alignment of the marked text to center.

Left Text

 {left:}{:left}
 Set the alignment of the marked text to left.

Right Text

 {right:}{:right}
 Set the alignment of the marked text to right.

Font color

 {fc#______#:}{:fc}
 Set the color of the market text to a specific color. Replace the '_____' with the RGB code for that color. Here is a little helper.


Numbering and listing

List base

 {ul:}{:ul}
 Start a list.

Numbered list base

 {ol:}{:ol}
 Start a numbered list.

List item

 {li:}{:li}
 Create a list item.


Objects and items

URL

 {url#_url_#:}{:url}
 {url#_url_#_blank:}{:url}
 Creates a link to _url_. If you using {url#_url_#_blank:} to create a link, the link will open a new window.

Image

 {img#_PATH_ (optional)
 #border=NUMBER (optional)
 #align=ALIGNMENMT (optional)
 #height=HEIGHT (optional)
 #width=WIDTH (optional)
 #}
 Create a image with the optional atributes.

Extern file

 {ext#url=__URL__#}
 Include a extern file.