Template:wikipedia/documentation

Definition from Wiktionary, the free dictionary
Jump to: navigation, search
Edit-copy green.svg Documentation for Template:wikipedia. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Usage[edit]

Including this template on a page will add the sister-project box to the right.

Wikipedia entries are usually nouns, so this template should usually be placed immediately after the ===Noun=== line and before the definition of the noun in the Wiktionary entry.

  1. {{wikipedia}}
  2. {{wikipedia|article}}
  3. {{wikipedia|article|link title}}
  4. {{wikipedia|lang=language code}}
  5. {{wikipedia|article|lang=language code}}
  6. {{wikipedia|article|link title|lang=language code}}
  7. {{wikipedia|dab=disambiguation page}}
  8. {{wikipedia|dab=disambiguation page|link title}}
  9. {{wikipedia|article|link title|mul=second article}}
  10. {{wikipedia|article|link title|mul=second article|mullabel=second link title}}
  11. {{wikipedia|cat=category}}
  12. {{wikipedia|cat=category|link title}}
  13. {{wikipedia|cat=category|link title|mulcat=second category}}
  14. {{wikipedia|cat=category|link title|mulcat=second category|mulcatlabel=second link title}}
  15. {{wikipedia|portal=energy}}
  • All parameters are optional.
  • The value article defaults to the base page name.
  • The value link title defaults to article, disambiguation page, or category; second link title to second article or second category.
  • dab or disambiguation is used for links to disambiguation pages
  • cat or category is used for links to categories
  • mul inputs a second article; mullabel inputs a link title for a second article
  • mulcat inputs a second category; mulcatlabel inputs a link title for a second category
  • portal allows linking to portals
  • The language edition of the Wikipedia can be specified as the named parameter lang. These usually use a two- or three-letter code. (but e.g. the Min Nan Wikipedia is "zh-min-nan")

Examples[edit]

{{wikipedia|afterlife}}
Wikipedia has an article on:
Wikipedia
{{wikipedia|Trunk (botany)|trunk}}
Wikipedia has an article on:
Wikipedia
{{wikipedia|Roma|lang=it}}
Italian Wikipedia has an article on:
Wikipedia it
{{wikipedia|dab=authoring}}
Wikipedia has articles on:
Wikipedia
{{wikipedia|dab=wrong (disambiguation)|wrong}}
Wikipedia has articles on:
Wikipedia
{{wikipedia|monarchy|mul=kingdom (biology)}}
Wikipedia has articles on:
Wikipedia Wikipedia
{{wikipedia|monarchy|tyranny|mul=kingdom (biology)|mullabel=lionny}}
Wikipedia has articles on:
Wikipedia Wikipedia
{{wikipedia|category=colors}}
Wikipedia has a category on:
Wikipedia
{{wikipedia|category=colors|mulcat=national colours}}
Wikipedia has a category on:
Wikipedia Wikipedia
{{wikipedia|lang=es|category=colores|colors|mulcat=pintura|mulcatlabel=painting}}
Spanish Wikipedia has a category on:
Wikipedia esWikipedia es
{{wikipedia|portal=energy}}
Wikipedia has a portal on:
Wikipedia

Placement[edit]

The template should be placed inside the section it refers to, immediately after the header. In the default case (a reference to the English Wikipedia) that is immediately following the ==English== header. If there are also images, box templates such as this should appear first. Or consider using the inline version of this template, {{projectlink|pedia}} (shortcut: {{pedialite}}), in a subsection called ===See also=== or ===External links===.

Related templates[edit]

  • {{slim-wikipedia}} — slimmer version of this template
  • {{w}} — plain inline text link to Wikipedia
  • {{sister}} — for linking to other sister projects
  • {{pedia}} — for "See also" section
  • {{cite wikipedia}} - for "Citations" pages
  • {{R:W}} — to cite Wikipedia in an entry's "References" section
  • {{warn notwikipedia}}