Quellcode durchsuchen

Minor documentation changes

crobi vor 10 Jahren
Ursprung
Commit
fe8aeb4b91
1 geänderte Dateien mit 17 neuen und 19 gelöschten Zeilen
  1. 17
    19
      index.html

+ 17
- 19
index.html Datei anzeigen

81
 </h3>
81
 </h3>
82
 
82
 
83
 <p>
83
 <p>
84
-    <a href="generator/generate.html">Try it out yourself</a>. Press "Load sample cards" in the menu, then press "Generate cards".
84
+    <a href="generator/generate.html">Try it out yourself</a>.
85
+    Press "Load sample" in the menu, then press "Generate" and have a look at the newly opened window/tab that contains all the generated cards.
85
 </p>
86
 </p>
86
 
87
 
87
 <h2>Documentation</h2>
88
 <h2>Documentation</h2>
96
 <p>
97
 <p>
97
     <ul>
98
     <ul>
98
         <li>
99
         <li>
99
-            <strong>count</strong>
100
+            <code>count</code>
100
             The number of times this card is repeated. Useful for consumable items that you hand out multiple times.
101
             The number of times this card is repeated. Useful for consumable items that you hand out multiple times.
101
         </li>
102
         </li>
102
         <li>
103
         <li>
103
-            <strong>color</strong>
104
+            <code>color</code>
104
             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>.
105
             Additional custom colors are defined in <code>css/custom-colors.css</code>.
106
             Additional custom colors are defined in <code>css/custom-colors.css</code>.
106
         </li>
107
         </li>
107
         <li>
108
         <li>
108
-            <strong>icon</strong>
109
+            <code>icon</code>
109
             Name of the card icon. You can use all icons from <a href="http://game-icons.net/">game-icons.net</a>.
110
             Name of the card icon. You can use all icons from <a href="http://game-icons.net/">game-icons.net</a>.
110
             For example, the file name of <a href="http://game-icons.net/lorc/originals/plain-dagger.html">this dagger</a>
111
             For example, the file name of <a href="http://game-icons.net/lorc/originals/plain-dagger.html">this dagger</a>
111
             is "plain-dagger.png", so you would use "plain-dagger" as the icon name.
112
             is "plain-dagger.png", so you would use "plain-dagger" as the icon name.
112
             Additional custom icon names are defined in <code>css/custom-icons.css</code>.
113
             Additional custom icon names are defined in <code>css/custom-icons.css</code>.
113
         </li>
114
         </li>
114
         <li>
115
         <li>
115
-            <strong>back_icon</strong>
116
+            <code>icon_back</code>
116
             Optional. Name of the big icon on the card back. If not specified, the icon from the "icon" property is used.
117
             Optional. Name of the big icon on the card back. If not specified, the icon from the "icon" property is used.
117
         </li>
118
         </li>
118
         <li>
119
         <li>
119
-            <strong>title</strong>
120
+            <code>title</code>
120
             The title of the card.
121
             The title of the card.
121
         </li>
122
         </li>
122
         <li>
123
         <li>
123
-            <strong>contents</strong>
124
+            <code>contents</code>
124
             An array of strings, specifying all card elements, in top to bottom order (see below).
125
             An array of strings, specifying all card elements, in top to bottom order (see below).
125
         </li>
126
         </li>
126
     </ul>
127
     </ul>
140
 
141
 
141
     <ul>
142
     <ul>
142
         <li>
143
         <li>
143
-            <strong>subtitle</strong>
144
+            <code>subtitle</code>
144
             Slightly larger italic text.
145
             Slightly larger italic text.
145
             Param1: the subtitle text.
146
             Param1: the subtitle text.
146
         </li>
147
         </li>
147
         <li>
148
         <li>
148
-            <strong>rule</strong>
149
+            <code>rule</code>
149
             A horizontal rule.
150
             A horizontal rule.
150
         </li>
151
         </li>
151
         <li>
152
         <li>
152
-            <strong>property</strong>
153
+            <code>property</code>
153
             A property line. The property description is indented if it spans more than one line.
154
             A property line. The property description is indented if it spans more than one line.
154
             Param1: the property name (in bold).
155
             Param1: the property name (in bold).
155
             Param2: the property description.
156
             Param2: the property description.
156
         </li>
157
         </li>
157
         <li>
158
         <li>
158
-            <strong>description</strong>
159
+            <code>description</code>
159
             Same as <i>property</i>, but text is not indented.
160
             Same as <i>property</i>, but text is not indented.
160
         </li>
161
         </li>
161
         <li>
162
         <li>
162
-            <strong>text</strong>
163
+            <code>text</code>
163
             A simple paragraph of text.
164
             A simple paragraph of text.
164
             Param1: the text.
165
             Param1: the text.
165
         </li>
166
         </li>
166
         <li>
167
         <li>
167
-            <strong>subsection</strong>
168
+            <code>subsection</code>
168
             A subsection header, with a horizontal rule below the subsection name.
169
             A subsection header, with a horizontal rule below the subsection name.
169
             Param1: the subsection name
170
             Param1: the subsection name
170
         </li>
171
         </li>
171
         <li>
172
         <li>
172
-            <strong>fill-1</strong>
173
-            A dynamically resized empty element that takes up 1 unit of unused space on the card.
173
+            <code>fill</code>
174
+            A dynamically resized empty element that takes up a portion of unused space on the card.
174
             You can use this to vertically center text by adding one of these before and after the text you want to center.
175
             You can use this to vertically center text by adding one of these before and after the text you want to center.
175
-        </li>
176
-        <li>
177
-            <strong>fill-2</strong>
178
-            Same as <i>fill-1</i>, but takes up 2 units of unused space - these elements will therefore be larger than any <i>fill-1</i> element.
176
+            Param1: the number of units of empty space to use.
179
         </li>
177
         </li>
180
     </ul>
178
     </ul>
181
 </p>
179
 </p>

Laden…
Abbrechen
Speichern