HowTo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 15: | Line 15: | ||
</ol> | </ol> | ||
<li> Once on Page if it does not exist click Create Source</li> | <li> Once on Page if it does not exist click Create Source</li> | ||
[[File:CreatePage3.png|800px|center| | [[File:CreatePage3.png|800px|center|Location of Create Page Link]] | ||
<li> To make title that does not match URL add the following to the top of the edit source.<pre>{{DISPLAYTITLE:(your title)}}</pre></li> | <li> To make title that does not match URL add the following to the top of the edit source.<pre>{{DISPLAYTITLE:(your title)}}</pre></li> | ||
<li> Format your page and add Content </li> | <li> Format your page and add Content </li> | ||
| Line 55: | Line 55: | ||
# Give image some simple name not used already | # Give image some simple name not used already | ||
# Use the following code to display image | # Use the following code to display image | ||
<pre>[[File:(your image name)|(pixel width)px|(location)|( | <pre>[[File:(your image name)|(pixel width)px|(location)|(mouse hover text)]]</pre> | ||
example of image above: | example of image above: | ||
<pre>[[File:CreatePage3.png|800px|center| | <pre>[[File:CreatePage3.png|800px|center|Location of Create Page Link]]</pre> | ||
===To include PDF=== | ===To include PDF=== | ||
To embed a PDF | |||
# Get URL link | |||
# Use Following Code | |||
<pre> | |||
{{#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) | |||
}} | |||
</pre> | |||
Example: | |||
<pre> | |||
{{#widget:PDF | {{#widget:PDF | ||
|url =https://drive.google.com/file/d/ | |url = https://drive.google.com/file/d/1znqIOorLLLtFnW5LM7rM5OiPylJcjCwW/preview | ||
|width = 750 | |||
|height = 1000 | |||
}} | }} | ||
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: | |||
Copied Link | |||
<nowiki>https://drive.google.com/file/d/1znqIOorLLLtFnW5LM7rM5OiPylJcjCwW/<s>view?usp=sharing</s></nowiki> | |||
Editted Link | |||
<nowiki>https://drive.google.com/file/d/1znqIOorLLLtFnW5LM7rM5OiPylJcjCwW/<ul>preview</ul></nowiki> | |||
=== To Include SVG=== | === To Include SVG=== | ||
=== To Include Youtube Video=== | === To Include Youtube Video=== | ||
Revision as of 08:13, 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
- 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
- Get URL link
- Use Following Code

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
[[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
{{#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 theURLsection of the above # Delete view?usp=sharing # Replace with preview Example: Copied Link https://drive.google.com/file/d/1znqIOorLLLtFnW5LM7rM5OiPylJcjCwW/<s>view?usp=sharing</s> Editted Link https://drive.google.com/file/d/1znqIOorLLLtFnW5LM7rM5OiPylJcjCwW/<ul>preview</ul>To Include SVG
To Include Youtube Video