There’s 2 correct methods of making a wiki page for the Brokeneye Wiki.
I will talk about these in the order I recommend doing them. No matter what, these take time and effort to do.
If you don’t plan to put effort into it, then it's not worth doing.
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
<em></em> (or even less
coding <i></i>)
It stands for Hypertext Markup Language. Thats right, just like Markdown HTML is just a tool for defining formats for text.
Ok! I wrote my HTML! What now?
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.
And this code at the bottom (From Footer.html):
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.
So for example to create a link to template.html all I would need to do is copy the example new page line
(<li><a href="./pages/example.html">Example-Post-Title</a> | Last Edited 12/22/2024</li>)
and
change <a href="./pages/example.html"> to
<a href="./pages/template.html"> then change Example-Post-Title
<a> tag and the end </a> tag. After the </a> tag there is
the “Last Edited 12/22/2024” just simply change that to whatever the date you wrote/updated the article
to.
Right now its 12/22/2024 so thats accurate for me. After following this process my final link
should look like:
<li><a href="./pages/template.html">Template</a> | Last Edited 12/22/2024</li>.
An example of what archive.html should look like AFTER adding your page/article:
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:
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.
So for example to create a link to template.html all I would need to do is copy the example new page line
(<li><a
href="./pages/example.html">Example-Post-Title</a> | Last Edited 12/22/2024</li>) and change <a
href="./pages/example.html"> to
<a href="./pages/template.html"> then change Example-Post-Title to
whatever you set the title of your post to. So in my example template would be the title of my post. The title is
in-between the start <a> tag and the end </a> tag. After the tag there is
the “Last Edited 12/22/2024”
just simply change that to whatever the date you wrote/updated the article to. Right now its 12/22/2024 so
that's currently accurate for me. After following this process my final link should look like:
<li><a href="./pages/template.html">Template</a> | Last Edited 12/22/2024</li>
.
An example of what archive.html should look like AFTER adding your page/article:
DO NOT USE DOCS. Turns out it breaks things 👍.