Help:Basics of Editing: Difference between revisions
Tristan1117 (talk | contribs) No edit summary |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 91: | Line 91: | ||
Repeat that as many times as you need to, what could be easier? | Repeat that as many times as you need to, what could be easier? | ||
== | ==Lesson #5 - Flag Links== | ||
Okay, so you've got your templates all typed out. All the driver info is there, your stats are in order and you are about to press "save page". But wait! You've forgotten to put a flag! Oh noes! How do I put that in, you ask? Well, its usually quite simple. All of the mini-flags that we use on the F1 Rejects Alternate Championships Wiki have been uploaded onto the great file dump in the sky. To insert a flag, you must link to the flag (refer to Lesson #1 to learn how to link) in order for it to appear. Generally, all the flag links follow a simple format: | Okay, so you've got your templates all typed out. All the driver info is there, your stats are in order and you are about to press "save page". But wait! You've forgotten to put a flag! Oh noes! How do I put that in, you ask? Well, its usually quite simple. All of the mini-flags that we use on the F1 Rejects Alternate Championships Wiki have been uploaded onto the great file dump in the sky. To insert a flag, you must link to the flag (refer to Lesson #1 to learn how to link) in order for it to appear. Generally, all the flag links follow a simple format: | ||
Line 125: | Line 125: | ||
If you type that in without the extra period, the [[File:Flag of Finland.svg.png]] flag will not show up when you save the page. If all else fails, the users of the wiki may not have uploaded your flag yet. If you don't know how to upload a flag, just post on the [[Talk:Main Page]] discussion page and someone will respond to your request. | If you type that in without the extra period, the [[File:Flag of Finland.svg.png]] flag will not show up when you save the page. If all else fails, the users of the wiki may not have uploaded your flag yet. If you don't know how to upload a flag, just post on the [[Talk:Main Page]] discussion page and someone will respond to your request. | ||
===Updated Flag System=== | |||
However, a new system for flag linkage has been adopted that is bot quicker and easier than what is described above. Simply type the IOC code for a country in two curly braces (template link) like so, and the flag will appear like before. Normal brackets will not work. So, for instance, for the Flag of the United Kingdom, | |||
{| style="float: bottom;" | |||
| | |||
<pre> | |||
<nowiki> | |||
{{GBR}} | |||
</nowiki> | |||
</pre> | |||
{{GBR}} will be generated. Please note the old system will still work, but it is recommended to use this system for all new wiki pages. |
Latest revision as of 08:01, 12 November 2016
So, you're brand new to wiki editing, you haven't a clue how to link pages, add headers, create line breaks or put in some bullet points. Don't panic! Coding and editing pages looks pretty scary at first sight, but once you start to become familiar with different actions, it all looks rather simple. So that's what this page will do - guide you through a few simple actions that will allow you to go and do some basic editing of you driver's profile or a race report. Let's go!
Lesson #1 - creating links
One of the most fundamental parts of any wiki is the links on its pages. These bind everything together and make the wiki a single structure. If you create a page that has no links in it, and no other pages link to it, it is known as an "orphan" - i.e. it is isolated, and unable to be seen by people navigating around the wiki. Therefore, when you create a page, it's imperative that another page has a link to it!
But how do you actually create a link? Here's how.
Let's take a piece of text from the F1RWRS team, Prospec's page:
Pemberton Prospec Racing or Prospec is a British racing team, one of the most successful in F1RWRS history. The team won the first two F1RWRS Constructors' Championships as well as a Drivers' Championship with Nathanael Spencer in 2011.
Within that, there are a number of links to other pages, the blue text. Clicking on them takes you to other pages within the wiki. Let's take a section of that text and see what it looks like as it appears in the editing area:
The team won the first two F1RWRS Constructors' Championships as well as a Drivers' Championship with [[Nathanael Spencer]] Nathanael Spencer is one of the pages linked to on the Prospec page and is done so by adding two squared brackets either side of his name, as you can see in the code above. When adding a link like this, you must make sure that the name of the page you want to link to is identical to the one in the text, even down to the capitalisation of letters. For example if we tried to link nathanael spencer, it wouldn't work, hence the red text. Often however a page's name is too long and doesn't fit in well with flowing text. In these instances it may be more preferable to have an abbreviation, or shorten the name of a team for example. Using the excerpt from the Prospec page again,
|