Template:Associated Wikimedia

From Wikibooks, open books for an open world
Jump to navigation Jump to search


Template documentation[view] [edit] [history] [purge]

This template is designed primarily for use on bookshelves and Wikibooks; all project links are optional. For best results (as regards the aesthetics of the template output), provide values to parameters for at least two different sister projects. Extant link box templates for individual sister projects can be found in the See also section below.

Usage[edit source]

The template generates the title of the Navbox from the value of the first unnamed parameter or from the |Topic= parameter. If neither are found it will use the name of the transcluding page.

Blank template[edit source]

Here the |Topic= parameter is provided explicitly.

{{Associated Wikimedia|Topic=
 | Commons              = 
 | Commons category     = 
 | Wikinews portal      = 
 | Wikinews category    = 
 | Wikipedia            = 
 | Wikipedia portal     = 
 | Wikipedia category   = 
 | Wikiquote            = 
 | Wikiquote category   = 
 | Wikisource           = 
 | Wikisource portal    = 
 | Wikisource category  = 
 | Wikispecies          = 
 | Wikiversity school   = 
 | Wikiversity portal   = 
 | Wikiversity category = 
 | Wiktionary           = 
 | Wiktionary category  = 
 | Wiktionary appendix  = 
 | Wiktionary thesaurus = 
}}

Example[edit source]

In this example the topic is set as an unnamed parameter immediately following the template name. This works equally well as using the named |Topic= parameter shown above, or using the |1= parameter to hold the value; let personal preference dictate your usage.

{{Associated Wikimedia|[[Shelf:Education|Education]]
 | Commons              = School
 | Commons category     = Education
 | Wikinews portal      = Education
 | Wikinews category    = Education
 | Wikipedia            = Education
 | Wikipedia portal     = Education
 | Wikipedia category   = Education
 | Wikiquote            = Education
 | Wikiquote category   = Education
 | Wikisource           = We choose to go to the moon
 | Wikisource portal    = Education
 | Wikisource category  = Education
 | Wikispecies          = Strigiformes
 | Wikiversity school   = Education
 | Wikiversity portal   = Education
 | Wikiversity category = Education
 | Wiktionary           = education
 | Wiktionary category  = Education
 | Wiktionary appendix  = Interlingua/ed#education
 | Wiktionary thesaurus = learned
}}
Associated Wikimedia for Education
Commons Wikinews Wikipedia Wikiquote Wikisource Wikispecies Wikiversity Wiktionary
Commons-logo.svg Gallery
Category
Wikinews-logo.svg Portal
Category
Wikipedia-logo-v2.svg Article
Portal
Category
Wikiquote-logo.svg Page
Category
Wikisource-logo.svg Text
Portal
Category
Wikispecies-logo.svg Organism Wikiversity-logo.svg School
Portal
Category
Wiktionary small.svg Definition
Category
Appendix
Thesaurus
Media News Encyclopedia Quotes Texts Species Courses Dictionary

TemplateData[edit source]

See also[edit source]