Changes

3,374 bytes added ,  01:36, 13 September 2021
m
no edit summary
Line 1: Line 1: −
==Text Formattting==
+
Most of what can be done below can be done easier in the regular editor as opposed to Edit Source.
 +
 
 +
==Text Formatting==
 
This is how you format text with the source editor. You can do most of this with normal editor.
 
This is how you format text with the source editor. You can do most of this with normal editor.
−
  '''Italics'''
+
  '''<big>Italics</big>'''
 
<nowiki>''</nowiki>Word<nowiki>''</nowiki> = ''word''
 
<nowiki>''</nowiki>Word<nowiki>''</nowiki> = ''word''
    
Two apostrophe on each side.
 
Two apostrophe on each side.
−
  '''Bold'''
+
  '''<big>Bold</big>'''
 
<nowiki>'''</nowiki>Word<nowiki>'''</nowiki> = '''word'''
 
<nowiki>'''</nowiki>Word<nowiki>'''</nowiki> = '''word'''
    
Three apostrophe on each side.
 
Three apostrophe on each side.
−
  '''Bold & Italic'''
+
  '''<big>Bold & Italic</big>'''
 
'<nowiki>'''</nowiki>Word'<nowiki>'''</nowiki> = '''''word'''''
 
'<nowiki>'''</nowiki>Word'<nowiki>'''</nowiki> = '''''word'''''
    
Four apostrophe on each side.
 
Four apostrophe on each side.
−
  '''No Wiki Markup'''
+
  '''<big>No Wiki Markup</big>'''
 
<nowiki> <nowiki>''markup''</nowiki> </nowiki> = <nowiki>''markup''</nowiki>
 
<nowiki> <nowiki>''markup''</nowiki> </nowiki> = <nowiki>''markup''</nowiki>
   −
Four apostrophe on each side.
+
Negates any formatting you put in.
 
==Section Formatting==
 
==Section Formatting==
 +
'''<big>Headings</big>'''
 +
<nowiki>==Section Level 2==</nowiki>
 +
 +
<nowiki>===Section Level 3===</nowiki>
 +
 +
etc.
 +
 +
The headings divide the sections of the wiki, examples being the "Text Formatting" and "Section Formatting" headers for this page. It goes down to Level 6 with six (======) on each side. Having more than 3 headings on a page will auto-generate a table of contents.
 +
 +
'''<big>Divider Lines</big>'''
 +
<nowiki>----</nowiki> makes the below line.
 +
----
 +
'''<big>Bullet Points & Lists</big>'''
 +
You can start a bullet point or numbered list with a * or # respectivly.
 +
* List
 +
# List
 +
Would be
 +
 +
<nowiki>*</nowiki> List
 +
 +
<nowiki>#</nowiki> List
 +
 +
Adding more * or #s would indent it further in.
 +
 +
<nowiki>*</nowiki> List
 +
 +
<nowiki>**</nowiki> Moar indent
 +
 +
Like this
 +
* List
 +
** Moar indent
 +
 +
If you try to do ** or more without having the first * of the list it will look like
 +
** This
 +
<big>You can also do Definition lists like this</big>
 +
 +
<nowiki>;</nowiki>item 1
 +
 +
<nowiki>:</nowiki> definition 1
 +
 +
<nowiki>;</nowiki>item 2
 +
 +
<nowiki>:</nowiki> definition 2-1
 +
 +
<nowiki>:</nowiki> definition 2-2
 +
 +
;item 1
 +
: definition 1
 +
;item 2
 +
: definition 2-1
 +
: definition 2-2 <br />All of these list types should work together. See [[mediawikiwiki:Help:Lists|here]] for more on lists.
 +
'''<big>Indents</big>'''
 +
<nowiki>: Makes an indent</nowiki>
 +
:Indent
 +
::Double indent with two (:: and a space after it)
 +
More colons indent it further.
 +
 +
==HTML Tagging==
 +
'''<big>Preformatted text</big>'''
 +
Aka this block ^
 +
 +
Can be done by typing a space at the beginning of a line or by
 +
 +
<nowiki><pre> This </pre></nowiki>
 +
<pre> This </pre>
 +
 +
Regular text formatting like Bold, italics, etc works inside of this.
 +
 +
'''<big>Underline and Strikethrough</big>'''
 +
<nowiki><ins>Text</ins></nowiki> or <nowiki><u>Text</u></nowiki> will make this:
 +
 +
<u>Text </u>.
 +
 +
<nowiki><del>Text</del></nowiki> or <nowiki><s>Text</s></nowiki> will make this:
 +
 +
<s>Text</s>
 +
<big>'''Quotes'''</big>
 +
<nowiki><q>Quote</q></nowiki>
 +
 +
<q>Quote</q>
 +
 +
This does nothing special besides adding quotation marks to the text, so I would just use them normally instead of the extra code.
 +
<big>'''Source Comments'''</big>
 +
<nowiki><!-- This is a comment --> </nowiki>
 +
 +
Adding the <nowiki><!--</nowiki> and ending it with a > makes a comment that only page editors can see when using the "Edit Source" button.
 +
 +
==Symbols==
 +
Symbols can be added with HTML formatting, using [[wikipedia:List_of_XML_and_HTML_character_entity_references|this]] Wikipedia page to get the symbol name from the "Names" Category on the table there.
 +
 +
&amp;copy; would make this symbol : &copy;
 +
 +
All you need is &symbolname; (and symbol, the symbol name, and a semicolon).
 +
 +
==Tables==
 +
They made a better [[mediawikiwiki:Help:Tables|tutorial]] than one I can write.
 +
===Navboxes and Infoboxes===
 +
Copy and edit the values from the code on these pages.
 +
Infobox Template: [https://wiki.machinamaincluster.com/index.php/Template:Infobox/Queen Page] (Ignore everything under the comment in Source edit.
 +
 +
Navbox Template: [https://wiki.machinamaincluster.com/index.php/Template:Machina Page] (This is just to show how it is formatted, to make your own you will need to make a page called Template:Navboxname and format it like this one.)