<< Click to Display Table of Contents >> Navigation: Work With The Engine > Tags for text formatting |
When writing news it is permissible to use the following additional tags:
[leech=link] text [/leech] Is completely analogous to URL tag, except that it encrypts the link.
[img] link [/img] Inserts image in the article
[img=alignment] link [/img] Inserts image address in the article and aligns it by the specified parameter
[img=alignment|own text for alt] link [/img] Inserts image address in the article, aligns it by the specified parameter, and assigns the description to the image
[quote] text [/quote] Quote
[hide] text [/hide] Shows hidden text only for the users who are allowed to view hidden text in the groups settings
[hide=2,3,4] text [/hide] Shows hidden text only for users whose groups are listed in the tag. 2,3,4 where the ID of the user groups that can view this text.
{pagebreak} Page break
[page=page name] text [/page] Inserts reference to a specified page number within the article
[thumb] link [/thumb] Inserts small copy of the image in the article with reference to the original picture
[thumb=alignment] link [/thumb] Inserts small copy of the image in the article with reference to the original picture and alignment by the specified parameter
[thumb=alignment|own text for alt] link [/thumb] Inserts small copy of the image in the article with reference to the original picture, alignment by the specified parameter, and assignment of the description to the image
[video=http://test.ru/video.avi] Allows you to set the video playback in the news article
[videо=300x250,http://site.ru/video.flv] This tag allows you to set the video size for that particular tag
[video=http://test.ru/video.avi|http://test.ru/sample.jpg] Allows you to set the video playback in the news article and choose its thumbnail.
[video=http://test.ru/video.avi|http://test.ru/sample.jpg|Video description] Allows you to set the playback of the video in the news, set the image preview before you start playback and set a separate description for the video that will be shown in the player.
[video=http://test.ru/video1.mp4,http://test.ru/video2.mp4] Allows you to place two videos in the article. This will create a playlist of two videos. They can also be set the picture for preview and description, as stated above.
[audio=http://test.ru/music.mp3] Allows you to place MP3 playback in the article
[audio=http://test.ru/music1.mp3,http://test.ru/music2.mp3] Allows you to set the playback of the playlist of several MP3 files in news
[spоiler] text [/spoiler] Hides the specified text and displays it when you click on it
[spоiler=Title] text [/spoiler] Displays the header. When you click on it, the hidden text will be displayed
[media=link to the video page] is designed to insert videos from such video and content services as: youtube.com, instagram, twitter, facebook, flickr, vimeo, docs.com, vine, gettyimages, codepen.io, dailymotion, mixcloud, soundcloud, coub, ifixit, Apple Keynote. In this tag, you just enter the URL of page of the video service that hosts this video. The script automatically detects the type of video service and inserts the correct HTML code to view the video.
[media=300x250,http://....] This tag allows you to set the video size for that particular tag