Portal/Instructions
This page gives instructions for the creation of new portals using the box portal layout.
[top]Steps
To create a new portal on the topic "Topic" using the Template:template box portal skeleton box portal skeleton template 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 |
---|---|
2. | Create two subpages:
{{Portal:Box-header | title={{{1}}} |editpage={{{2}}} |border=#5E4D19 [comment] This is the color of the borders around Box Sections [/comment] |titleforeground=white [comment] This is the color of the Box Section Title Bar text [/comment] |titlebackground=#3C3C3C [comment] This is the color of the Box Section Title Bar [/comment] |background=#55555 [comment] This is the color of the Box Section background [/comment] |foreground=white }} [comment] This is the color of the Box Section text [/comment]
{{Portal:box-footer | {{{1}}} }} |
3. | Return to your portal page Portal:Topic and begin editing (general instructions on editing a portal are below). Basically follow the red links to create sub-pages that will fill the boxes. |
4. | Place a link to your portal at the top of the appropriate article (of the same name) by placing a Template:template portal portal template there. For an explanation of how and why this format works go here. |
5. | List your new portal in the Directory of portals. |
6. | Announce your new portal on the community bulletin board. |
At this point, you have created a Portal under construction. It is a framework with a lot of red links where content should go. A fair amount of work is still necessary to turn a skeleton portal into one ready for browsing. | |
7. | Edit the portal. (See Customisation and editing below for instructions.) |
8. | When the portal is complete and of good quality:
|
[top]Customisation and editing
The box portal allows you to edit the portal without editing the main portal page. Simply follow the red links to the sub pages and enter the information there. These sub-pages will be displayed on the main page.
[top]Adding a section (box)
If you wish to add a section (box) using the regular codes, go to your portal page (e.g., [{{SERVER}}{{localurl:Portal:Computer and video games|action=edit}}]) and simply type in:
class="bbcode_container" |
whereCode:
{{/box-header| 1 | 2 }}
{{ 3 }}
{{/box-footer| 4 }}
- "1" is the box title
- "2" is the article to be linked to.This will appear right under the title bar. You may omit this parameter if you don't want an edit link to appear, but you must not omit the pipe, for example:
- {{/box-header | Selected article | Portal:Computer and video games/Selected}}
- {{/box-header | Selected article | }} (no edit link param, note pipe still in place)
- {{/box-header | Selected article | Portal:Computer and video games/Selected}}
- "3" is again the article to be linked to (this will appear as a red link until first edited), for example:
- {{/Featured}}
- {{/Featured}}
- "4" is a link that you'd like to display at the bottom-right corner of the box. You may omit this parameter if you don't want an edit link to appear, but you must not omit the pipe, for example:
- {{/box-footer | [[Computer and video games|More about Computer and video games...]]}}
- {{/box-footer | }} (no bottom-right param, note pipe still in place)
- {{/box-footer | [[Computer and video games|More about Computer and video games...]]}}
[top]Other methods of adding a section
Other methods of adding a section are adding Random portal component or Random portal component with nominate. see their documentation .
[top]Example 1
The following code:
<div style="float:right; width:50%;">
{{/box-header|A random title|Portal:Test/Selected article}}
{{/Selected article}}
{{/box-footer|[[Lorem ipsum|More about Lorem ipsum...]]}}
</div>
results in:
Template:portal:test box-header
Template:portal:test selected article
Template:portal:test box-footer
<div style="float:right; width:50%;">
{{/box-header|A random title|Portal:Test/Selected article}}
{{/Selected article}}
{{/box-footer|[[Lorem ipsum|More about Lorem ipsum...]]}}
</div>
results in:
Template:portal:test box-header
Template:portal:test selected article
Template:portal:test box-footer
[top]Example 2
The following code:
<div style="float:right; width:50%;">
{{/box-header|A random title|}}
The following text will appear in the [[box]]. This text can be placed on
the [[BrWiki:Portal|portals]] main page and edited there.Or,
alternatly placed on a sub-page of the portal, which is explained below.
{{/box-footer|[[Lorem ipsum|More about Lorem ipsum...]]}}
</div>
Template:portal:test box-header
The following text will appear in the box. This text can be placed on the portals main page and edited there. Or, alternately placed on a sub-page of the portal, which is explained below.
Template:portal:test box-footer
...will result in what is displayed to the immediate right. ?
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:
that add color information, and the pass all the work along to the Portal:box-header and Portal:box-footer templates, which compose everything into a standards-compliant and cross-browser box.
<div style="float:right; width:50%;">
{{/box-header|A random title|}}
The following text will appear in the [[box]]. This text can be placed on
the [[BrWiki:Portal|portals]] main page and edited there.Or,
alternatly placed on a sub-page of the portal, which is explained below.
{{/box-footer|[[Lorem ipsum|More about Lorem ipsum...]]}}
</div>
Template:portal:test box-header
The following text will appear in the box. This text can be placed on the portals main page and edited there. Or, alternately placed on a sub-page of the portal, which is explained below.
Template:portal:test box-footer
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:
- "Portal:insertname/box-header" (e.g. [1])
- "Portal:insertname/box-footer" (e.g. [2])
that add color information, and the pass all the work along to the Portal:box-header and Portal:box-footer templates, which compose everything into a standards-compliant and cross-browser box.
[top]Editing Archive for random portal component section
For a random portal component section, the random pages are stored as consecutive numbered subpages from 1 to a maximum number. To view all numbered subpages in the archive page, use Numbered subpages. Just write in the archive page {{Numbered subpages}}.
[top]Randomized lists and elements in sections
See the random subpage template for a method to display a list of randomly selected items from a group of numbered subpages (e.g., Sustainable development). This template also can be used to randomly rotate items such as images within a section (e.g., the Philosophy of science introduction).
[top]Changing colors
The colors of the portal can be changed in the box-header subpage. A list of colors you can use is available at Web colors, List of colors, or BrWiki talk:Colours.
[top]See also
Contributors: | ,
Created by Last edited by , 10-23-2011 at 02:14 PM 0 Comments, 4,486 Views |
, 11-23-2008 at 08:37 PM
Tags for this Page
Similar Pages
-
What is a featured portal?
By Arjan in forum MainComments: 0Last Post: 11-22-2008, 04:30 PM -
Shadow Portal
By Sorontar in forum MainComments: 0Last Post: 08-12-2008, 12:04 AM -
DnD Creature Instructions
By Arjan in forum MainComments: 0Last Post: 05-15-2007, 11:10 AM -
Community Portal/Help
By Arjan in forum MainComments: 0Last Post: 11-28-2006, 09:16 PM -
Community Portal/About
By Arjan in forum MainComments: 0Last Post: 11-28-2006, 09:13 PM
Bookmarks