-
Notifications
You must be signed in to change notification settings - Fork 1
/
fauna.html
595 lines (583 loc) · 23.4 KB
/
fauna.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
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
<!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 - Fauna</title>
<meta name="application-name" content="NMS Wiki Page Creator">
<meta name="description"
content="Easily generate the wikicode to create a fauna 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, Fauna">
<script src="./src/pages/fauna" type="module"></script>
</head>
<body>
<div class="container">
<nav>
<div><a href="./" title="Main page">← Return to main page</a></div>
<div><a href="./sandworm.html" title="Sandworm">↳ Sandworm</a></div>
</nav>
<h1 class="title is-3">NMS Wiki Page Creator - Fauna</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 creature:</label>
<button class="tooltip">
<data>Enter exactly as seen in game. Watch out for 0 (zero) and O (o).</data>
<data>Creature Name</data>
<data>Enter exactly as seen in game. Watch out for 0 (zero) and O (o).</data>
<data>creature/creatureName</data>
</button>
</div>
<div class="table-cell data">
<input data-dest="newName" type="text" id="nameInput">
</div>
<div class="table-cell text">
<label for="oldNameInput">Original name before uploading (if available):</label>
</div>
<div class="table-cell data">
<input data-dest="oldName" type="text" id="oldNameInput">
</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">
<label for="planetInput">Name of the planet:</label>
<button class="tooltip">
<data>Planet Name OR the planet circled by the moon where the creature can be found.</data>
</button>
</div>
<div class="table-cell data">
<input type="text" data-dest="planet" id="planetInput">
</div>
<div class="table-cell text">
<label for="moonInput">Name of the moon (if creature is on moon):</label>
<button class="tooltip">
<data>
If the creature is located on a moon. Leave blank if the creature is on a
planet.
</data>
</button>
</div>
<div class="table-cell data">
<input type="text" data-dest="moon" id="moonInput">
</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. Glyphs are specific to each planet.</data>
<data>Portalglyphs</data>
<data>
Found in Photo Mode. Glyphs are specific to each planet.
<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>Genus:</label>
<button class="tooltip">
<data>See the wiki for a list of genera.</data>
<data>Genus</data>
<data>The genus is defined by the general appearance of a creature.<br>
See the wiki for a <a href="Genus#Genus_List" data-wiki>list of genera</a>.</data>
</button>
</div>
<div class="table-cell data">
<select data-dest="genus" id="genusInput"></select>
</div>
<div class="tableHeader text">
<p>The following information can be found in the creature discovery menu.</p>
</div>
<div class="table-cell text">
<label>Hemisphere:</label>
<button class="tooltip">
<data>Found in the creature discovery menu.</data>
<data>Hemisphere</data>
<data>
Found in the creature discovery menu.<br>
If no hemisphere is given, leave the input empty.
</data>
<data>creature/creatureHemisphere</data>
</button>
</div>
<div class="table-cell data">
<select data-dest="hemisphere" id="hemisphereInput">
<option value=""></option>
<option value="North">North</option>
<option value="South">South</option>
</select>
</div>
<div class="table-cell text">
<label>Rarity:</label>
<button class="tooltip">
<data>Found in the creature discovery menu.</data>
<data>Rarity</data>
<data>Found in the creature discovery menu.</data>
<data>creature/creatureRarity</data>
</button>
</div>
<div class="table-cell data">
<select data-dest="rarity" id="rarityInput">
<option value="Common">Common</option>
<option value="Uncommon">Uncommon</option>
<option value="Rare">Rare</option>
</select>
</div>
<div class="table-cell text">
<label>Ecosystem:</label>
<button class="tooltip">
<data>Found in the creature discovery menu.</data>
<data>Ecosystem</data>
<data>Found in the creature discovery menu.</data>
<data>creature/creatureEcosystem</data>
</button>
</div>
<div class="table-cell data">
<select data-dest="ecosystem" id="ecosystemInput">
<option value="Ground">Ground</option>
<option value="Flying">Flying</option>
<option value="Underwater">Underwater</option>
<option value="Underground">Underground</option>
</select>
</div>
<div class="table-cell text">
<label>Activity:</label>
<button class="tooltip">
<data>Found in the creature discovery menu.</data>
<data>Activity</data>
<data>Found in the creature discovery menu.</data>
<data>creature/creatureActivity</data>
</button>
</div>
<div class="table-cell data">
<select data-dest="activity" id="activityInput">
<option value="Always Active">Always Active</option>
<option value="Diurnal">Diurnal</option>
<option value="Nocturnal">Nocturnal</option>
<option value="Mostly Diurnal">Mostly Diurnal</option>
<option value="Mostly Nocturnal">Mostly Nocturnal</option>
</select>
</div>
<div class="tableHeader text">
<p>The following information can be found on the creature scan.</p>
</div>
<div class="table-cell text">
<label>Which gender should be prioritised?</label>
</div>
<div class="table-cell data radioButtons">
<div>
<input type="radio" id="gender1" name="Gender" value="gender1" checked>
<label id="gender1_label" for="gender1"></label>
</div>
<div>
<input type="radio" id="gender2" name="Gender" value="gender2">
<label id="gender2_label" for="gender2"></label>
</div>
</div>
<div class="table-cell text">
<label>Gender:</label>
<button class="tooltip">
<data>Found on the creature scan.</data>
<data>Gender</data>
<data>Found on the creature scan.</data>
<data>creature/creatureGender</data>
</button>
</div>
<div class="table-cell data">
<select data-dest="gender1_label" data-dest-noauto="gender" id="genderInput">
</select>
</div>
<div class="table-cell text">
<label>Second Gender:</label>
<button class="tooltip">
<data>Only applies to certain genera. Can be found on the creature scan.</data>
<data>Second Gender</data>
<data>
Some genera have two genders, while others have only one gender.<br>
Birds, fish and weird/anomalous fauna for example have only one gender.<br>
They might show up as two genders, but will have the exact same appearance.
</data>
</button>
</div>
<div class="table-cell data">
<select data-dest="gender2_label" data-dest-noauto="gender2" id="gender2Input">
</select>
</div>
<div class="table-cell text">
<label for="behaviourInput">Behaviour:</label>
<button class="tooltip">
<data>Found on the creature scan.</data>
<data>Behaviour</data>
<data>Found on the creature scan.</data>
<data>creature/creatureBehaviour</data>
</button>
</div>
<div class="table-cell data">
<input data-dest="behaviour" type="text" list="behaviourData" id="behaviourInput">
</div>
<div class="table-cell text">
<label for="dietInput">Diet:</label>
<button class="tooltip">
<data>Found on the creature scan.</data>
<data>Diet</data>
<data>Found on the creature scan.</data>
<data>creature/creatureDiet</data>
</button>
</div>
<div class="table-cell data">
<input data-dest="diet" type="text" list="dietData" id="dietInput">
</div>
<div class="table-cell text">
<label for="weightInput">Weight in kg:</label>
<button class="tooltip">
<data>Found on the creature scan. No "kg" necessary.</data>
<data>Weight</data>
<data>Found on the creature scan.<br>No "kg" necessary.</data>
<data>creature/creatureWeight</data>
</button>
</div>
<div class="table-cell data">
<input data-dest-noauto="weight" type="text" id="weightInput" maxlength="5" placeholder="0.0">
</div>
<div class="table-cell text">
<label for="heightInput">Height in m:</label>
<button class="tooltip">
<data>Found on the creature scan. No "m" necessary.</data>
<data>Height</data>
<data>Found on the creature scan.<br>No "m" necessary.</data>
<data>creature/creatureHeight</data>
</button>
</div>
<div class="table-cell data">
<input data-dest-noauto="height" type="text" id="heightInput" maxlength="3" placeholder="0.0">
</div>
<div class="table-cell text" style="display: none">
<label for="weight2Input">Gender 2 Weight in kg:</label>
</div>
<div class="table-cell data" style="display: none">
<input type="text" data-dest-noauto="weight2" id="weight2Input" maxlength="5" placeholder="0.0">
</div>
<div class="table-cell text" style="display: none">
<label for="height2Input">Gender 2 Height in m:</label>
</div>
<div class="table-cell data" style="display: none">
<input type="text" data-dest-noauto="height2" id="height2Input" maxlength="3" placeholder="0.0">
</div>
<div class="table-cell text">
<label for="notesInput">Notes:</label>
<button class="tooltip">
<data>Found on the creature scan. Might differ from the discovery menu.</data>
<data>Notes</data>
<data>Found on the creature scan.</data>
<data>creature/creatureNotes</data>
</button>
</div>
<div class="table-cell data">
<input data-dest-noauto="notes" type="text" list="notesData" id="notesInput">
</div>
<div class="table-cell text" style="display: none">
<label for="specialNotesInput">Notes for discovery menu:</label>
<button class="tooltip">
<data>creature/creatureDMNotes</data>
<data>Discovery Menu Notes</data>
<data>Found in the discovery menu.<br>This might differ from the creature scan.</data>
<data>This might differ from the scan. Please check in the discovery menu.</data>
</button>
</div>
<div class="table-cell data" style="display: none">
<input data-dest-noauto="addObservation" type="text" list="specialNotesData"
id="specialNotesInput">
</div>
<div class="table-cell text">
<label>Produces:</label>
<button class="tooltip">
<data>Found on the creature scan.</data>
<data>Produces</data>
<data>Found on the creature scan.</data>
<data>creature/creatureProduces</data>
</button>
</div>
<div class="table-cell data">
<select data-dest="produces" id="producesSelectionInput">
</select>
</div>
<div class="tableHeader text">
<p>Information about the player.</p>
</div>
<div class="table-cell text">
<label>Gamemode:</label>
<button class="tooltip">
<data>Gamemode of the save on which this creature was discovered.</data>
<data>Gamemode</data>
<data>
Gamemode of the save on which this creature was discovered.<br>
Found in the main menu:
</data>
<data>shared/gamemode</data>
</button>
</div>
<div class="table-cell data">
<select data-dest="mode" id="modeInput">
<option value="Normal">Normal</option>
<option value="Relaxed">Relaxed</option>
<option value="Survival">Survival</option>
<option value="Permadeath">Permadeath</option>
<option value="Creative">Creative</option>
<option value="Custom">Custom</option>
</select>
</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="table-cell text">
<label>Into which album does this creature belong (if any)?</label>
</div>
<div class="table-cell data">
<select data-dest-noauto="catalogue" id="catalogueInput">
</select>
</div> -->
<div class="tableHeader data no-flex">
<label for="appearanceInput">Appearance</label>
<textarea data-dest="appearance" id="appearanceInput"
placeholder="What does the creature look like?"></textarea>
</div>
<div class="tableHeader text">
<p>Discovery Menu Text Builder</p>
</div>
<div class="table-cell text">
<label>Which biome is this creature in?</label>
</div>
<div class="table-cell data">
<select data-dest-noauto="biome" id="biomeInput">
<option value="Lush">Lush</option>
<option value="Barren">Barren</option>
<option value="Exotic">Exotic</option>
<option value="Mega Exotic">Mega Exotic</option>
<option value="Scorched">Scorched</option>
<option value="Frozen">Frozen</option>
<option value="Toxic">Toxic</option>
<option value="Irradiated">Irradiated</option>
<option value="Marsh">Marsh</option>
<option value="Volcanic">Volcanic</option>
</select>
</div>
<div class="table-cell text">
<label for="dmBiomeSentenceInput">Discovery menu biome sentence</label>
<button class="tooltip">
<data>Found in the Discovery Menu. Enter exactly as seen in game</data>
<data>Discovery Menu Text: Biome Sentence</data>
<data>
First sentence(s) of the Discovery Menu. Enter exactly as seen in game,
but ignore any linebreaks.
</data>
<data>creature/biomeSentence</data>
</button>
</div>
<div class="table-cell data">
<input type="text" id="dmBiomeSentenceInput" data-dest-noauto="dmBiomeSentence"
list="dmBiomeSentenceList">
</div>
<div class="table-cell text">
<label for="dmTemperamentSentenceInput">Discovery menu behaviour sentence</label>
<button class="tooltip">
<data>Found in the Discovery Menu. Enter exactly as seen in game</data>
<data>Discovery Menu Text: Behaviour Sentence</data>
<data>
Middle sentence(s) of the Discovery Menu. Enter exactly as seen in game,
but ignore any linebreaks.
</data>
<data>creature/behaviourSentence</data>
</button>
</div>
<div class="table-cell data">
<input type="text" id="dmTemperamentSentenceInput" data-dest-noauto="dmTemperamentSentence"
list="dmTemperamentSentenceList">
</div>
<div class="table-cell text">
<label for="dmDietSentenceInput">Discovery menu diet sentence</label>
<button class="tooltip">
<data>Found in the Discovery Menu. Enter exactly as seen in game</data>
<data>Discovery Menu Text: Diet Sentence</data>
<data>
Last sentence(s) of the Discovery Menu. Enter exactly as seen in game,
but ignore any linebreaks.
</data>
<data>creature/dietSentence</data>
</button>
</div>
<div class="table-cell data">
<input type="text" id="dmDietSentenceInput" data-dest-noauto="dmDietSentence"
list="dmDietSentenceList">
</div>
<div class="tableHeader data no-flex">
<label for="dmInput">Discovery Menu</label>
<button class="tooltip">
<data>Found in the Discovery Menu. Enter exactly as seen in game</data>
<data>Discovery Menu Text</data>
<data>
Found in the Discovery Menu. Enter exactly as seen in game,
but ignore any linebreaks.
</data>
<data>creature/creatureDM</data>
</button>
<textarea data-dest-noauto="DM" id="dmInput"></textarea>
</div>
</div>
<div id="galleryInput"></div>
<div id="galleryItems" class="gallery-items-wrapper"></div>
<div id="actions" 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>{{Creature infobox</div>
<div>| name = <output id="name" name="newName"></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>| planet = <output id="planet"></output></div>
<div>| moon = <output id="moon"></output></div>
<div>| coordinates = {{Glyphs2Coords|<output id="portalglyphs" name="portalglyphs"></output>}}</div>
<div>| hemisphere = <output id="hemisphere"></output></div>
<div>| rarity = <output id="rarity"></output></div>
<div>| ecosystem = <output id="ecosystem"></output></div>
<div>| activity = <output id="activity"></output></div>
<div>| gender = <output id="gender"></output></div>
<div>| behaviour = <output id="behaviour"></output></div>
<div>| diet = <output id="diet"></output></div>
<div>| weight = <output id="weight"></output></div>
<div>| height = <output id="height"></output></div>
<div>| notes = <output id="notes"></output></div>
<div>| produces = <output id="produces"></output></div>
<div>| genus = <output id="genus" name="genus"></output></div>
<div>| civilized = <output id="hubname" name="hubname"></output></div>
<div>| discovered = <output id="discovered"></output></div>
<div>| discoveredlink = <output id="discoveredlink"></output></div>
<div>| researchteam = <output id="researchteam"></output></div>
<div>| mode = <output id="mode"></output></div>
<div>| release = <output id="release1" name="release"></output></div>
<div>}}</div>
<div>'''<output id="name1" name="name"></output>''' is a creature.</div>
<br>
<div>==Summary==</div>
<div>'''<output id="name2" name="name"></output>''' is a [[creature]], a member of the [[<output
id="genus1" name="genus"></output>]] [[genus]].
</div>
<br>
<div>==Appearance==</div>
<div><output id="appearance"></output></div>
<br>
<div>==Alias Names==</div>
<div>{{aliasc|text=Original|name=<output id="oldName"></output>}}</div>
<div>{{aliasc|text=Current|name=<output id="newName" name="newName"></output>}}
</div>
<br>
<div>==Discovery Menu==</div>
<div><output id="DM"></output></div>
<br>
<div>
<output id="addObservation"></output>
<br>
<br>
</div>
<div>==Location==</div>
<div>It can be found on the <output id="celestialBody"></output> in the [[<output id="locSystem"
name="system"></output>]] [[star system]].</div>
<br>
<div>{{CoordGlyphConvert|<output id="portalglyphs1" name="portalglyphs"></output>}}
</div>
<br>
<div>==Additional Information==</div>
<div><span data-add-info="*"></span> <output id="addInfo"></output></div>
<div><span data-add-info="*"></span> <output id="docby"></output></div>
<br>
<div id="gallery"></div>
</div>
</div>
</main>
</div>
<footer id="footer" class="footer"></footer>
<datalist id="dmBiomeSentenceList"></datalist>
<datalist id="dmTemperamentSentenceList"></datalist>
<datalist id="dmDietSentenceList"></datalist>
</body>
</html>