Difference between revisions of "Help:FAQ"

From USAFA Rugby Alumni
Jump to: navigation, search
m (added info on how to create a new page/article in the wiki)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
'''Frequently Asked Questions About Inputting Information into the USAFA Rugby Alumni Wiki'''
 
'''Frequently Asked Questions About Inputting Information into the USAFA Rugby Alumni Wiki'''
 +
===I have a question or need help with putting information on this wiki. Who do I contact?===
 +
Simply click on the "Discussion" tab at the top left of this page and enter your question at the bottom of the text. Please "sign" your question by entering four tidldas (<nowiki>~~~~</nowiki>) at the end of the question like is shown below. Click the "Save page" button at the bottom of the page. One of the wiki administrators will answer your question.
 +
What you type in:<pre>I have a question can you help please?~~~~
 +
:Yes, here is your answer.~~~~
 +
</pre>
 +
 +
What is displayed:
 +
 +
I have a question can you help please?[[User:Twhayes|Twhayes]] ([[User talk:Twhayes|talk]]) 03:21, 7 March 2014 (PST)
 +
:Yes, here is your answer.[[User:Twhayes|Twhayes]] ([[User talk:Twhayes|talk]]) 03:21, 7 March 2014 (PST)
 +
 +
 
===How do I embed a picture/image?===
 
===How do I embed a picture/image?===
 
The wikitext syntax for displaying an image is:
 
The wikitext syntax for displaying an image is:
Line 12: Line 24:
 
Images can be tricky to place correctly. Best way is to experiment with the various options found 1n the [http://www.mediawiki.org/wiki/Help:Images MediaWiki Documentation on Images].
 
Images can be tricky to place correctly. Best way is to experiment with the various options found 1n the [http://www.mediawiki.org/wiki/Help:Images MediaWiki Documentation on Images].
  
 +
===How do I upload files (a Word document, PDF document, or picture/image)?===
 +
The easiest way to upload any type of file is to insert the standard syntax for displaying a link to a document or displaying an image. For example, 
 +
<nowiki>[[</nowiki>File:''filename.extension''|''options''|''caption'']]
 +
 +
Once you've entered the syntax on your page, click the ''Show preview'' button at the bottom of the page. The link to the page will show in red like the example below.
 +
[[File:exampleImage.jpg | left]]
 +
 +
Right click on the link to the file and open it in a new tab or new window. You will be taken to the upload page. Follow the instructions there to upload the file. Once you've uploaded the file, return to the original page and click the ''Show preview'' button again. If the file is an image, it should now be displayed. If the file is a document, a link to the file will be displayed.
  
 
===How do I create a table?===
 
===How do I create a table?===
Line 64: Line 84:
  
 
===How do I start a new article?===
 
===How do I start a new article?===
 +
There are two main techniques that most people use to start new articles (or pages) on a wiki.
 +
 +
* Search for the page that you want to create. If the page does not already exist, the first line in the search results will ask if you want to create the page. For example, let's say that the new page you want to create is called "Coaches Corner." When you search for "Coaches Corner," the first line in the search results will say, "Create the page 'Coaches Corner' on this wiki!" The words 'Coaches Corner' will be in red letters, indicating this is a link to a non-existent page. Click on the 'Coaches Corner' to create the page.
 +
 +
* Another technique is to create a link in an existing article to the new page that you want to create and save the change. When you save the change, the link to the new page will be highlighted in red (as above indicating a link to a non-existent page). Click on the link to create the new page. Remember you create a link to another wiki page by placing the page name in double square brackets. For example, to create the page titled 'Coaches Corner,' insert the text <nowiki>[[Coaches Corner]]</nowiki> into an existing page. Save the page. Click on the red link to create the page.
  
 
===What if I mess up an article? Can I undo my edits?===
 
===What if I mess up an article? Can I undo my edits?===
 +
Don't worry if you edit an article and something happens to make the formatting look strange. It is very easy to undo all of the changes that any one has made. Simply click the ''View history'' tab at the top right of the page. This page looks very complicated, but if you just want to revert the page back to where it was before you started making edits, click on the ''(undo)'' link on the right side of the first line where you see you're user name.
 +
 +
One way to avoid having to undo your changes is to use the ''Show preview'' button at the bottom of each page. Before saving any changes, click ''Show preview'' to see what the page will look like.
 +
 +
===How do I remove a box from an existing portal?===
 +
Portals are created using extensive wikitext so you must edit portal main pages with caution. One technique is to use the 'Show preview' button extensively. If you preview your changes to a main portal page and the portal display isn't correct, simply don't save the changes and ask for help.
 +
 +
Main portal pages have code that looks like this:<pre>
 +
<div style="float:left; width:50%;"> <!-- This width added to the the margin below to equal 99%-->
 +
 +
{{:{{FULLPAGENAME}}/box-header|''Team Record''|:{{FULLPAGENAME}}/Team Record|:{{FULLPAGENAME}}/Team Record}}
 +
{{:{{FULLPAGENAME}}/box-footer|}}
 +
 +
{{:{{FULLPAGENAME}}/box-header|''Post Season Experience/Records''|:{{FULLPAGENAME}}/Post Season|:{{FULLPAGENAME}}/Post Season}}
 +
{{:{{FULLPAGENAME}}/box-footer|}}
 +
 +
 +
</div>
 +
</pre>
 +
 +
Each box in a portal is created by two very specific lines of wikitext. You can identify which box is created by each two lines because the first line of the wikitext contains the name of the box that is displayed in the title bar in the portal. For example, the line of code displayed above that contains "Team Record" and the line following it -- <nowiki>{{:{{FULLPAGENAME}}/box-footer|}}</nowiki> -- are the wikitext that will cause the "Team Record" box to be displayed in the portal.
 +
 +
Rather than deleting the wikitext, a better way to remove a portal box is to encapsulate it in comment commands, which causes the code to be ignored. Start a comment with this sequence of characters (<nowiki><!--</nowiki>) and end a comment with this sequence (<nowiki>--></nowiki>).
 +
 +
In the code shown below, the "Post Season Experience/Records" box has been commented out and will not show on the portal page.
 +
<pre>
 +
<div style="float:left; width:50%;"> <!-- This width added to the the margin below to equal 99%-->
 +
 +
{{:{{FULLPAGENAME}}/box-header|''Team Record''|:{{FULLPAGENAME}}/Team Record|:{{FULLPAGENAME}}/Team Record}}
 +
{{:{{FULLPAGENAME}}/box-footer|}}
 +
 +
<!--
 +
{{:{{FULLPAGENAME}}/box-header|''Post Season Experience/Records''|:{{FULLPAGENAME}}/Post Season|:{{FULLPAGENAME}}/Post Season}}
 +
{{:{{FULLPAGENAME}}/box-footer|}}
 +
-->
 +
 +
</div>
 +
</pre>

Latest revision as of 11:32, 24 January 2016

Frequently Asked Questions About Inputting Information into the USAFA Rugby Alumni Wiki

I have a question or need help with putting information on this wiki. Who do I contact?

Simply click on the "Discussion" tab at the top left of this page and enter your question at the bottom of the text. Please "sign" your question by entering four tidldas (~~~~) at the end of the question like is shown below. Click the "Save page" button at the bottom of the page. One of the wiki administrators will answer your question.

What you type in:

I have a question can you help please?~~~~
:Yes, here is your answer.~~~~

What is displayed:

I have a question can you help please?Twhayes (talk) 03:21, 7 March 2014 (PST)

Yes, here is your answer.Twhayes (talk) 03:21, 7 March 2014 (PST)


How do I embed a picture/image?

The wikitext syntax for displaying an image is:

[[File:filename.extension|options|caption]]

Here's an example with more common options filled in:

[[File:fatFredPatch.jpg | frame | 200px | center | Fat Fred Patch]]
Fat Fred Patch

Images can be tricky to place correctly. Best way is to experiment with the various options found 1n the MediaWiki Documentation on Images.

How do I upload files (a Word document, PDF document, or picture/image)?

The easiest way to upload any type of file is to insert the standard syntax for displaying a link to a document or displaying an image. For example,

[[File:filename.extension|options|caption]]

Once you've entered the syntax on your page, click the Show preview button at the bottom of the page. The link to the page will show in red like the example below.

Right click on the link to the file and open it in a new tab or new window. You will be taken to the upload page. Follow the instructions there to upload the file. Once you've uploaded the file, return to the original page and click the Show preview button again. If the file is an image, it should now be displayed. If the file is a document, a link to the file will be displayed.

How do I create a table?

Tables are created using wikitext. Unfortunately, they can't be pasted in from documents or spreadsheets. The wikitext for a basic table is shown below. Basically every table starts with {| and ends with |}. Columns are defined using | and rows are defined using |-. Headers are added to columns by using ! as the delimiter instead of |.


You type You get
{| class="wikitable"
!Opponent
!Score
!Notes
|-
|Denver Barbarians
|23-21
|At USAFA
|-
|CC
|12-0
|
|-
|BYU
|23-25 
|At BYU during Spring Break Trip
|}
Opponent Score Notes
Denver Barbarians 23-21 At USAFA
CC 12-0
BYU 23-25 At BYU during Spring Break Trip

For a complete explanation of tables, see the MediaWiki Documentation on Tables

How do I start a new article?

There are two main techniques that most people use to start new articles (or pages) on a wiki.

  • Search for the page that you want to create. If the page does not already exist, the first line in the search results will ask if you want to create the page. For example, let's say that the new page you want to create is called "Coaches Corner." When you search for "Coaches Corner," the first line in the search results will say, "Create the page 'Coaches Corner' on this wiki!" The words 'Coaches Corner' will be in red letters, indicating this is a link to a non-existent page. Click on the 'Coaches Corner' to create the page.
  • Another technique is to create a link in an existing article to the new page that you want to create and save the change. When you save the change, the link to the new page will be highlighted in red (as above indicating a link to a non-existent page). Click on the link to create the new page. Remember you create a link to another wiki page by placing the page name in double square brackets. For example, to create the page titled 'Coaches Corner,' insert the text [[Coaches Corner]] into an existing page. Save the page. Click on the red link to create the page.

What if I mess up an article? Can I undo my edits?

Don't worry if you edit an article and something happens to make the formatting look strange. It is very easy to undo all of the changes that any one has made. Simply click the View history tab at the top right of the page. This page looks very complicated, but if you just want to revert the page back to where it was before you started making edits, click on the (undo) link on the right side of the first line where you see you're user name.

One way to avoid having to undo your changes is to use the Show preview button at the bottom of each page. Before saving any changes, click Show preview to see what the page will look like.

How do I remove a box from an existing portal?

Portals are created using extensive wikitext so you must edit portal main pages with caution. One technique is to use the 'Show preview' button extensively. If you preview your changes to a main portal page and the portal display isn't correct, simply don't save the changes and ask for help.

Main portal pages have code that looks like this:

<div style="float:left; width:50%;"> <!-- This width added to the the margin below to equal 99%-->

{{:{{FULLPAGENAME}}/box-header|''Team Record''|:{{FULLPAGENAME}}/Team Record|:{{FULLPAGENAME}}/Team Record}}
{{:{{FULLPAGENAME}}/box-footer|}}

{{:{{FULLPAGENAME}}/box-header|''Post Season Experience/Records''|:{{FULLPAGENAME}}/Post Season|:{{FULLPAGENAME}}/Post Season}}
{{:{{FULLPAGENAME}}/box-footer|}}


</div>

Each box in a portal is created by two very specific lines of wikitext. You can identify which box is created by each two lines because the first line of the wikitext contains the name of the box that is displayed in the title bar in the portal. For example, the line of code displayed above that contains "Team Record" and the line following it -- {{:{{FULLPAGENAME}}/box-footer|}} -- are the wikitext that will cause the "Team Record" box to be displayed in the portal.

Rather than deleting the wikitext, a better way to remove a portal box is to encapsulate it in comment commands, which causes the code to be ignored. Start a comment with this sequence of characters (<!--) and end a comment with this sequence (-->).

In the code shown below, the "Post Season Experience/Records" box has been commented out and will not show on the portal page.

<div style="float:left; width:50%;"> <!-- This width added to the the margin below to equal 99%-->

{{:{{FULLPAGENAME}}/box-header|''Team Record''|:{{FULLPAGENAME}}/Team Record|:{{FULLPAGENAME}}/Team Record}}
{{:{{FULLPAGENAME}}/box-footer|}}

<!--
{{:{{FULLPAGENAME}}/box-header|''Post Season Experience/Records''|:{{FULLPAGENAME}}/Post Season|:{{FULLPAGENAME}}/Post Season}}
{{:{{FULLPAGENAME}}/box-footer|}}
-->

</div>