Template:Wikimedia for portals/doc

Jump to navigation Jump to search

Usage[edit source]

{{Wikimedia for portals}}

The template automatically uses the page name of the portal when placed on the page. To change this, use the |page= field, if needed, to point to Interwikimedia links other than the one named on the portal page.

If you need to point to the Foo Interwiki, but your Portal is named Portal:Bar, then you would format the template as such:

{{Wikimedia for portals |page=Foo}}

Options[edit source]

To prevent a specific project from displaying, use =no after one or more of the following parameters, for example:

{{Wikimedia for portals
| b = 
| page = 
| commons = 
| n = 
| q = 
| s = 
| v = 
| voy = 
| wikt = 
| data = 
| species = 
}}
<!-- input 'no' to exclude projects -->

Examples[edit source]

{{Wikimedia for portals}}

Produces:

The following Wikimedia Foundation sister projects provide more on this subject:

Wikibooks
Books

Commons
Media

Wikinews 
News

Wikiquote 
Quotations

Wikisource 
Texts

Wikiversity
Learning resources

Wikivoyage 
Travel guides

Wiktionary 
Definitions

Wikidata 
Database

Wikispecies 
Species

With page field

{{Wikimedia for portals |page=Foo}}

Produces:

The following Wikimedia Foundation sister projects provide more on this subject:

Wikibooks
Books

Commons
Media

Wikinews 
News

Wikiquote 
Quotations

Wikisource 
Texts

Wikiversity
Learning resources

Wikivoyage 
Travel guides

Wiktionary 
Definitions

Wikidata 
Database

Wikispecies 
Species

See also[edit source]

Main portal creation templates

  • {{Basic portal start page}} (deleted)—Used to create portal main pages.
  • {{Random portal component}}—Used on the portal main page to randomly display articles from the portal sub-pages.
  • {{Random subpage}}—Used on the portal main page to randomly display articles from the portal sub-pages. This template is best used for creating randomly populated Did you know... sections on the portal main page that are intended to include multiple Did you know... facts.
  • {{Portal subpage}}—Used to output a box containing a link to subpage.
  • {{Numbered subpages}}—Used to create article links on portal sub-pages.
  • {{Random box-header subpage}}—Used to transclude a numbered subpage.

Main portal page formatting templates

Templates that configure links

These templates are used to format the articles on the sub-pages

{{Selected X}}—Generic template for situations not listed hereafter.

Related templates

 

External links[edit source]