Module:Particles/doc explained

This module was used to replace in List of baryons to remove that article from . Prior to the replacement, half of the article was not displayed correctly.

Usage

These items are built-in to the module:

Item Result
/ " / "
+ " + "
or " or "
seen " (seen) "
_word1_word2 " word1 word2"
(text) "(text)"
br "<br />"

Any other item must an identifier for a particle (not case sensitive). If an item is not recognized, an error message is displayed. Each identifier is defined in .

Any br item divides the result into lines, and each line is enclosed in a nowrap span. If there are no br items, the result is a single line enclosed in a nowrap span.

Examples

ResultWikitext source
<nowiki>{{#invoke:particles|nolink|Proton+}}</nowiki>
<nowiki>{{#invoke:particles|link|Sigma*+|(1385)}}</nowiki>|-| | <nowiki>{{#invoke:particles|link|Up quark|Up quark|Down quark}}</nowiki>
<nowiki>{{#invoke:particles|link|Proton|/|Proton+|/|Nucleon+}}</nowiki>
<nowiki>{{#invoke:particles|link|Charmed lambda+|+|Kaon-|+|Pion+|+|Pion+|seen}}</nowiki>|-| | <nowiki>{{#invoke:particles|link|Lambda0|+|Pion+|or|br|Sigma+|+|Pion0|or|br|Sigma0|+|Pion+}}</nowiki>
<nowiki>{{#invoke:particles|link|Lambda0|+|Pion+|_any_text|br|Sigma+|+|Pion0|_more_text|br|Sigma0|+|Pion+}}</nowiki>|}

Modules

The following modules are used:

  • • Code to display one or more particle symbols.
  • • Particle definitions extracted from subpages of .
  • • Called to display sup and sub (top and bottom) labels.