HowTo
This page goes over some of the needed information on how to add/edit content.
Account
To be able to add or edit any content on this webpage you must have a verified account with us. Click on the Request account link and enter the information requested. You must provide your name and email so we can verify who you are.
Creating a Page
To create a page:
- Put jointmechanics.org/index.php/(Page Title) into your address bar.
- This does not have to match the title of the displayed page
- Use something simple for yourself to remember at first.
- use the underscore _ for space
- Once on Page if it does not exist click Create Source
- To make title that does not match URL add the following to the top of the edit source.
{{DISPLAYTITLE:(your title)}}
- Format your page and add Content
Some Format Options
Level 1 is title
== Level 2 == === Level 3 === ==== Level 4 ==== ===== Level 5 ===== ====== Level 6 ====== <u>Underline</u> ''italic'' '''bold''' '''''bold & italic'''''
Lists and other Formats found https://www.mediawiki.org/wiki/Help:Formatting
Adding Content not text
Math
<math> (Latex equation using amsmath package syntax)</math>
sample
<math> \frac{\epsilon}{\Omega_{24409}}</math>
Results:
Image Insert
To insert an image
- Upload the file using the [Special:Upload|File Upload] link in the sidebar
- Give image some simple name not used already
- Use the following code to display image
[[File:(your image name)|(pixel width)px|(location)|(mouse hover text)]]
example of image above:
[[File:CreatePage3.png|800px|center|Location of Create Page Link]]
More Help Found Here: https://www.mediawiki.org/wiki/Help:Images
To include PDF
To embed a PDF
- Get URL link
- Use Following Code
{{#widget:PDF |url = (web address) |width = (750 Portrait, 960 Landscape) Optional |height = (1000 Protrait, 680 Landscape) Optional (use a 1.41 ratio of width and height) }}
Example:
For documents on Google Drive, you will need to do some editing
- Right Click on the PDF
- Select Get Link
- Copy the link
- Paste this link in the
URL
section of the above - Delete view?usp=sharing
- Replace with preview
Example:
Copied Link
https://drive.google.com/file/d/1znqIOorLLLtFnW5LM7rM5OiPylJcjCwW/view?usp=sharing
Editted Link
https://drive.google.com/file/d/1znqIOorLLLtFnW5LM7rM5OiPylJcjCwW/preview
To Include Youtube Video
You can embed YouTube Videos into the page.
You will need:
- Youtube Video ID, or
- Playlist ID
The ID is the Alpha-Numeric part at the end of the URL
Here is an example using Matt Allen's May 2021 Seminar
URL: https://www.youtube.com/watch?v=zWkxSd7zFHM
Code needed:
{{#widget:Youtube |id = (video ID) | height = | width = }}
Example:
{{#widget:Youtube |id = zWkxSd7zFHM | height = 444 | width = 790 }}