MindustryGame/wiki

including item list rather than copy/paste

Arkanic opened this issue · 4 comments

could you include the items list with a bit of code rather than copy/pasting it into every page?
something like this:

<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js">
$(
function() {
$("#includeContent").load("itembar.htm");
});
</script>
</head>
<body>
<p>i is p element</p>
<div id="includeContent"></div>
</body>
</html>

it may be useful if new items are added, as it saves completely re-writing every file.
i made an issue bc i am nobody to tamper with code like this

Which items list are you referring to?

@Anuken the floated index on the left, i probably couldve phrased myself better

Screenshot from 2019-06-10 18-47-47

Do you mean this?
I don't make any of it myself, it's all autogenerated every wiki update.

@Anuken oh okay, i didn't know that
thanks