Pinkpedia:Cheatsheet
Introduction
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
- Adding Badges
- Adding Bullets and Numbers
- Adding Categories
- Adding Columns
- Adding Editors
- Adding Images
- Adding PDF Files
- Adding References
- Adding Templates
- Adding Videos
- Making Links
- Page Under Construction Banner
- Page Under Review Banner
- Adding Citation
Creating a New Page
It is possible to create a new page using Wikitext but before you create a new page on Pinkpedia, 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 Pinkpedia. To create a new page follow the steps below:
https://pinkpedia.org/wiki/Create_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
Pinkpedia Badges are awarded to people who get involved in Pinkpedia and acheive the specific requirements to be awarded a 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 the Pinkpedia 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 Pinkpedia, first find the badge file name:
- go to the Badges page
- 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:
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:
Adding Bullets and Numbers Using Wikitext
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:
- Creating numbered lists
- Is simple
- Makes it easy to read
- 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:
-
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
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
- Scroll to the bottom of the page.
- You can add your category by typing [[Category:xxxxx]] .
For more on this see Adding Categories
Adding Columns Using Wikitext
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">Your Column 1 Line 1 text here<br> line 2 </div> <div class="col-xs-12 col-md-6 col-lg-4">Your Column 2 Line 1 text here<br> line 2 </div> <div class="col-xs-12 col-md-6 col-lg-4">Your Column 3 Line 1 text here<br> line 2 </div> </div>
Your Column 1 Line 1 text here
line 2
Your Column 2 Line 1 text here
line 2
Your Column 3 Line 1 text here
line 2
Adding Editors Using Wikitext
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
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
If you find an image that does not include details of licence type this can be added by following the instructions below:
- Click on the Edit menu and choose Edit Source
- If there are no details you can paste this code {{subst:Template:Image Detail}}
- Click Save the Page! You will now be able to add a Summary to your image as well as licencing information
- Again Click on the Edit menu and choose Edit Source
- Add your summary information
- Choose a template from Licence Templates
- 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
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 Pinkpedia -
Example
is the text that will appear on the Pinkpedia 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 Pinkpedia. 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
To add references in Wikitext follow the steps below:
-
you first need to add the wiki text for citations
Cite error: Invalid
<ref>
tag; invalid names, e.g. too many </nowiki>
- 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
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
Adding videos can only be done by using Edit Source. You can add video to any Pinkpedia 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
Links can also be added by using code when using Edit Source;
- To link to an internal page [[Editing pages|editing pages in Pinkpedia]] displays as editing pages in Pinkpedia
- To link to an external page [Web Address link text] [https://members.physio-pedia.com/my-home/ Physioplus for all your online learning] will display as Physioplus for all your online learning
See making links tutorial for more on this.
Page Under Construction
<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
<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
This page has just shared the most commonly used Wikicode used in Pinkpedia for more tutorials please visit Mediawiki and Wikitext