-
Notifications
You must be signed in to change notification settings - Fork 4
/
base.html
385 lines (376 loc) · 18.5 KB
/
base.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Eisvana Wiki Page Creator - Base</title>
<meta name="application-name" content="Eisvana Wiki Page Creator">
<meta name="description"
content="Easily generate the wikicode to create a base page for Eisvana on the No Man's Sky Wiki!">
<meta name="theme-color" content="#280033">
<meta name="keywords" content="No Man's Sky, NMS, Wiki, Fandom, Eisvana, Page Creator, Base">
<script src="./src/pages/base" 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">Eisvana Wiki Page Creator - Base</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 base:</label>
<button class="tooltip">
<data>Enter exactly as seen in game. Watch out for 0 (zero) and O (o).</data>
<data>Base Name</data>
<data>Enter exactly as seen in game. Watch out for 0 (zero) and O (o).</data>
<data>base/baseName</data>
</button>
</div>
<div class="table-cell data">
<input type="text" data-dest="name" id="nameInput">
</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="builderlinkInput">Builder wiki name:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest="builderlink" id="builderlinkInput">
</div>
<div class="table-cell text">
<label for="builderInput">Builder alias if no wiki:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest="builder" id="builderInput">
</div>
<div class="table-cell text">
<label for="docbyInput">Documented by if not builder:</label>
</div>
<div class="table-cell data">
<input type="text" data-dest-noauto="docby" id="docbyInput">
</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="planetInput">Name of the planet:</label>
<button class="tooltip">
<data>Planet Name OR the planet circled by the moon where the base 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 base is on moon):</label>
<button class="tooltip">
<data>If the base is located on a moon. Leave blank if the base 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">
<label for="axesInput">Planetary coords:</label>
<button class="tooltip">
<data>Found using your analysis visor OR on your ship's dashboard.</data>
<data>Planetary Coordinates</data>
<data>Found using your analysis visor OR on your ship's dashboard.</data>
<data>shared/axes</data>
</button>
</div>
<div class="table-cell data">
<input type="text" placeholder="+0.00, -0.00" data-dest="axes" id="axesInput">
</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 for="typeInput">Type of the base:</label>
<button class="tooltip">
<data>Type and purpose of the base.</data>
<data>Base Type</data>
<data>
<div class="dialog-center">
<ul class="dialog-list">
<li>Artistic</li>
<li>Embassy</li>
<li>Farm</li>
<li>Headquarters</li>
<li>Industrial</li>
<li>Memorial</li>
<li>Residential</li>
</ul>
</div>
</data>
</button>
</div>
<div class="table-cell data">
<input type="text" data-dest="type" id="typeInput">
</div>
<div class="table-cell text">
<label>Gamemode:</label>
<button class="tooltip">
<data>Gamemode of the save on which this base was built.</data>
<data>Gamemode</data>
<data>Gamemode of the save on which this base was built.<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>Platform:</label>
</div>
<div class="table-cell data">
<select data-dest="platform" id="platformInput">
<option value="PC">PC</option>
<option value="PS">PlayStation</option>
<option value="XB">Xbox</option>
<option value="NS">Switch</option>
</select>
</div>
<div class="table-cell text">
<label>Features:</label>
</div>
<div class="table-cell data">
<div class="checkboxes-grid">
<label class="checkbox" for="farmCheckbox"><input type="checkbox" id="farmCheckbox" value="Yes"
data-checkbox-unchecked="No" data-dest-checkbox="farm"><span
class="checkbox-label">Farm</span></label>
<label class="checkbox" for="geobayCheckbox"><input type="checkbox" id="geobayCheckbox" value="Yes"
data-checkbox-unchecked="No" data-dest-checkbox="geobay"><span
class="checkbox-label">Geobay</span></label>
<label class="checkbox" for="landingPadCheckbox"><input type="checkbox" id="landingPadCheckbox"
value="Yes" data-checkbox-unchecked="No" data-dest-checkbox="landingpad"><span
class="checkbox-label">Landing
Pad</span></label>
<label class="checkbox" for="arenaCheckbox"><input type="checkbox" id="arenaCheckbox" value="Yes"
data-checkbox-unchecked="No" data-dest-checkbox="arena"><span
class="checkbox-label">Arena</span></label>
<label class="checkbox" for="terminalCheckbox"><input type="checkbox" id="terminalCheckbox" value="Yes"
data-checkbox-unchecked="No" data-dest-checkbox="terminal"><span class="checkbox-label">Trade
Terminal</span></label>
<label class="checkbox" for="racetrackCheckbox"><input type="checkbox" id="racetrackCheckbox" value="Yes"
data-checkbox-unchecked="No" data-dest-checkbox="racetrack"><span
class="checkbox-label">Racetrack</span></label>
</div>
</div>
<div class="table-cell text">
<label>Do you belong to a chapter?</label>
</div>
<div class="table-cell data">
<select data-dest-noauto="researchteam" id="researchteamInput">
<option value=""></option>
<option value="Wiki Scholars">Wiki Scholars</option>
<option value="EBC">EBC</option>
</select>
</div>
<div class="tableHeader text sectionToggle">
<p>Census:</p>
<button class="button" id="censusHideButton">Hide</button>
</div>
<div data-section="census" class="table-cell text">
<label for="censusPlayerInput">Ingame name of the player?</label>
<button class="tooltip">
<data>Your ingame name.</data>
<data>Player Name</data>
<data>Your ingame name. Don't include any ingame titles.</data>
<data>base/playerName</data>
</button>
</div>
<div data-section="census" class="table-cell data">
<input type="text" data-dest="censusplayer" id="censusPlayerInput">
</div>
<div data-section="census" class="table-cell text">
<label for="censusRedditInput">Reddit name of the player?</label>
<button class="tooltip">
<data>Your Reddit name. "u/" not necessary.</data>
</button>
</div>
<div data-section="census" class="table-cell data">
<input type="text" data-dest-noauto="censusreddit" id="censusRedditInput" data-player>
</div>
<div data-section="census" class="table-cell text">
<label for="censusSocialInput">Other social media profile link?</label>
<button class="tooltip">
<data>Social Media profile if you don't have Reddit (Facebook, Instagram, Wiki, etc). Put the full link
here.</data>
</button>
</div>
<div data-section="census" class="table-cell data">
<input type="text" data-dest="censussocial" id="censusSocialInput" data-player>
</div>
<div data-section="census" class="table-cell text">
<label for="censusDiscordInput">Discord name of the player?</label>
<button class="tooltip">
<data>Your Discord name. Please give your username, not your display name.</data>
</button>
</div>
<div data-section="census" class="table-cell data">
<input type="text" data-dest="censusdiscord" id="censusDiscordInput">
</div>
<div data-section="census" class="table-cell text">
<label for="censusFriendInput">NMS friend code of the player?</label>
<button class="tooltip">
<data>Can be found in the Options.</data>
<data>NMS Friend Code</data>
<data>
You can find your friend code in the Options → Network → View No Man's Sky
Friends List → Show My No
Man's Sky Friend Code
</data>
<data>base/friendCode</data>
</button>
</div>
<div data-section="census" class="table-cell data">
<input type="text" data-dest-noauto="censusfriend" maxlength="15" id="censusFriendInput">
</div>
<div data-section="census" class="table-cell text">
<label for="censusArrivalInput">When did the player arrive in Eisvana space?</label>
</div>
<div data-section="census" class="table-cell data">
<input type="date" data-dest-noauto="censusarrival" id="censusArrivalInput">
</div>
<div data-section="census" class="table-cell text">
<label for="censusShowInput">Create Census Entry:</label>
</div>
<div data-section="census" class="table-cell data">
<input type="checkbox" id="censusShowInput" value="Y" data-checkbox-unchecked=""
data-dest-checkbox="censusshow">
</div>
<div class="tableHeader data no-flex">
<label for="layoutInput">Base Layout:</label>
<textarea id="layoutInput" data-dest="layout" placeholder="What does the base look like?"></textarea>
</div>
<div class="tableHeader data no-flex">
<label for="featuresInput">Base Features:</label>
<textarea id="featuresInput" data-dest="features"
placeholder="List the basic features, such as crops, biodomes, landing pads, exocraft bays, etc."></textarea>
</div>
<div class="tableHeader data no-flex">
<label for="addInfoInput">Additional Information:</label>
<textarea id="addInfoInput" data-dest="addInfo"
placeholder="Any nearby resources, tourist traps, other bases."></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>{{Eisvana}}</div>
<div>{{Base infobox</div>
<div>| name = <output id="name" name="name"></output></div>
<div>| image = <output id="image"></output></div>
<div>| civilized = Eisvana</div>
<div>| researchteam = <output id="researchteam"></output></div>
<div>| builderlink = <output id="builderlink"></output></div>
<div>| builder = <output id="builder"></output></div>
<div>| galaxy = Eissentam</div>
<div>| region = <output id="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>| axes = <output id="axes"></output></div>
<div>| coordinates = {{Glyphs2Coords|<output id="portalglyphs" name="portalglyphs"></output>}}</div>
<div>| portalglyphs = <output id="portalglyphs1" name="portalglyphs"></output></div>
<div>| type = <output id="type"></output></div>
<div>| mode = <output id="mode"></output></div>
<div>| platform = <output id="platform"></output></div>
<div>| release = <output id="release1" name="release"></output></div>
<div>| farm = <output id="farm"></output></div>
<div>| geobay = <output id="geobay"></output></div>
<div>| landingpad = <output id="landingpad"></output></div>
<div>| arena = <output id="arena"></output></div>
<div>| terminal = <output id="terminal"></output></div>
<div>| racetrack = <output id="racetrack"></output></div>
<div>| censusplayer = <output id="censusplayer"></output></div>
<div>| censusreddit = <output id="censusreddit"></output></div>
<div>| censussocial = <output id="censussocial"></output></div>
<div>| censusdiscord = <output id="censusdiscord"></output></div>
<div>| censusfriend = <output id="censusfriend"></output></div>
<div>| censusarrival = <output id="censusarrival"></output></div>
<div>| censusrenewal = <output id="censusrenewal"></output></div>
<div>| censusshow = <output id="censusshow"></output></div>
<div>}}</div>
<div>'''<output id="name1" name="name"></output>''' is a player base.</div>
<br>
<div>==Summary==</div>
<div>'''<output id="name2" name="name"></output>''' is a [[Habitable Base|player base]], located
on the <output id="celestialBody"></output> in the [[<output id="system1" name="system"></output>]] system.
</div>
<br>
<div>==Layout==</div>
<div><output id="layout"></output></div>
<br>
<div>==Features==</div>
<div><output id="features"></output></div>
<br>
<div>==Additional Information==</div>
<div><span data-add-info=""></span><output id="addInfo"></output></div>
<div><span data-add-info="<br>"></span><output id="docby"></output></div>
<br>
<div id="gallery"></div>
</div>
</div>
</main>
</div>
<footer id="footer" class="footer"></footer>
</body>
</html>