Wikipedia:Portal/Instructions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

This page gives instructions for the creation of new portals using the box portal layout.

Steps

(There are other ways of creating a portal using different architectures. The box portal structure described below is being amended to use more automated features to reduce the number of subpages generated and to reduce the amount of maintenance of the finished portal.)

To create a new portal on the topic "Topic" using the {{box portal skeleton}} template follow these steps:

1. Create a new page using [[Portal:Topic]] as the title of the page (where "Topic" is the subject of your portal) and enter the following text
{{subst:box portal skeleton}}

Save. At this point you will have a partially generated portal. You will need to complete it as follows:

2. Add articles to the "Selected article" section , one after each pipe (|). Add more entries as desired, preceding each with a pipe (|). See {{Transclude random excerpt}} for details.
3. Change the title of the "Selected item" section to whatever item you wish to present. For example, "Selected cat breed". Add articles matching that type to the section, one after each pipe (|). Add more entries as desired, preceding each with a pipe (|). See {{Transclude random excerpt}} for details.
4. Add more "Selected item" sections, as desired, following step 3 for each, once they are placed.
5. If the Did you know section is empty, remove it. To add or adjust parameters, see {{Transclude selected recent additions}}.
6. If the In the news section is empty, remove it. To add or adjust parameters, see {{Transclude selected current events}}.
7. Add file names (pictures) and captions to the "Selected pictures" section , one after each pipe (|). Add more entries as desired, preceding each with a pipe (|). Separate each file from its caption with a pipe (|). See {{Random slideshow}} for details.
8. When the portal is complete and of good quality, recategorize the portal from Category:Portals under construction to an appropriate sub-category of Category:Portals (or often a sub-sub-category or deeper, as needed). (See Wikipedia:Portal/Categorizing for details.)
9. Add a link to the portal at Portal:Contents/Portals.
10. Announce the new portal on the community bulletin board.
11. Add an entry for the portal at WikiData:.

Customization and editing

The box portal allows you to edit the portal without editing the main portal page. Simply follow the blue links to the sub pages and enter the information there. These sub-pages will be displayed on the main page.

Adding a section (box)

If you wish to add a section (box) using the regular codes, go to your portal page and simply type in:

 {{Box-header/#}}
 ''Contents of the box''
 {{Box-footer}}

Where "#" is a number between 1 and 26, and "Contents of teh box" is whatever you stick in there, from typed in content to templates.

Colors

The exact same code, used at other portals, will create a box with the exact same content, but the colors may be completely different. This is because each portal has templates at:

  1. "Portal:insertname/box-header" (e.g. [1])
  2. "Portal:insertname/box-footer" (e.g. [2])

that add color information, and the pass all the work along to the box-header and box-footer templates, which compose everything into a standards-compliant and cross-browser box.

Changing colors

Portal components

See Wikipedia:WikiProject_Portals#Portal_components


See also

Retrieved from "https://en.wikipedia.org/w/index.php?title=Wikipedia:Portal/Instructions&oldid=850498117"
This content was retrieved from Wikipedia : http://en.wikipedia.org/wiki/Wikipedia:Portal/Instructions
This page is based on the copyrighted Wikipedia article "Wikipedia:Portal/Instructions"; it is used under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC-BY-SA). You may redistribute it, verbatim or modified, providing that you comply with the terms of the CC-BY-SA