HowTo: Difference between revisions
No edit summary |
No edit summary |
||
| Line 71: | Line 71: | ||
</pre> | </pre> | ||
Example: | Example: | ||
{{#widget:PDF | {{#widget:PDF | ||
|url = https://drive.google.com/file/d/1znqIOorLLLtFnW5LM7rM5OiPylJcjCwW/preview | |url = https://drive.google.com/file/d/1znqIOorLLLtFnW5LM7rM5OiPylJcjCwW/preview | ||
| Line 79: | Line 79: | ||
For documents on Google Drive, you will need to do some editing | 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 <code>URL</code> section of the above | |||
# Delete view?usp=sharing | |||
# Replace with preview | |||
Example: | Example: | ||
Copied Link | Copied Link | ||
Revision as of 08:20, 10 May 2021
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]]
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
URLsection 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