Hello,
It's not possible to use start attribute on default
You may wish to create a custom BBCode to enable this. Although it's not very easy to use, here's an example.
BBCode usage:HTML replacement:Help line:Example of use:
If a value is omitted, the default value will be returned.
It's not possible to use start attribute on default
ol BBCode.You may wish to create a custom BBCode to enable this. Although it's not very easy to use, here's an example.
BBCode usage:
Code:
[ol2={CHOICE=decimal,lower-alpha,upper-alpha,lower-roman,upper-roman;preFilter=strtolower;defaultValue=decimal} start={NUMBER;defaultValue=1}][/ol2]Code:
<ol style="list-style-type:{@ol2}" start="{@start}"><xsl:apply-templates/></ol>Code:
[ol2=decimal or lower-alpha or upper-alpha or lower-roman or upper-roman} start=1 or 2 or 3 or...][/ol2]Code:
[ol2=lower-alpha start=3][*]lorem ipsum[*]lorem ipsum[*]lorem ipsum[*]lorem ipsum[*]lorem ipsum[/ol2]If a value is omitted, the default value will be returned.
[ol2 start=3][/ol2]will return<ol style="list-style-type:decimal" start="3"></ol>[ol2=upper-roman][/ol2]will return<ol style="list-style-type:upper-roman" start="1"></ol>[ol2][/ol2]will return<ol style="list-style-type:decimal" start="1"></ol>- Etc.
Statistics: Posted by cabot — Mon Feb 12, 2024 1:23 pm