Module:Particles/doc
This module was used to replace {{Subatomic particle}} in List of baryons to remove that article from Category:Pages where post-expand include size is exceeded. Prior to the replacement, half of the article was not displayed correctly.
Usage
{{#invoke:particles|nolink|item1|item2|item3|...}}(display items with no link){{#invoke:particles|link|item1|item2|item3|...}}(each displayed symbol is linked to an article)
These items are built-in to the module:
| Item | Result |
|---|---|
| / | " / " |
| + | " + " |
| or | " or " |
| seen | " (seen) " |
| _word1_word2 | " word1 word2" (wordN is any text) |
| (text) | "(text)" (text is any text) |
| br | "<br />" (and splits the result into lines) |
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 Module:Particles/data.
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
| Result | Wikitext source |
|---|---|
p+ |
{{#invoke:particles|nolink|Proton+}}
|
Σ∗+ (1385) |
{{#invoke:particles|link|Sigma*+|(1385)}}
|
u u d |
{{#invoke:particles|link|Up quark|Up quark|Down quark}}
|
p / p+ / N+ |
{{#invoke:particles|link|Proton|/|Proton+|/|Nucleon+}}
|
Λ+ c + K− + π+ + π+ (seen) |
{{#invoke:particles|link|Charmed lambda+|+|Kaon-|+|Pion+|+|Pion+|seen}}
|
Λ0 + π+ or Σ+ + π0 or Σ0 + π+ |
{{#invoke:particles|link|Lambda0|+|Pion+|or|br|Sigma+|+|Pion0|or|br|Sigma0|+|Pion+}}
|
Λ0 + π+ any text Σ+ + π0 more text Σ0 + π+ |
{{#invoke:particles|link|Lambda0|+|Pion+|_any_text|br|Sigma+|+|Pion0|_more_text|br|Sigma0|+|Pion+}}
|
Modules
The following modules are used:
- Module:Particles • Code to display one or more particle symbols.
- Module:Particles/data • Particle definitions extracted from subpages of Template:Subatomic particle.
- Module:Su • Called to display sup and sub (top and bottom) labels.
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.