HowTo: Difference between revisions
No edit summary |
(→) |
||
| (32 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
This page goes over some of the needed information on how to add/edit content. | This page goes over some of the needed information on how to add/edit content. | ||
=Account= | ==Account== | ||
To be able to add or edit any content on this webpage you must have a verified account with us. | To be able to add or edit any content on this webpage you must have a verified account with us. | ||
Click on the [[Special:RequestAccount|Request account]] link and enter the information requested. | Click on the [[Special:RequestAccount|Request account]] link and enter the information requested. | ||
You must provide your name and email so we can verify who you are. | You must provide your name and email so we can verify who you are. | ||
=Creating a Page= | ==Creating a Page== | ||
To create a page: | To create a page: | ||
<ol> | |||
<li> Put jointmechanics.org/index.php/(Page Title) into your address bar.</li> | |||
<ol style="list-style-type:lower-alpha"> | |||
<li> This does not have to match the title of the displayed page</li> | |||
<li> Use something simple for yourself to remember at first.</li> | |||
[[File: | <li> use the underscore _ for space</li> | ||
</ol> | |||
<li> Once on Page if it does not exist click Create Source</li> | |||
[[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> Format your page and add Content </li> | |||
</ol> | |||
==Some Format Options== | |||
Level 1 is title | |||
<pre> | |||
== Level 2 == | |||
=== Level 3 === | |||
==== Level 4 ==== | |||
===== Level 5 ===== | |||
====== Level 6 ====== | |||
<u>Underline</u> | |||
''italic'' | |||
'''bold''' | |||
'''''bold & italic''''' | |||
</pre> | |||
Lists and other Formats found https://www.mediawiki.org/wiki/Help:Formatting | |||
==Adding Content not text== | |||
===Math=== | |||
<pre><math> (Latex equation using amsmath package syntax)</math></pre> | |||
sample | |||
<pre><math> \frac{\epsilon}{\Omega_{24409}}</math></pre> | |||
Results: <math> \frac{\epsilon}{\Omega_{24409}}</math> | |||
===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 | |||
<pre>[[File:(your image name)|(pixel width)px|(location)|(mouse hover text)]]</pre> | |||
example of image above: | |||
<pre>[[File:CreatePage3.png|800px|center|Location of Create Page Link]]</pre> | |||
More Help Found Here: https://www.mediawiki.org/wiki/Help:Images | |||
===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: | |||
{{#widget:PDF | |||
|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/</nowiki><s>view?usp=sharing</s> | |||
Editted Link | |||
<nowiki>https://drive.google.com/file/d/1znqIOorLLLtFnW5LM7rM5OiPylJcjCwW/</nowiki><u>preview</u> | |||
=== 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: <nowiki>https://www.youtube.com/watch?v=</nowiki><u>zWkxSd7zFHM</u> | |||
Code needed: | |||
<pre> | |||
{{#widget:Youtube | |||
|id = (video ID) | |||
| height = | |||
| width = | |||
}} | |||
</pre> | |||
Example: | |||
<pre> | |||
{{#widget:Youtube | |||
|id = zWkxSd7zFHM | |||
| height = 444 | |||
| width = 790 | |||
}} | |||
</pre> | |||
{{#widget:Youtube | |||
|id = zWkxSd7zFHM | |||
| height = 444 | |||
| width = 790 | |||
}} | |||
Latest revision as of 08:38, 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]]
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
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
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
}}