Help:Seasons Portal

From USAFA Rugby Alumni
Revision as of 21:28, 1 March 2014 by Twhayes (talk | contribs)
Jump to: navigation, search

Specific instructions on how to create the portals used for each season

1. Create a page using this convention - Portal:<gender> <year> <season>, where <gender> is either Men or Women, <year> is the year, <season> is either Spring or Fall. Easiest way to create the portal is to type the name in search box and press Go. A page will be displayed saying that the page doesn't exist and showing the name that you typed in as a red link. Click the red link to be taken to a new page.

2. On the new page, insert the following code (case matters):

{{subst:Seasons-portal-skeleton}}

3. Save the page. You should see a lot of red links all of which end in either box-header or box-footer.

4. Click one of the links that ends in box-header and paste the following code into the new page:

{{Box-header
| title={{{1}}}
| editpage={{{2}}}
| border=#aaaaaa           <!-- This is the color of the borders around Box Sections -->
| titleforeground=white    <!-- This is the color of the Box Section Title Bar text -->
| titlebackground=#2552d9  <!-- This is the color of the Box Section Title Bar -->
| background=#f9f9ff       <!-- This is the color of the Box Section background -->
| foreground=black}}       <!-- This is the color of the Box Section text -->
{{{{{3}}}}}

5. Save that page and go back to the main portal page. Easiest way back to the main portal page is to click a small link near top left of the page that looks like this <Portal: <name of your new portal>.

6. The portal will look strange with some smaller boxes embedded inside of larger boxes. Click on one of the red links that ends in box-footer and paste the following code into the new page:

{{Box-footer|{{{1}}} }}

7. Save that page and just like for the box-header, return to the main portal.

8. The portal should now be completely set up. You can start added information by clicking on edit located in the far right of each box's title bar.

9. For the Team Record, click the edit link and insert the following code into the new page:

{{subst:Seasons tables}}

This will insert the necessary wikitext to display the tables for A and B side records as well as the team records. To fill in the specific information, edit the page and replace the boilerplate text (<date>, <opponent>, <score>, <firstName>, <lastName>, <class>) as appropriate.