Difference between revisions of "IGEM Wiki"

From SynBioCyc
Jump to: navigation, search
(Tutorial)
(Adding Images and Files)
Line 42: Line 42:
 
#* If you (or someone else!) uploads a file with the same name, it will overwrite the older version!
 
#* If you (or someone else!) uploads a file with the same name, it will overwrite the older version!
 
# Now edit the Wiki page where you want the file to be linked from or the image displayed.
 
# Now edit the Wiki page where you want the file to be linked from or the image displayed.
#*'''For images''', to display the image embedded in the page add a tag of the form:<pre>[[Image:T--OFFICIAL team name--File_name.xxx | frame | right | Short description of image]]</pre>If the image needs to be resized within your topic page, you can specify to use a thumbnail: <pre>[[Image:T--OFFICIAL team name--File_name.xxx| thumb | left | Short description of image]]</pre> Or a fixed number of pixels for the width: <pre>[[Image:T--OFFICIAL team name--File_name.xxx | thumb | right | 150 px | Short description of image]]</pre> You can can also specify some additional [http://www.mediawiki.org/wiki/Help:Images display options] for images, including adding a border.
+
#*'''For images''', to display the image embedded in the page add a tag of the form:<pre>[[Image:T--OFFICIAL team name--File_name.xxx | frame | right | Short description of image]]</pre>If the image needs to be resized within your topic page, you can specify to use a thumbnail: <pre>[[Image:T--OFFICIAL team name--File_name.xxx| thumb | left | Short description of image]]</pre> Or a fixed number of pixels for the width: <pre>[[Image:T--OFFICIAL team name--File_name.xxx | thumb | right | 150 px | Short description of image]]</pre>Or one that is inline rather than floating around your text: <pre>[[Image:T--OFFICIAL team name--File_name.xxx | none | Short description of image]]</pre>  You can can also specify some additional [http://www.mediawiki.org/wiki/Help:Images display options] for images, including adding a border.
 
#*'''For files''', you can link to the file using this Wiki markup:<pre>[[Media:T--OFFICIAL team name--File_name.xxx | Name of link to your file]]</pre>It will link to the page which gives details about the file (when it was uploaded, its size, etc.) instead of directly to the file, if you use this syntax:<pre>[[File:T--OFFICIAL team name--File_name.xxx | Name of link to your file]]</pre>
 
#*'''For files''', you can link to the file using this Wiki markup:<pre>[[Media:T--OFFICIAL team name--File_name.xxx | Name of link to your file]]</pre>It will link to the page which gives details about the file (when it was uploaded, its size, etc.) instead of directly to the file, if you use this syntax:<pre>[[File:T--OFFICIAL team name--File_name.xxx | Name of link to your file]]</pre>
  

Revision as of 15:40, 7 June 2019

Your team page: https://2019.igem.org/Team:Austin_UTexas

Resources/Cheatsheets

Creating a New Page

Your pages must be named in this format: Team:Austin_UTexas/PageName

You are allowed to categorize things by adding extra slashes to the name like this: Team:Austin_UTexas/CategoryName/PageName

The easiest way to create a new page is to create a link (on another page) and then click on that link to edit the new page. To do this, you can edit a page to contain a link in one of these two ways:

[[Team:Austin_UTexas/PageName]]
[[Team:Austin_UTexas/PageName | Link text that you want to display rather than page name]]

If you want the new page to show up in the menu, you need to edit the template.

If you "lose" a page and can't find it via a link by know the name, just type a URL of this form in your browser:

https://2019.igem.org/Team:Austin_UTexas/PageName

External Links

There is a different format for linking to pages outside of the Wiki:

[https://mediawiki.org MediaWiki]

You can find more examples here.

Adding Images and Files

  1. First click the "Upload files" link in the toolbar under "wiki tools" and upload your file or image.
    • important! Your images and files must have a "Destination filename" of the form T--OFFICIAL team name--File_name.xxx.
    • If you (or someone else!) uploads a file with the same name, it will overwrite the older version!
  2. Now edit the Wiki page where you want the file to be linked from or the image displayed.
    • For images, to display the image embedded in the page add a tag of the form:
      [[Image:T--OFFICIAL team name--File_name.xxx | frame | right | Short description of image]]
      If the image needs to be resized within your topic page, you can specify to use a thumbnail:
      [[Image:T--OFFICIAL team name--File_name.xxx| thumb | left | Short description of image]]
      Or a fixed number of pixels for the width:
      [[Image:T--OFFICIAL team name--File_name.xxx | thumb | right | 150 px | Short description of image]]
      Or one that is inline rather than floating around your text:
      [[Image:T--OFFICIAL team name--File_name.xxx | none | Short description of image]]
      You can can also specify some additional display options for images, including adding a border.
    • For files, you can link to the file using this Wiki markup:
      [[Media:T--OFFICIAL team name--File_name.xxx | Name of link to your file]]
      It will link to the page which gives details about the file (when it was uploaded, its size, etc.) instead of directly to the file, if you use this syntax:
      [[File:T--OFFICIAL team name--File_name.xxx | Name of link to your file]]

Tutorial

1. Create a new "sandbox" page based on your name. We won't link it anywhere, so just type this in your browser:

https://2019.igem.org/Team:Austin_UTexas/YourName

The page shouldn't exist to click "edit page".

2. Add an internal link to your neighbor's page and another link to the main page (it's called "Team:Austin_UTexas").

3. Add an external link to some other website!

4. Add an image to your page (be sure it's appropriate and not copyrighted!)

Name your image in this way to avoid any conflicts with other people's images.

T--Austin_UTexas--YourName_FileName

If you don't have your own image, use this one (right click to download it to your computer first):

Example image you can use

5. Finally, discuss how you will keep page names and file names organized. I recommend making a directory on UT Box that contains all files uploaded to the Wiki.