makenewline(relname)

Makes a new line of a template named relname_

Parameters:

- relname | name of template

Ex. use makenewline("doclist") will make exact copy and change all _ to _num based on how many times you have called this before and remove the d-none class that hides the template

<table class="table">
<tr><th>Name</th><th></th><th>Type</th><th>Updated</th></tr>
<tr id="doclist_" class="d-none">
<td><a id="name_" class="dort" href="#"></a></td>
<td><button id="dodt_" class="btn btn-outline-warning btn-sm dodt">Edit</button></td>
<td id="type_"></td>
<td id="updated_"></td>
</tr>
</table>