Contributing to the Wiki: Difference between revisions

→‎Contributing: How to create a wiki account (for now)
m Add guidance for using Global Variables
Line 106: Line 106:


To show <code>&lt;</code> and <code>&gt;</code> in plain text instead of having them interpreted as tags, use <code>&amp;lt;</code> for <code>&lt;</code> and <code>&amp;gt;</code> for <code>&gt;</code>.
To show <code>&lt;</code> and <code>&gt;</code> in plain text instead of having them interpreted as tags, use <code>&amp;lt;</code> for <code>&lt;</code> and <code>&amp;gt;</code> for <code>&gt;</code>.
== Global Variables ==
This code:
<pre>
{{GlobalVariables|memory_limit}}
</pre>
Will display as:
{{GlobalVariables|memory_limit}}


== Other Ways to Help ==
== Other Ways to Help ==


There are many other ways you can help us keep improving. Learn how you can contribute to our community on our [[:How_You_Can_Help|How You Can Help]] page.
There are many other ways you can help us keep improving. Learn how you can contribute to our community on our [[:How_You_Can_Help|How You Can Help]] page.

Revision as of 20:48, 8 March 2025

Contributing

We welcome contributions to our community powered Wiki

Before editing a file, please read our Documentation Style Guide, to help us maintain consistency across user guidance documentation.

Currently, you need to request to have a wiki account created for you. We hope to have self-service wiki account creation implemented soon.

Once you have a wiki account, login to the account, find the file you would like to edit, and then edit it.

Formatting Hints

Use MediaWiki's Text Formatting Guide, their Cheatsheet, and their Image Guide for screenshots.

Headers

Using H2 headers for title sections can be done with the following code:

== Title Section == 

Info

To use an Info code block, use:

{{Info|this is info text}}

Caution

To use a Caution code block, use:

{{Caution|this is Caution text}}

Danger

To use a Danger code block, use:

{{Danger|this is danger text}}

Tables

This code:

{| class="wikitable" style="margin:auto"
|+ style="caption-side:top; |'''Table Caption'''
|-
! Header 1 !! Header 2 !! Header 3
|-
| Cell 1 || Cell 2 || Cell 3
|-
| [https://heliohost.org Link 1] || [https://heliohost.org Link 2] || [https://heliohost.org Link 3]
|}

Will display as:

Table Caption
Header 1 Header 2 Header 3
Cell 1 Cell 2 Cell 3
Link 1 Link 2 Link 3

Code

Inline Code

For inline code, use <code> and </code>

This syntax:

<code>sudo whoami</code>

Will display as:

sudo whoami

Code Blocks

For code blocks, use <pre> and </pre>

This syntax:

<pre>
#!/usr/bin/python3.12
print("Content-Type: text/html\n\n")
print("Heliohost rules!")
</pre>

Will display as:

#!/usr/bin/python3.12
print("Content-Type: text/html\n\n")
print("Heliohost rules!")

Special Characters

To show < and > in plain text instead of having them interpreted as tags, use &lt; for < and &gt; for >.

Global Variables

This code:

{{GlobalVariables|memory_limit}}

Will display as: Template:GlobalVariables

Other Ways to Help

There are many other ways you can help us keep improving. Learn how you can contribute to our community on our How You Can Help page.


This page was last edited on 8 March 2025, at 20:48.