Help:Seasons Portal

From US Armed Forces Rugby
Jump to: navigation, search


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

1. Create a page using this convention - Portal:<year> <season> <gender> , 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.

Click on tab for service portal that you want to create and continue to follow the instructions.

[edit]

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=#120A8F <!-- 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}}}}}

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=#FFFFFF    <!-- This is the color of the Box Section Title Bar text -->
| titlebackground=#FF2400 <!-- 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}}}}}

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=#FFCB05    <!-- This is the color of the Box Section Title Bar text -->
| titlebackground=#000000 <!-- 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}}}}}

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=#00C1D5 <!-- 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 one of the following lines of code into the new page:

{{subst:Seasons tables}}

or

{{subst:Fall-Spring-Table}}

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.


10. Finally, back on the portal page, note the red links at the top that say <previousSeasonText and nextSeasonText. To complete these links, edit the portal page. The first line should look like this:

{{TopLinks | previousSeasonLink | previousSeasonText | nextSeasonLink | nextSeasonText}}

.

Fill in the appropriate info:

  • previousSeasonLink points to the page name of the portal for the previous season;
  • previousSeasonText is what will be displayed on the upper left of the portal;
  • nextSeasonLink points to the page name of the portal for the next season; and
  • nextSeasonLink is what will be displayed on the upper right of the portal.

For example, on the 2012 Fall Women portal, this is the info:

  • previousSeasonLink - 2012 Spring Women
  • previousSeasonText - 2012 Spring
  • nextSeasonLink - 2013 Spring Women
  • nextSeasonText - 2013 Spring



Note: Code below added to make it easier to copy and paste when creating portals. It's not needed if you follow the instructions above.

{{subst:Seasons-portal-skeleton}}

{{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}}}}}

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

{{subst:Seasons tables}}