Wikipedia:WikiProject Portals/Components

{{Portal description}} – adds a standard short description {{Portal maintenance status}} – maintenance information and tracking categories

Wikipedia:WikiProject Portals/Components

Portal pages

{{Portal description}} – adds a standard short description
{{Portal maintenance status}} – maintenance information and tracking categories

{{Portals browsebar}} – links for browsing portals by subject


Introduction

{{Portal image banner}}

Dynamically sized banner images randomly selected from a list. As many images and captions as desired may be specified

{{Transclude lead excerpt}}

Dynamic excerpt that always matches the source. Normally taken from the lead of the root article. Number of paragraphs and images may be specified.
{{Purge link portals}} – purge link for showing new selections

Selected article

{{Transclude random excerpt}}

Same as {{Transclude lead excerpt}}, but specify multiple sources within the template call for alternating display; or

{{Transclude linked excerpt}}

Same again, but specify multiple sources by linking to them on a separate page or section

Selected anniversary

{{Transclude selected excerpt}}

Shows a specific lead of an article for a specific time.

Selected pictures

{{Random slideshow}}

Shows a slideshow gallery of specified files, in a randomised order

{{Transclude files as random slideshow}}

Same as {{Random slideshow}}, but uses images from specified pages

Selected quotation

{{Random quotation}}

Shows a random quotation, from a specified set of quotations

In the news

{{Transclude selected current events}}

Shows news about a subject from Portal:Current events.

or User:JJMC89 bot/Wikinews importer

Imports news from Wikinews.

Did you know...

{{Transclude selected recent additions}}

Shows Did you know? items for a subject from Wikipedia:Recent additions.

or User:JL-Bot/Project content

Can be customised to show a limited number of DYKs.

Categories

{{#tag:categorytree}}

Shows an interactive category tree.
A category name may be used instead of {{PAGENAME}}, if the portal page name doesn't match the most relevant category.

{{Related portals2}}

Shows images and links to specified portals

WikiProjects

No automation templates – configure manually

Things to do

Transclude WikiProject to-do list

Associated Wikimedia

{{Wikimedia for portals}}

Creates a table of interwiki links related to the portal.
{{Portals}} – Explanatory and browsing links

Layout components

Here are the components used to generate the boxes above:

  • {{Box-header colour}} – start of a layout box. By default, the template will automatically select a color based on the page name.
  • {{Box-footer}} – end of a layout box.
  • {{Flex columns}} – two column layout, with equal-height columns, that switches to one column on narrow screens.

Components for portal talk pages

These should go on the base talk page, not subpages.

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.