Wiki Cheat Sheet

Original Editor - Kim Jackson Top Contributors - Kim Jackson

Introduction[edit | edit source]

If you wish to make more complicated edits to the page you might want to delve into the Source Code (also known as wiki text). You can access this by either clicking on Edit Source under the Edit drop down menu or by clicking the [[ ]] in the Editing Toolbar. See the mediawiki site for more help editing the source code.

Creating a New Page[edit | edit source]

It is possible to create a new page using Wikitext but before you create a new page on Physiopedia, it is IMPORTANT to make sure that you search the site for existing pages relating to your new topic. For more on creating pages see Create a New Page In Physiopedia. To create a new page follow the steps below:

https://www.physio-pedia.com/Create_new_page

<div class="noeditbox">This page is currently undergoing work, but please come back later to check out new information!</div>

<div class="editorbox">'''Original Editor '''- Your name will be added here if you created the original content for this page.

'''Top Contributors''' - {{Special:Contributors/{{FULLPAGENAME}}}}</div>

== Introduction ==

== Sub Heading 2 ==

== Sub Heading 3 ==

== Resources ==

*bulleted list

or

#numbered list

or

#* bullets and numbers

== References ==

<references />

Template:

Adding Badges Using Wikitext[edit | edit source]

Physiopedia Badges are awarded to people who get involved in Physiopedia and acheive the specific requirements to be awarded a each badge. To see the specific requirements for each badge go to the badges page and click on each badge image to find out more information about that badge. You may only add a badge if you have received it as an award by Physiopedia the administration team. Read more about adding badges

To use wikitext you need to use the edit source option under the edit menu or the [[ ]] on the right side of the toolbar. To add the badge image which has already been uploaded to Physiopedia, first find the badge file name:

  1. go to the Badges page
  2. click on the badge you have been awarded, it will open in a new page and the name of that badge is shown at the top of the page, for example:
File:Yellow-belt.png

Next add this badge, for example, to include a 'Yellow Belt' badge, you'd enter:

[[Image:Yellow-belt.png|100px]] 

Which would give:

Yellow-belt.png

If you have been awarded multiple badges you can add them side by side.  To do this you will need to use columns, like this:

div class="row">  
 <div class="col-md-2"> [[Image:Yellow-belt.png|100px]]</div>
  <div class="col-md-2"> [[Image:Yellow-belt.png|100px]]</div>
  <div class="col-md-2"> [[Image:Yellow-belt.png|100px]]</div>
  <div class="col-md-2"> [[Image:Yellow-belt.png|100px]]</div>
</div>

Which would look like this:

Yellow-belt.png
Yellow-belt.png
Yellow-belt.png
Yellow-belt.png

Adding Bullets and Numbers Using Wikitext[edit | edit source]

When displaying lists you can use either numbers, bullets or both. This is really easy to format in Edit Source:
To produce a numbered list

#Creating numbered lists
#Is simple
#Makes it easy to read
#Long lists of information

Would look like this:

  1. Creating numbered lists
  2. Is simple
  3. Makes it easy to read
  4. Long lists of information

To produce a bulleted list

*Creating bulleted lists
*Is simple
*Makes it easy to read
*Long lists of information

Would look like this:

  • Creating bulleted lists
  • Is simple
  • Makes it easy to read
  • Long lists of information

To combine numbers and bullets in a list

#Creating lists that combine numbers and bullets
#*Is simple
#*And makes it easy to read long lists
#This is really useful
#*For lists that includes sub lists 

Would look like this:

  1. Creating lists that combine numbers and bullets
    • Is simple
    • And makes it easy to read long lists
  2. This is really useful
    • For lists that includes sub lists

To create a bulleted list with sub bullets

*Creating lists that combine use bullets with indented bullets
**Is simple
**And makes it easy to read long lists
*This is really useful
**For lists that includes sub lists 

Would look like this:

  • Creating lists that combine use bullets with indented bullets
    • Is simple
    • And makes it easy to read long lists
  • This is really useful
    • For lists that includes sub lists

Adding Categories Using Wikitext[edit | edit source]

  1. Scroll to the bottom of the page.
  2. You can add your category by typing [[Category:xxxxx]] .

For more on this see Adding Categories

Adding Columns Using Wikitext[edit | edit source]

If you need to add responsive columns the best way to do this is by using "grids". Each grid is divided into 12 and xs (small screen); med (medium screen); lg (large screen). So to create 3 even columns on a page each column would = 4 4 4; an example of 2 large columns and one small column =5 5 2. To use columns to add images to a page see Adding Badges above.

<div class="flex-row row">
<div class="col-xs-12 col-md-6 col-lg-4">You would Column 1  Line 1 text here<br>
line 2 
</div>
<div class="col-xs-12 col-md-6 col-lg-4">You would Column 2  Line 1 text here<br>
line 2 
</div>
<div class="col-xs-12 col-md-6 col-lg-4">You would Column 3  Line 1 text here<br>
line 2 
</div>
</div>
You would Column 1 Line 1 text here

line 2

You would Column 2 Line 1 text here

line 2

You would Column 3 Line 1 text here

line 2

Adding Editors Using Wikitext[edit | edit source]

Paste the following text at the top of the page:

<div class="editorbox"> '''Original Editor '''- [[User:User Name|User Name]] '''Top Contributors''' - {{Special:Contributors/{{FULLPAGENAME}}}}</div>


Replace "User Name" with the username of the person that first created the page. If you are not sure who this is look at the History of the page (in the Edit drop down list) and go back to see who made the very first contributions to the page. You do not need to edit anything else, the top contributors are automatically added.
For more on adding editors see Adding Editors

Adding Images Using Wikitext[edit | edit source]

To add an image add the code below - you can change the size and location by adding information to the wiki code:

  • Frameless image - [[Image:imagename.jpg]]
  • Thumbnail - "'[[Image:imagename.jpg]|thumb]
  • Change the size [[Image:imagename.jpg|15ox150px]]
  • Change the position on the page [[Image:imagename.jpg|center]]

For more help on uploading and styling your images see Adding images or the mediawiki help page on uploading images.

Adding or Changing Licence Information[edit | edit source]

If you find an image that does not include details of licence type this can be added by following the instructions below:

  1. Click on the Edit menu and choose Edit Source
  2. If there are no details you can paste this code {{subst:Template:Image Detail}}
  3. Click Save the Page! You will now be able to add a Summary to your image as well as licencing information
  4. Again Click on the Edit menu and choose Edit Source
  5. Add your summary information
  6. Choose a template from Licence Templates
  7. Click on the appropriate licence description, you can then copy and paste the template name into the document {{Template:XXXX}}

See Adding Images tutorial

Adding PDF Files Using Wikitext[edit | edit source]

Add the following code where you want the link to the PDF file to appear: {{pdf|example.pdf|Example}}

  • Where:
    • example.pdf is the name of the file that was uploaded to Physiopedia
    • Example is the text that will appear on the Physiopedia page as a link to the PDF.

Please remember that you must have permission from the creator of the PDF document to upload it to Physiopedia. If you don't have permission, find the document that you wish to use on the web and make an external link to this.
For more see Adding PDF Files

Adding References Using Wikitext[edit | edit source]

To add references in Wikitext follow the steps below:

  1. you first need to add the wiki text for citations <ref name=
  2. choose a logical name for the reference i.e. ":0" or ":cite1" or ":authorname"
  3. then enter details of the citation to appear
  4. the final step is to add the closing statement </ref>
  • First occurrence of citation - <ref name=":0">Citation.</ref>
  • Following citations by the same author - <ref name=":0" />'''

Note: Each new citation must have a unique reference name See adding references tutorial for more information

Adding Templates Using Wikitext[edit | edit source]

On an existing page, in Edit Source paste the following text:

{{subst:Template Name}} into the text entry box. For example, for a condition page you would insert {{subst:Condition}}.
See adding templates tutorial for more information

Add Videos Using Wikitext[edit | edit source]

Adding videos can only be done by using Edit Source. You can add video to any Physiopedia page as long as it has been uploaded to a video sharing service, such as YouTube or Vimeo first.

Add the following code to the page where you want the video to appear:

  • {{#ev:service|id}} -or-
  • {{#ev:service|id|width}}

Where:

  • id is the id of the video to include (id can be found in the URL on the video's page in YouTube) for example, https://www.youtube.com/watch?v=dMH0bHeiRNg where the bit in bold is the id.
  • service service is the name of a video sharing service (the following video sharing services are supported: Vimeo, YouTube)
  • width (optional) is the width in pixels of the viewing area (height will be determined automatically)

For example, to include the famous "evolution of dance" YouTube video, you'd enter:

{{#ev:youtube|dMH0bHeiRNg}}

Which would give:


If you wish to add two videos side by side you will need to use columns like this:

<div class="row">
  <div class="col-md-6"> {{#ev:youtube|dMH0bHeiRNg|250}} </div>
  <div class="col-md-6"> {{#ev:youtube|dMH0bHeiRNg|250}} </div>
</div>

Which would look like this:


To reference the video, you would add:

{{#ev:youtube|id|width}}<ref>reference</ref> 

Where: reference is the reference for the video (which will automatically appear at the bottom of the saved page)


See this tutorial for more options on adding videos

Making Links Using Wikitext[edit | edit source]

Links can also be added by using code when using Edit Source;


See making links tutorial for more on this.

Page Under Construction[edit | edit source]

<div class="noeditbox"> This article or area is currently under construction and may only be partially complete. Please come back soon to see the finished work! ({{REVISIONDAY}}/{{REVISIONMONTH}}/{{REVISIONYEAR}}) </div>

Page Under Review[edit | edit source]

<div class="noeditbox"> ==Page Under Review== This article is currently under review and may not be up to date. Please come back soon to see the finished work! ({{REVISIONDAY}}/{{REVISIONMONTH}}/{{REVISIONYEAR}}) </div>

Find Out More[edit | edit source]

This page has just shared the most commonly used Wikicode used in Physiopedia for more tutorials please visit Mediawiki and Wikitext