Template:Wikimedia for portals/sandbox
The following Wikimedia Foundation sister projects provide more on this subject:
-
Commons
Free media repository -
Wikibooks
Free textbooks and manuals -
Wikidata
Free knowledge base -
Wikinews
Free-content news -
Wikiquote
Collection of quotations -
Wikisource
Free-content library -
Wikispecies
Directory of species -
Wikiversity
Free learning tools -
Wikivoyage
Free travel guide -
Wiktionary
Dictionary and thesaurus
![]() | This is the template sandbox page for Template:Wikimedia for portals (diff). See also the companion subpage for test cases. |
![]() | Please do not edit this page to suit your portal; it is used for all portals and should be left generic. If you wish, you may copy the contents to your own template. |
Usage
[edit]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]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]Produces:
The following Wikimedia Foundation sister projects provide more on this subject:
-
Commons
Free media repository -
Wikibooks
Free textbooks and manuals -
Wikidata
Free knowledge base -
Wikinews
Free-content news -
Wikiquote
Collection of quotations -
Wikisource
Free-content library -
Wikispecies
Directory of species -
Wikiversity
Free learning tools -
Wikivoyage
Free travel guide -
Wiktionary
Dictionary and thesaurus
- With page field
{{Wikimedia for portals|page=Foo}}
Produces:
The following Wikimedia Foundation sister projects provide more on this subject:
-
Commons
Free media repository -
Wikibooks
Free textbooks and manuals -
Wikidata
Free knowledge base -
Wikinews
Free-content news -
Wikiquote
Collection of quotations -
Wikisource
Free-content library -
Wikispecies
Directory of species -
Wikiversity
Free learning tools -
Wikivoyage
Free travel guide -
Wiktionary
Dictionary and thesaurus
See also
[edit]Portal content templates
- To display "selected content" on the portal main page
- {{Transclude list item excerpts as random slideshow}}—transcludes excerpts from recognized content lists, which are populated by a bot.
- {{Transclude random subpage}}—transcludes random portal subpage.
- {{Random portal component}}—transcludes random portal subpage.
- {{Random subpage}}—transcludes random portal subpages.
- {{Portal pictures}}—transcludes a slideshow of pictures, utilizing a single-page gallery.
- To organize "selected content" on subpages
- {{Numbered subpages}}—outputs an automatic index, transcluding numbered subpages.
- {{Portal subpage}}—outputs a box linking to and transcluding a single subpage.
- {{Portal subpage inline}}—outputs an unordered list item linking to and transcluding a single subpage.
Main portal page formatting templates
- {{Box-header}}
- {{Box-header-plain}}
- {{Box-header-round}}
- {{Box-header-square}}
- {{Box-header-watch}}
- {{Box-footer}}
Templates that configure links
- {{Portal}}
- {{Portal bar}}
- {{Portal-inline}}
- {{Pbox}}
- {{Portals}}
- {{Portals browsebar}}
- {{Related portals}}
- {{Wikimedia for portals}}
Selected page templates, used on subpages of older portals
- {{Selected article}}
- {{Selected biography}}
- {{Selected business}}
- {{Selected DYK}}
- {{Selected ingredient}}
- {{Selected location}}
- {{Selected picture}}
- {{Selected product}}
- {{Selected publication}}
- {{Selected quote}}
- {{Selected recipe}}
- {{Selected X}}
Related templates
TemplateData
[edit]Creates a table of interwiki links related to the current portal.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Wikibooks | b | Show Wikibooks in the template
| Boolean | optional |
Page | page | Base name to use for the interwiki links
| String | optional |
Commons | commons | Show Commons in the template
| Boolean | optional |
Wikinews | n | Show Wikinews in the template
| Boolean | optional |
Wikiquote | q | Show Wikiquote in the template
| Boolean | optional |
Wikisource | s | Show Wikisource in the template
| Boolean | optional |
Wikiversity | v | Show Wikiversity in the template
| Boolean | optional |
Wikivoyage | voy | Show Wikivoyage in the template
| Boolean | optional |
Wiktionary | wikt | Show Wiktionary in the template
| Boolean | optional |
Wikidata | data | Show Wikidata in the template
| Boolean | optional |
Wikispecies | species | Show Wikispecies in the template
| Boolean | optional |