User Tools

Site Tools


info:syntax

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
info:syntax [2021/06/08 03:08]
upstairs
info:syntax [2021/07/03 16:56] (current)
Line 1: Line 1:
 +~~NOTOC~~
 ====== Formatting Syntax ====== ====== Formatting Syntax ======
 +
 +You can use the editing toolbar for most things, though you can format manually if you like.
 +
 +  * [[#Headers]]\\
 +  * [[#Text Effects]]\\
 +  * [[#Links]]\\
 +  * [[#Images]]\\
 +  * [[#Lists & Code Boxes]]\\
 +  * [[#Footnotes]]\\
 +  * [[#Tables]]\\
  
 For a general how-to, see [[.howto|How-To]]. For advanced syntax, see [[:info:syntaxadvanced|Advanced Syntax]]. You can always click "edit page" to check out how other pages work - just remember to hit cancel when you are finished. If you have any questions, feel free to email me at admin atsign recpit.net or contact me through the recpit forums. For a general how-to, see [[.howto|How-To]]. For advanced syntax, see [[:info:syntaxadvanced|Advanced Syntax]]. You can always click "edit page" to check out how other pages work - just remember to hit cancel when you are finished. If you have any questions, feel free to email me at admin atsign recpit.net or contact me through the recpit forums.
Line 5: Line 16:
 ===== Headers ===== ===== Headers =====
  
-%%====== Header ====== (page titles)%%\\ +%%====== Header ====== (page titles)%%\\ 
-%%===== Header ===== (main sections)%%\\ +%%===== Header ===== (main sections)%%\\ 
-%%==== Header ==== (sub-sections)%%\\ +%%==== Header ==== (sub-sections)%%\\ 
-%%=== Header ===%%\\ +%%=== Header ===%%\\ 
-%%== Header ==%%\\+%%== Header ==%%\\
  
-Use a level header for the title of your page. Levels 65, & are displayed in a table of contents box if there are more than three. Including %%~~NOTOC~~%% in the document disables the table of contents.+Use a level header for the title of your page. Levels 12, & are displayed in a table of contents box if there are more than three. Including %%~~NOTOC~~%% in the document disables the table of contents.
  
-===== Text =====+===== Text Effects =====
  
 %%**bold**%%\\ %%**bold**%%\\
Line 40: Line 51:
 %%[[pagename|link text to display]]%% %%[[pagename|link text to display]]%%
  
-Internal Links with Namespaces:+Internal Links with Namespaces (folders, basically):
 %%[[namespace:pagename]]%% %%[[namespace:pagename]]%%
  
Line 48: Line 59:
 ===== Images ===== ===== Images =====
  
-To upload an image, click the "Add Images and other files" button (looks like {{:info:addimage.png?nolink|}}) in the editing toolbar. This brings up a window where you can select from all uploaded files. Since you want to upload your own, use the "Select Files..." button. Click Upload, then click Done. It should now appear in the list of files. You can now choose to add it to the page by clicking on its name.+To upload an image, click the "Add Images and other files" button (looks like {{:info:addimage.png?nolink|}}) in the editing toolbar. This brings up a window where you can select from all uploaded files. Since you want to upload your own, use the "Select Files..." button. Click Upload, then click Done. It should now appear in the list of files. Click on it to add it to the page. Close the window when you're done.
  
-  * You can create custom folders for your files called "namespaces". Add yourfolder: (note the colon) before the name of the selected image, without a space, to add upload it into that folder.+  * You can create custom folders for your files (called "namespaces" in the wiki system). Add **yourfolder:** (note the colon) before the name of the selected image to upload it into that folder, like **yourfolder:yourimage.jpg**. It'll create the folder if it doesn't exist. You can see available folders in the left pane.
  
 External image: External image:
Line 58: Line 69:
 %%{{http://website.com/image.jpg?50}}%% %%{{http://website.com/image.jpg?50}}%%
  
-=== Use Spaces to Align Images: ===+Add mouse-hover caption to image: 
 +%%{{http://website.com/image.jpg|This is the image caption}}%% 
 + 
 +Image with embedding disabled: 
 +%%{{http://website.com/image.jpg?linkonly}}%% 
 + 
 +=== Use spaces on either side of the name to align images: ===
  
 Centered: Centered:
Line 68: Line 85:
 Right aligned: Right aligned:
 %%{{ http://website.com/image.jpg}}%% %%{{ http://website.com/image.jpg}}%%
- 
-Add mouse-hover caption to image: 
-%%{{http://website.com/image.jpg|This is the image caption}}%% 
- 
-Image with embedding disabled: 
-%%{{http://website.com/image.jpg?linkonly}}%% 
  
 ===== Lists & Code Boxes ===== ===== Lists & Code Boxes =====
Line 88: Line 99:
  
 Alternately, you can use the %%<code></code>%% tags. Alternately, you can use the %%<code></code>%% tags.
 +
 ===== Footnotes ===== ===== Footnotes =====
  
Line 95: Line 107:
  
 A number will be placed where the footnote was added while the text will appear at the bottom of the page.((Check it out, footnotes work.)) A number will be placed where the footnote was added while the text will appear at the bottom of the page.((Check it out, footnotes work.))
 +
 +===== Tables =====
 +
 +The easy way to add a table is to use the "Insert a New Table" button in the toolbar. This will bring up the table editor. Right click on the table for extra options. Once done, click Save. The formatted table will be pasted into the main editor. You must hit Save in the main editor to save it permanently.
 +
 +To edit a table already made, there's a little Edit button on the bottom of the table when viewing the article as normal.
info/syntax.1623139727.txt.gz · Last modified: 2021/07/03 16:51 (external edit)