Difference between revisions of "Marspedia:Offsite Links In Sidebar"
Line 17: | Line 17: | ||
If you go to that page and click on View Source or Edit (depending on how much we trust you) you will see something like this: | If you go to that page and click on View Source or Edit (depending on how much we trust you) you will see something like this: | ||
− | + | <small> | |
− | <nowiki>** mainpage|mainpage</nowiki><br> | + | <nowiki>*navigation</nowiki><br> |
− | <nowiki>** Special:Categories| | + | <nowiki>**mainpage|mainpage</nowiki><br> |
+ | <nowiki>** Category:Main|Category Tree</nowiki><br> | ||
+ | <nowiki><!-- ** Special:Categories|Category List A-Z --></nowiki><br> | ||
<nowiki>** Index-url|Index</nowiki><br> | <nowiki>** Index-url|Index</nowiki><br> | ||
− | <nowiki>** | + | <nowiki><!-- **portal-url|portal --></nowiki><br> |
− | <nowiki>** | + | <nowiki>** Links_and_Resources-url|Links and Resources</nowiki><br> |
− | <nowiki>** | + | <nowiki><!-- **currentevents-url|currentevents --></nowiki><br> |
− | <nowiki>** helppage|help</nowiki><br> | + | <nowiki>**recentchanges-url|recentchanges</nowiki><br> |
+ | <nowiki>**randompage-url|randompage</nowiki><br> | ||
+ | <nowiki>**helppage|help</nowiki><br> | ||
<nowiki><!-- ** sitesupport-url|sitesupport --></nowiki><br> | <nowiki><!-- ** sitesupport-url|sitesupport --></nowiki><br> | ||
− | <nowiki><!-- ** | + | <nowiki><!-- **Join the Mars Society-url|Join the Mars Society --></nowiki><br><br> |
− | <nowiki>** | + | <nowiki>*Mars Events</nowiki><br> |
− | <nowiki>< | + | <nowiki>**Mars Society Convention-url|Mars Society Convention</nowiki><br><br> |
+ | <nowiki>*Space Events</nowiki><br> | ||
+ | <nowiki>**ISDC-url|ISDC 2007</nowiki><br> | ||
+ | </small> | ||
Well, you see there where it says | Well, you see there where it says | ||
− | + | <nowiki>**ISDC-url|ISDC 2007</nowiki><br> | |
that's what you need to put in. | that's what you need to put in. | ||
Revision as of 22:51, 13 April 2007
Step 1.
Determine the offsite page you wish to link to. Copy an save the url.
In this case we wanted to link to the NSS ISDC 2007 web page. The url for that page is http://isdc.nss.org/2007/
Step 2.
Decide the display text for your link.
We felt "ISDC 2007" would be sufficiently verbose for most users.
Step 3.
Having determined our url and our link text, the next challenge was to put them in the right place in the right order.
Well, the place is simple MediaWiki:Sidebar
If you go to that page and click on View Source or Edit (depending on how much we trust you) you will see something like this:
*navigation
**mainpage|mainpage
** Category:Main|Category Tree
<!-- ** Special:Categories|Category List A-Z -->
** Index-url|Index
<!-- **portal-url|portal -->
** Links_and_Resources-url|Links and Resources
<!-- **currentevents-url|currentevents -->
**recentchanges-url|recentchanges
**randompage-url|randompage
**helppage|help
<!-- ** sitesupport-url|sitesupport -->
<!-- **Join the Mars Society-url|Join the Mars Society -->
*Mars Events
**Mars Society Convention-url|Mars Society Convention
*Space Events
**ISDC-url|ISDC 2007
Well, you see there where it says
**ISDC-url|ISDC 2007
that's what you need to put in.
Step 4.
Let's examine that. The second part just says "Join the Foobar Society", that's your link text...
But the first part says "Join the Foobar Society-url"!
What's that about?
Well that's the key to the whole thing. If you go take a look at MediaWiki:Join_the_Foobar_Society-url you'll see that's where the url for the link is stored.
Step 5.
So once you've saved your Sidebar, you need to create that Join_the_Foobar_Society-url page and insert the url there. After that, it should all work and millions upon billions of people will join your society and you'll be able to afford to build huge rockets to carry 500 people to the foobar on each and ever trip.
Yeah, right.