This is pretty simple. All you really need to do is look at the template for new pages. You can follow this guide for html stuff, but you can pretty much figure everything out from the template and this cheatsheet.
Not convinced HTML is the way? Here’s some more info.
h1 is biggest, h2 is second biggest, h3 third, and so on.
Italics is as easy as putting \\ (or even less coding \\)around the text. HTML is super simple
like this and isn’t even technically a coding language. It stands for Hypertext Markup Language. Thats right, just
like Markdown HTML is just a tool for defining formats for text.
Now that your HTML is complete we need to add the header and footer to it. This allows consistency through the
website adding things like the navigation bar (Shown below) and the credits.
So how do I add it? Just paste in this code at the top:
| \<!DOCTYPE html>\
\ \ |
|---|
And this code at the bottom:
| \\ |
|---|
Now make sure your file is saved under /project-cyber/pages/your-page-title.html . Now we need to make it so your page is accessible by everyone. Open /Brokeneye-wiki/Project-Cyber/archive.html and fill out the information to add a link on archive.html to your new page!
An example of what archive.html should look like BEFORE adding your page/article.
\ \All Wiki Pages\\<!-- Example New Page--> *\<!-- \ |
Last Edited 12/22/2024\ --→ \<!-- ADD NEW PAGES AT TOP HERE --→\ |
Last Edited 12/22/2024\*\ |
|---|---|---|
So for example to create a link to template.html all I would need to do is copy the example new page line (\
An example of what archive.html should look like AFTER adding your page/article:
\ \All Wiki Pages\\<!-- Example New Page--> *\<!-- \ |
Last Edited 12/22/2024\ --->\<!-- ADD NEW PAGES AT TOP HERE -->*\ |
Last Edited 12/22/2024\\ |
Last Edited 12/22/2024\\ |
|---|---|---|---|
While I CANNOT in good conscience say this is more beneficial than taking the 5 minutes to read about and learn HTML, it's not that far off and converts fairly simply into HTML. If you’re used to Markdown from Discord, Notion, or something else this may make more sense for you. Here's how to do it! Write the markdown however wherever you want BUT instead of doing images through however you would normally do it as outlined here and make sure they’re saved to Brokeneye-wiki/Project-Cyber/images. Once you’re done writing/formatting, convert it to HTML here. Then paste this at the start of what it converted:
| \<!DOCTYPE html>\
\ \ |
|---|
And then this at the end of what it converted:
| \\ |
|---|
Now save it as page-name.html under Brokeneye-wiki/Project-Cyber/pages. Next open archive.html (Located in /Brokeneye-wiki/Project-Cyber/archive.html) and fill out the information to add a link on archive.html to your new page!
An example of what archive.html should look like BEFORE adding your page/article.
\\All Wiki Pages\\<!-- Example New Page--> *\<!-- \ |
Last Edited 12/22/2024\ -->\<!-- ADD NEW PAGES AT TOP HERE -->*\ |
Last Edited 12/22/2024\\ |
|---|---|---|
So for example to create a link to template.html all I would need to do is copy the example new page line (\
An example of what archive.html should look like AFTER adding your page/article:
\ \All Wiki Pages\\<!-- Example New Page--> *\<!-- \ |
Last Edited 12/22/2024\ --->\<!-- ADD NEW PAGES AT TOP HERE -->*\ |
Last Edited 12/22/2024\\ |
Last Edited 12/22/2024\\ |
|---|---|---|---|
###
This way is a little funky and you have to be very specific with it. It's entirely do-able, just not as fluid as the other options. Here’s how to do it:
Make your-title.html (Replace your-title with the title of your page/article) and paste everything you copied from the converter into the file.
Paste this before what it converted:
| \<!DOCTYPE html>\
\ \ |
|---|
| \\ |
|---|
Next open archive.html (Located in /Brokeneye-wiki/Project-Cyber/archive.html) and fill out the information to add a link on archive.html to your new page!
An example of what archive.html should look like BEFORE adding your page/article.
\ \All Wiki Pages\\<!-- Example New Page--> *\<!-- \ |
Last Edited 12/22/2024\ --→ \<!-- ADD NEW PAGES AT TOP HERE --→\ |
Last Edited 12/22/2024\*\ |
|---|---|---|
So for example to create a link to template.html all I would need to do is copy the example new page line (\
An example of what archive.html should look like AFTER adding your page/article:
\ \All Wiki Pages\\<!-- Example New Page--> *\<!-- \ |
Last Edited 12/22/2024\ --->\<!-- ADD NEW PAGES AT TOP HERE -->*\ |
Last Edited 12/22/2024\\ |
Last Edited 12/22/2024\\ |
|---|---|---|---|
Now just commit to the Github Repository and you’re all done!