History: PluginTag
Source of version: 11 (current)
Copy to clipboard
! Plugin Tag Use this ((wiki plugin)) to apply an HTML tag to content. If the -+tag+- parameter is not specified, -+span+- will be used. The -+style+- attribute may be set as well. !!Parameters {pluginmanager plugin=tag} !!Examples !!! Example 1 - Strike text ''This code:'' {CODE(colors="tiki")} {TAG(tag="strike" style="color:#FF0000")}toto{TAG} {CODE} ''Would produce:'' {TAG(tag="strike" style="color:#FF0000")}toto{TAG} Which corresponds to this html code: -+~np~<strike style="color:#FF0000">toto</strike> ~/np~+- !!! Example 2 - Justify text ''This code:'' {CODE(colors="tiki")}{TAG(tag="div" style="text-align:justify")}"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."{TAG}{CODE} ''Would produce:'' {TAG(tag="div" style="text-align:justify")}"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."{TAG} Which corresponds to a justified block of text: -+~np~<div style="align: justify;">Lorem ipsum ...</div>~/np~+-