Robert Carnecky 10 роки тому
джерело
коміт
745c0b618c
1 змінених файлів з 19 додано та 4 видалено
  1. 19
    4
      index.html

+ 19
- 4
index.html Переглянути файл

75
 }
75
 }
76
 </code></pre>
76
 </code></pre>
77
 
77
 
78
-          <h3>
78
+<h3>
79
     <a name="designer-templates" class="anchor" href="#designer-templates"><span class="octicon octicon-link"></span></a>
79
     <a name="designer-templates" class="anchor" href="#designer-templates"><span class="octicon octicon-link"></span></a>
80
     Live demo
80
     Live demo
81
 </h3>
81
 </h3>
103
         <li>
103
         <li>
104
             <code>color</code>
104
             <code>color</code>
105
             Name of the card color. You can use all <a href="http://www.w3schools.com/cssref/css_colornames.asp">CSS color names</a>.
105
             Name of the card color. You can use all <a href="http://www.w3schools.com/cssref/css_colornames.asp">CSS color names</a>.
106
-            Additional custom colors are defined in <code>css/custom-colors.css</code>.
107
         </li>
106
         </li>
108
         <li>
107
         <li>
109
             <code>icon</code>
108
             <code>icon</code>
135
 
134
 
136
 <p>
135
 <p>
137
     Each card element is a string of the following format:
136
     Each card element is a string of the following format:
138
-    <pre>"element | param1 | param2"</pre><br />
137
+    <pre>"element | param1 | param2 | ..."</pre><br />
139
 
138
 
140
     The following elements are available:
139
     The following elements are available:
141
 
140
 
167
         <li>
166
         <li>
168
             <code>subsection</code>
167
             <code>subsection</code>
169
             A subsection header, with a horizontal rule below the subsection name.
168
             A subsection header, with a horizontal rule below the subsection name.
170
-            Param1: the subsection name
169
+            Param1: the subsection name.
170
+        </li>
171
+        <li>
172
+            <code>boxes</code>
173
+            A line full of empty boxes. Useful for items with charges and actions with limited use.
174
+            Param1: number of boxes.
175
+            Param2: size of a box (where 1.0 is the size of the letter 'e').
176
+        </li>
177
+        <li>
178
+            <code>dndstats</code>
179
+            A Dungeons&Dragons stat block.
180
+            Param1: Strength score.
181
+            Param2: Dexterity score.
182
+            Param3: Constitution score.
183
+            Param4: Intelligence score.
184
+            Param5: Wisdom score.
185
+            Param6: Charisma score.
171
         </li>
186
         </li>
172
         <li>
187
         <li>
173
             <code>fill</code>
188
             <code>fill</code>

Завантаження…
Відмінити
Зберегти