-
Notifications
You must be signed in to change notification settings - Fork 1
/
biofrig.html
324 lines (313 loc) · 13.5 KB
/
biofrig.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>NMS Wiki Page Creator - Organic Frigate</title>
<meta name="application-name" content="NMS NMS Wiki Page Creator">
<meta name="description"
content="Easily generate the wikicode to create an organic frigate discovery page on the No Man's Sky Wiki!">
<meta name="theme-color" content="#280033">
<meta name="keywords" content="No Man's Sky, NMS, Wiki, Fandom, Lenni, Page Creator, Organic Frigate">
<script src="./src/pages/biofrig" type="module"></script>
</head>
<body>
<div class="container">
<nav><a href="./" title="Main page">← Return to main page</a></nav>
<h1 class="title is-3">NMS Wiki Page Creator - Organic Frigate</h1>
<dialog id="explanation" class="modal-content content"></dialog>
<main class="columns is-desktop">
<div id="input" class="column is-full-mobile">
<div class="table">
<div class="table-cell text">
<label for="nameInput">Name of the frigate:</label>
<button class="tooltip">
<data>Enter exactly as seen in game. Watch out for 0 (zero) and O (o).</data>
<data>Frigate Name</data>
<data>Enter exactly as seen in game. Watch out for 0 (zero) and O (o).</data>
<data>frigate/frigateName</data>
</button>
</div>
<div class="table-cell data">
<input type="text" data-dest="name" id="nameInput">
</div>
<div class="table-cell text">
<label for="hubnameInput">Claimed by which civilized space:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest="hubname" id="hubnameInput">
</div>
<div class="table-cell text">
<label for="fileInput">Main image name, including file extension:</label>
<button class="tooltip" name="fileUploadTooltip">
<data>Picture won't be uploaded to the wiki. This is only to autofill the image name.</data>
<data>File Upload</data>
<data>
Any pictures you upload here won't be uploaded to the wiki. This is only to autofill the
image name. Maximum filesize is 10MB.
You can upload your pictures to the wiki on <a href="Special:Upload?multiple=true"
data-wiki>Special:Upload</a>
<iframe src="https://nmscd.com/Image-Compressor/" title="Image Compressor"
class="explanation-embed" width="450" height="300">Image Compressor</iframe>
</data>
</button>
</div>
<div class="table-cell data">
<input type="text" id="fileInput" data-dest="image" data-default="NmsMisc_NotAvailable.png">
<input type="file" id="fileUpload" accept="image/*">
</div>
<div class="table-cell text">
<label for="galaxyInput">Name of the galaxy:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest="galaxy" id="galaxyInput">
</div>
<div class="table-cell text">
<label for="systemInput">Name of the system:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest="system" id="systemInput">
</div>
<div class="table-cell text">
<label for="regionInput">Name of the region where the system is located:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest="region" id="regionInput">
</div>
<div class="table-cell text">
<div class="label-combo">
<label for="portalglyphsInput">Portalglyphs:</label>
<button class="button is-small is-danger" type="button" id="glyphDeleteButton">←
Delete</button>
</div>
<button class="tooltip">
<data>Found in Photo Mode.</data>
<data>Portalglyphs</data>
<data>
Found in Photo Mode.
<iframe src="https://nmspar.vercel.app/" sandbox="allow-scripts allow-same-origin"
title="Glyph Reader" class="explanation-embed" width="450" height="300">Glyph
Reader</iframe>
</data>
<data>shared/glyphs</data>
</button>
</div>
<div class="table-cell data">
<input type="text" id="portalglyphsInput" data-dest-noauto="portalglyphs" maxlength="12">
</div>
<div class="tableHeader data">
<div id="portalglyphButtons"></div>
<output name="portalglyphs" id="portalglyphsPreview" class="glyph"></output>
</div>
<div class="table-cell text">
<label>Class:</label>
</div>
<div class="table-cell data">
<select id="classInput" data-dest="class">
<option value="S">S</option>
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
</select>
</div>
<div class="table-cell text">
<label for="costInput">Cost:</label>
</div>
<div class="table-cell data">
<input type="text" id="costInput" data-dest-number="0" data-dest-noauto="cost">
</div>
<div class="table-cell text">
<label for="combatInput">Combat:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest-noauto="combat" data-dest-number="0" maxlength="2"
id="combatInput">
</div>
<div class="table-cell text">
<label for="explorationInput">Exploration:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest-noauto="exploration" data-dest-number="0" maxlength="2"
id="explorationInput">
</div>
<div class="table-cell text">
<label for="industrialInput">Industrial:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest-noauto="industrial" data-dest-number="0" maxlength="2"
id="industrialInput">
</div>
<div class="table-cell text">
<label for="tradeInput">Trade:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest-noauto="trade" data-dest-number="0" maxlength="2" id="tradeInput">
</div>
<div class="table-cell text">
<label for="fuelInput">Fuel:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest-noauto="fuel" data-dest-number="0" maxlength="2" id="fuelInput">
</div>
<div class="table-cell text">
<label for="discoveredlinkInput">Discoverer wiki name:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest="discoveredlink" id="discoveredlinkInput">
</div>
<div class="table-cell text">
<label for="discoveredInput">Discoverer alias if no wiki:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest="discovered" id="discoveredInput">
</div>
<div class="table-cell text">
<label for="docbyInput">Documenter alias if not discoverer:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest-noauto="docby" id="docbyInput">
</div>
<div class="table-cell text">
<label>Researchteam you belong to:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest-noauto="researchteam" id="researchteamInput" placeholder="Your civ may not have this">
</input>
</div>
<div class="tableHeader text sectionToggle">
<p>This section builds a predefined appearance sentence, it is not required.</p>
<button class="button" id="hideAppearanceButton">Hide</button>
</div>
<div data-section="appearance" class="table-cell text">
<label>Main Colour:</label>
</div>
<div data-section="appearance" class="table-cell data">
<select id="mainColourInput" data-dest-noauto="mainColour">
<option value=" "></option>
<option value="blue">Blue</option>
<option value="chrome">Chrome</option>
<option value="cream">Cream</option>
<option value="green">Green</option>
<option value="grey">Grey</option>
<option value="orange">Orange</option>
<option value="pink">Pink</option>
<option value="purple">Purple</option>
<option value="red">Red</option>
<option value="tan">Tan</option>
<option value="teal">Teal</option>
<option value="white">White</option>
<option value="yellow">Yellow</option>
</select>
</div>
<div data-section="appearance" class="table-cell text">
<label>Secondary Colour:</label>
</div>
<div data-section="appearance" class="table-cell data">
<select id="secColourInput" data-dest-noauto="secColour">
<option value=" "></option>
<option value="black">Black</option>
<option value="blue">Blue</option>
<option value="chrome">Chrome</option>
<option value="cream">Cream</option>
<option value="gold">Gold</option>
<option value="green">Green</option>
<option value="grey">Grey</option>
<option value="orange">Orange</option>
<option value="pink">Pink</option>
<option value="purple">Purple</option>
<option value="red">Red</option>
<option value="silver">Silver</option>
<option value="tan">Tan</option>
<option value="teal">Teal</option>
<option value="white">White</option>
<option value="yellow">Yellow</option>
</select>
</div>
<div data-section="appearance" class="table-cell text">
<label>Tentacle type:</label>
</div>
<div data-section="appearance" class="table-cell data">
<select id="tentacleInput" data-dest-noauto="tentacles">
<option value=" "></option>
<option value="leviathan tentacles">Leviathan</option>
<option value="a mono-leviathan Tentacle">Mono-Leviathan</option>
<option value="squid tentacles">Squid</option>
<option value="a large central squid Tentacle">Large Central Squid</option>
<option value="shielded tentacles">Shielded</option>
<option value="stubby tentacles">Stubby</option>
<option value="ethereal tentacles">Ethereal</option>
<option value="dual tentacles">Dual Tentacles</option>
</select>
</div>
<div class="tableHeader data no-flex">
<label for="appearanceInput">Appearance:</label>
<textarea data-dest="appearance" id="appearanceInput"
placeholder="What does the frigate look like?"></textarea>
</div>
</div>
<div id="galleryInput"></div>
<div id="galleryItems" class="gallery-items-wrapper"></div>
<div id="actions" class="buttons"></div>
<div id="albumActions" class="buttons"></div>
</div>
<div id="output" class="column is-full-mobile">
<div class="wikiText" id="fullArticle" data-link="page">
<div>{{Version|<output id="release" name="release"></output>}}</div>
<!-- <div>{{<output id="civStub"></output>}}</div> -->
<div>{{Starship infobox</div>
<div>| name = <output id="name" name="name"></output></div>
<div>| image = <output id="image" name="image"></output></div>
<div>| galaxy = <output id="galaxy" name="galaxy"></output></div>
<div>| region = <output id="region" name="region"></output></div>
<div>| system = <output id="system" name="system"></output></div>
<div>| coordinates = <output id="galacticCoords" name="galacticCoords"></output></div>
<div>| portalglyphs = {{Coords2Glyphs|<output id="galacticCoords1" name="galacticCoords"></output>}}</div>
<div>| type = Frigate</div>
<div>| subtype = Organic</div>
<div>| class = <output id="class" name="class"></output></div>
<div>| cost = <output id="cost"></output></div>
<div>| discovered = <output id="discovered"></output></div>
<div>| discoveredlink = <output id="discoveredlink"></output></div>
<div>| civilized = <output id="hubname" name="hubname"></output></div>
<div>| researchteam = <output id="researchteam"></output></div>
<div>| release = <output id="release1" name="release"></output></div>
<div>}}</div>
<div>'''<output id="name1" name="name"></output>''' is a frigate.</div>
<br>
<div>==Summary==</div>
<div>'''<output id="name2" name="name"></output>''' is an [[Starship Catalogue - Frigate|organic
frigate]]-type [[starship]].</div>
<br>
<div>==Appearance==</div>
<div><output id="appearance"></output></div>
<br>
<div>==Stats==</div>
<div>{{FrigateStats</div>
<div>| combat = <output id="combat"></output></div>
<div>| exploration = <output id="exploration"></output></div>
<div>| industrial = <output id="industrial"></output></div>
<div>| trade = <output id="trade"></output></div>
<div>| fuel = <output id="fuel"></output></div>
<div>}}</div>
<br>
<div>==Location==</div>
<div>The {{Class|<output name="class"></output>}} class version of this frigate can be found in the
[[<output id="system1" name="system"></output>]] [[star system]] in the [[<output id="region" name="region"></output>]] [[region]]<output id="regNr"></output> of [[<output id="hubname" name="hubname"></output>]], in the
[[<output id="galaxy" name="galaxy"></output>]] [[galaxy]].</div>
<br>
<div>==Additional Information==</div>
<div><span data-add-info="*"></span> Featured in the <output id="addInfo"></output></div>
<div><span data-add-info="*"></span> <output id="docby"></output></div>
<br>
<div id="gallery"></div>
<br>
<div>==Reference Links==</div>
<div>* [[Organic Frigates#Types and Parts|Organic Frigate Parts Catalogue]]</div>
</div>
<div id="albumEntry" data-link="album"></div>
</div>
</main>
</div>
<footer id="footer" class="footer"></footer>
</body>
</html>