Difference between revisions of "Marspedia:Offsite Links In Sidebar"

From Marspedia
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
Determine the offsite page you wish to link to. Copy an save the url.
 
Determine the offsite page you wish to link to. Copy an save the url.
  
In our case we wanted to link to the Foobar Society Member Registration page, aka the Join the Foobar Society page. The url for that page is http://www.foobarsociety.org/register/
+
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.=====
 
=====Step 2.=====
 
Decide the display text for your link.
 
Decide the display text for your link.
  
Well, that was a tough decision, should we call it Registration, or Membership or what. But someone pointed out that there was already a link there called "Join the Foobar Society" so we used that because it was already typed.
+
We felt "ISDC 2007" would be sufficiently verbose for most users.
  
 
=====Step 3.=====
 
=====Step 3.=====
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>* Navigation</nowiki><br>
+
<small>
  <nowiki>** mainpage|mainpage</nowiki><br>
+
<nowiki>*navigation</nowiki><br>
  <nowiki>** Special:Categories|categories</nowiki><br>
+
  <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>** recentchanges-url|recentchanges</nowiki><br>
+
  <nowiki><!-- **portal-url|portal --></nowiki><br>
  <nowiki>** randompage-url|randompage</nowiki><br>
+
<nowiki>** Links_and_Resources-url|Links and Resources</nowiki><br>
  <nowiki>** Special:Search|complex search</nowiki><br>
+
<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><!-- ** join|Join the Foobar Society --></nowiki><br>
+
  <nowiki><!-- **Join the Mars Society-url|Join the Mars Society --></nowiki><br><br>
  <nowiki>** Join the Foobar Society-url|Join the Foobar Society</nowiki><br>
+
  <nowiki>*Mars Events</nowiki><br>
  <nowiki><!-- testing --></nowiki><br></small>
+
<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
<small><nowiki>** Join the Foobar Society-url|Join the Foobar Society</nowiki><br></small>
+
  <nowiki>**ISDC-url|ISDC 2007</nowiki><br>
 
that's what you need to put in.
 
that's what you need to put in.
  
 
=====Step 4.=====
 
=====Step 4.=====
Let's examine that. The second part just says "Join the Foobar Society", that's your link text...<br>
+
Let's examine that. The second part just says "ISDC 2007", that's your link text...<br>
But the first part says "Join the Foobar Society-url"!<br>
+
But the first part says "ISDC-url"!<br>
 
What's that about?
 
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.
+
Well that's the key to the whole thing. If you go take a look at [[MediaWiki:ISDC-url]] you'll see that's where the url for the link is stored.
  
 
=====Step 5.=====
 
=====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.
+
So once you've saved your Sidebar, you need to create that ISDC-url page and insert the url there. After that, it should all work and people will be able to follow the link to the ISDC 2007 web page.
 
 
Yeah, right.
 

Latest revision as of 22:55, 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 "ISDC 2007", that's your link text...
But the first part says "ISDC-url"!
What's that about?

Well that's the key to the whole thing. If you go take a look at MediaWiki:ISDC-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 ISDC-url page and insert the url there. After that, it should all work and people will be able to follow the link to the ISDC 2007 web page.