Template:Wikimedia for portals/doc

From IxWiki
Jump to navigation Jump to search

Usage

{{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

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

{{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

Portal content templates

Main portal page formatting templates

Templates that configure links

Selected page templates, used on subpages of older portals

Related templates

TemplateData

Creates a table of interwiki links related to the current portal.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Wikibooksb

Show Wikibooks in the template

Default
yes
Example
b=no
Booleanoptional
Pagepage

Base name to use for the interwiki links

Default
{{PAGENAME}}
Example
page=Foo
Stringoptional
Commonscommons

Show Commons in the template

Default
yes
Example
commons=no
Booleanoptional
Wikinewsn

Show Wikinews in the template

Default
yes
Example
n=no
Booleanoptional
Wikiquoteq

Show Wikiquote in the template

Default
yes
Example
q=no
Booleanoptional
Wikisources

Show Wikisource in the template

Default
yes
Example
s=no
Booleanoptional
Wikiversityv

Show Wikiversity in the template

Default
yes
Example
v=no
Booleanoptional
Wikivoyagevoy

Show Wikivoyage in the template

Default
yes
Example
voy=no
Booleanoptional
Wiktionarywikt

Show Wiktionary in the template

Default
yes
Example
wikt=no
Booleanoptional
Wikidatadata

Show Wikidata in the template

Default
yes
Example
data=no
Booleanoptional
Wikispeciesspecies

Show Wikispecies in the template

Default
yes
Example
species=no
Booleanoptional