|
Languages |
Wikipedia:Portal/InstructionsThis page gives instructions for the creation of new portals using the box portal layout.
[edit] StepsTo create a new portal on the topic "Topic" using the {{box portal skeleton}} template follow these steps:
[edit] Customisation and editingThe 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. [edit] 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:
{{/box-header| 1 | 2 }}
{{ 3 }}
{{/box-footer| 4 }}
where
[edit] Other methods of adding a sectionOther methods of adding a section are adding Template:Random portal component or Template:Random portal component with nominate. see their documentation . [edit] Example 1The 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: [edit] Example 2The 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 [[Wikipedia: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>
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. 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. [edit] Editing Archive for random portal component sectionFor 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 Template:Numbered subpages. Just write in the archive page {{Numbered subpages}}. [edit] Randomized lists and elements in sectionsSee 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). [edit] Changing colorsThe 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 Wikipedia talk:Colours. [edit] See also
|
||||||||||||||||||||