• Home
  • Random
  • Nearby
  • Create account
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia
  • Create account
  • Log in

Template:Multistub

  • Template
  • Talk
  • Language
  • Watch
  • View source
Template documentationviewedithistorypurge

This template can be used to transclude multiple stub templates into a single article while only one stub is displayed on that article. This can be useful for including the article in categories for multiple stubs. For example, {{us-bio-stub}} and {{sports-bio-stub}} in an article about an American athlete.

The template requires at least 2 stubs and can be used with up to 6 stubs.

Usage

{{multistub|stub1|Stub2| ... up to .. |stub6}}

The template automatically adds "-stub" to each stub name so this should not be included when the template is used.

For example, to use the three stubs {{sports-bio-stub}}, {{us-bio-stub}} and {{music-stub}}:

 {{multistub|us-bio|music|sports-bio}} 

This would include the three listed stubs in the article, but only show the first one given. In this case the article would show the text to us-bio-stub.

The above documentation is transcluded from Template:Multistub/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://simple.wikipedia.org/w/index.php?title=Template:Multistub&oldid=3939008"
Last edited on 2 November 2012, at 06:13

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last changed on 2 November 2012, at 06:13.
      • Page was rendered with Parsoid.
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop view