Robert Carnecky il y a 10 ans
Parent
révision
745c0b618c
1 fichiers modifiés avec 19 ajouts et 4 suppressions
  1. 19
    4
      index.html

+ 19
- 4
index.html Voir le fichier

@@ -75,7 +75,7 @@
75 75
 }
76 76
 </code></pre>
77 77
 
78
-          <h3>
78
+<h3>
79 79
     <a name="designer-templates" class="anchor" href="#designer-templates"><span class="octicon octicon-link"></span></a>
80 80
     Live demo
81 81
 </h3>
@@ -103,7 +103,6 @@ This is not a complete documentation, but some information that should help you
103 103
         <li>
104 104
             <code>color</code>
105 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 106
         </li>
108 107
         <li>
109 108
             <code>icon</code>
@@ -135,7 +134,7 @@ This is not a complete documentation, but some information that should help you
135 134
 
136 135
 <p>
137 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 139
     The following elements are available:
141 140
 
@@ -167,7 +166,23 @@ This is not a complete documentation, but some information that should help you
167 166
         <li>
168 167
             <code>subsection</code>
169 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 186
         </li>
172 187
         <li>
173 188
             <code>fill</code>

Loading…
Annuler
Enregistrer