Skip to content

Commit

Permalink
added more info to "edit" section
Browse files Browse the repository at this point in the history
Ghost-Miner committed Sep 6, 2024
1 parent 674963b commit 3732f3f
Showing 4 changed files with 41 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions misc/how-to-contribute.html
Original file line number Diff line number Diff line change
@@ -349,6 +349,47 @@ <h3> Using a code editor </h3>
</a>
</td>
</tr>

<tr>
<td class="guideStepNumber"> 3 </td>
<td>
<strong>Understanding the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head" target="_blank">&lt;head&gt;</a> section.</strong>
<ol>
<li><strong>Document title</strong> Used for title in browser tabs, search results, embeds, etc. <br>
always include <em> | Thronefall wiki</em> after the page's name. </li>
<li><strong>Short page description</strong> just like <em>&lt;title&gt;</em>, meta description is mostly intended for embeds and search engines <em>(and web crawlers in general)</em>.</li>
<li>Rest of the <em>&lt;head&gt;</em> section is mostly various scripts and libraries.</li>
</ol>
</td>
<td class="imageColumn">
<a href="/assets/images/contrib-guide/edit/document head.png" target="_blank" rel="noopener noreferrer">
<img class="contribGuideImage" src="/assets/images/contrib-guide/edit/document head.png" alt="" srcset="">
</a>
</td>
</tr>

<tr>
<td class="guideStepNumber"> 4 </td>
<td>
<strong>Understanding the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body" target="_blank">&lt;body&gt;</a> section.</strong>
<br> <em>Example images incldue the template file and the file for <a href="/game-content/maps/nordfels.html" target="_blank" rel="noopener noreferrer">Nordfels</a></em>
<ol>
<li>Title that is shown at the top of the page.</li>
<li>All content of the page is put in this section of the document.</li>
<li>Content that will be displed in the right column. Mainly intended for images and the contents menu.</li>
<li>Gallery - A grid of several images. Only used for <a href="/game-content/maps/" target="_blank" rel="noopener noreferrer">Maps</a>.</li>
<ol>
</td>
<td class="imageColumn">
<a href="/assets/images/contrib-guide/edit/document body empty.png" target="_blank" rel="noopener noreferrer">
<img class="contribGuideImage" src="/assets/images/contrib-guide/edit/document body empty.png" alt="" srcset="">
</a>
<br>
<a href="/assets/images/contrib-guide/edit/document body full.png" target="_blank" rel="noopener noreferrer">
<img class="contribGuideImage" src="/assets/images/contrib-guide/edit/document body full.png" alt="" srcset="">
</a>
</td>
</tr>
</tbody>
</table>
</article>

0 comments on commit 3732f3f

Please sign in to comment.