Custom embed codes in article text

You can use special form for embed codes to be generated inside article body text.

Code should have this form: [typeOfCode param1="param1content" param2="param2content" ...]

This will be then replaced by generated code you need.

Formstack:

Example 1:  if you need to generate code like this:

script formstack 2

you will need to add inside article body text this code:

code formstack 2

 

if you need to generate code like this:

Script formstack 3

you will need to add inside article body text this code:

code formstack 3

 

Notes:

  • All 4 parameters are required for Formstack! If you don't use all 4 parameters, code won't be generated
  • You need to use standard quotes for parameters ", don't use ” “ or other



Youtube:

Example 1: if you need to generate code like this:

generated code

 

you will need to add inside article body text this code:

embed code

 

Ads:

Example 1: to insert advertisement to article, you need to insert this code into article body:

ad

type: type of ad specified in gearbox mapping (above example is used for "Ins and Outs" articles)

devices: on which devices should advertisement be shown to user

 

Inserting external code with iframe

You can insert external a code from external source with iframe. On external page you will get similiar code to this:

iframe without name

Simply copy&paste the code to the article. If you need an iframe to be responsive, you have to add a class with name "iwaucloud". 

iframe with correct class