You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>These attributes, which affect presentation, are shared by many tags.</p>
5
5
{% endif %}
6
6
<dl>
7
-
{% if include.breakby %}
8
-
<dt><code>breakby="integer(s)"</code></dt>
9
-
<dd>Used to group list items when separating by <code>break</code>. Possible values are lists of integers, like <code>2</code> (groups of 2 items) or <code>1,2</code> (alternate groups of 1 and 2 items).</dd>
10
-
<dd><strong>Default:</strong> {% if include.breakby == "" %}1 (unset){% else %}{{ include.breakby }}{% endif %} (see <ahref="/tags/tag-attributes-cross-reference#breakby">breakby cross-reference</a>). </dd>
Copy file name to clipboardExpand all lines: _includes/atts-global.html
+17-8Lines changed: 17 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,16 @@ <h3 id="common-global-attributes">Common global attributes</h3>
4
4
<p>These attributes are shared by all tags - and plugins, provided they do not override the functionality.</p>
5
5
{% endif %}
6
6
<dl>
7
-
{% unless include.break == "" %}
8
-
<dt><code>break="value"</code></dt>
9
-
<dd>Where value is an HTML element, specified without brackets (e.g. <code>break="li"</code>) or some string to separate list items.</dd>
10
-
<dd><strong>Default:</strong> {% if include.break == null %}br{% else %}{{ include.break }}{% endif %} (see <ahref="/tags/tag-attributes-cross-reference#break">break cross-reference</a>).</dd>
11
-
{% endunless %}
12
-
7
+
{% unless include.break == "" %}
8
+
<dt><code>break="value"</code></dt>
9
+
<dd>Where value is an HTML element, specified without brackets (e.g. <code>break="li"</code>) or some string to separate list items.</dd>
10
+
<dd><strong>Default:</strong> {% if include.break == null %}br{% else %}{{ include.break }}{% endif %} (see <ahref="/tags/tag-attributes-cross-reference#break">break cross-reference</a>).</dd>
11
+
{% endunless %}
12
+
{% unless include.breakby == "" %}
13
+
<dt><code>breakby="integer(s)"</code></dt>
14
+
<dd>Used to group list items when separating by <code>break</code>. Possible values are lists of integers, like <code>2</code> (groups of 2 items) or <code>1,2</code> (alternate groups of 1 and 2 items).</dd>
15
+
<dd><strong>Default:</strong> {% if include.breakby == null %}1 (unset){% else %}{{ include.breakby }}{% endif %} (see <ahref="/tags/tag-attributes-cross-reference#breakby">breakby cross-reference</a>). </dd>
16
+
{% endunless %}
13
17
<dt><code>class="class name"</code></dt>
14
18
<dd>HTML <code>class</code> to apply to the wrapper.</dd>
15
19
<dd><strong>Values:</strong> Any valid string.</dd>
@@ -42,6 +46,11 @@ <h3 id="common-global-attributes">Common global attributes</h3>
<dd>Alter the processing order of top-level tags inside a form/container. Tags are normally executed from top to bottom. If you wish to change this order, imagine Textpattern tags are numbered incrementally from 1 inside a container. To process tags 3 and 5 first, then 1, 2, and 4, specify <code>evaluate="3, 5"</code> in your container tag.</dd>
51
+
<dd><strong>Values:</strong> Any comma-separated numbers corresponding with the numerical position of primary (top-level) tags inside the container.</dd>
0 commit comments