enfrdeitptrues
Advertising

Basics for the usage of Tags

Here are some tips for using Tags before you get into trouble.

1) You should write the whole Tag in one single line or place the opening and closing Tag in a separate line.

{Spoiler}Hello World!{/Spoiler}

or

{Spoiler}
Hello World!
{/Spoiler}

Avoid things like this:

{Spoiler}Hello
World!{/Spoiler}

In some editors like TinyMCE this can sometimes lead to unexpected behaviour.


2) Most of the parameters of a Tag have default values, so you don't need to care about the exact usage of the whole Tag. If you need further information about the behaviour of a parameter or the possibilities of a Tag, read the appropriate page in Documentation of Tags. There are explanations for the parameters of a Tag and an example code with a demo of the Tag.


3) Tag names and parameter names are internally converted to lower case, so there's no difference between:

{spoiler text="Spoiler"}Hello World!{/spoiler}  ,
{SPOILER TEXT="Spoiler"}Hello World!{/SPOILER}  and
{spOIleR teXT="Spoiler"}Hello World!{/SPoilEr}


4) All parameter values are enclosed in double qoutes. Empty double qoutes ("") are not allowed.


5) Some Tags that take no content can be directly closed like:

{LoremIpsum /}

Look at the examples in the documentation for which Tags this is true.


6) You can nest Tags.

{Accordion}
{AccordionTab name="Tab I"}
{ScrollPanel height="200px"}
{Spoiler}
{LoremIpsum type="Paragraphs" count="2"/}
{/Spoiler}
{/ScrollPanel}
{/AccordionTab}
{AccordionTab name="Tab II"}
{LoremIpsum type="Paragraphs" count="2"/}
{/AccordionTab}
{/Accordion}

Tab I



Tab II


Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.


Advertising

© 2010 - 2017 FINWICK® UG

We have 38 guests and no members online

enfrdeitptrues