Help:Glossary: Difference between revisions

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Line 3: Line 3:
==Adding a new glossary entry==
==Adding a new glossary entry==
1) You can add a new glossary entry in the Visual Editor by inserting the template "[[Template:Glossary entry|Glossary entry]]".  Be sure to specify any abbreviations or synonyms, including different spellings, capitalizations, or single/plural forms.  The entry will look something like this: {{Glossary entry|name=Biopsychosocial model|abbreviation=BPS|definition=a school of thought, usually based in psychology, which claims illness and disease to be the result of the intermingling of biological, psychological and social causes.|synonym1=biopsychosocial model|synonym2=BPS|synonym3=Biopsychosocial|synonym4=biopsychosocial}}
1) You can add a new glossary entry in the Visual Editor by inserting the template "[[Template:Glossary entry|Glossary entry]]".  Be sure to specify any abbreviations or synonyms, including different spellings, capitalizations, or single/plural forms.  The entry will look something like this: {{Glossary entry|name=Biopsychosocial model|abbreviation=BPS|definition=a school of thought, usually based in psychology, which claims illness and disease to be the result of the intermingling of biological, psychological and social causes.|synonym1=biopsychosocial model|synonym2=BPS|synonym3=Biopsychosocial|synonym4=biopsychosocial}}
2) Insert a citation right after the glossary entry, to specify the source for this glossary definitionThis is tricky, because the Visual Editor will force you to place the citation on the next line.  Therefore, you should:
2) Unfortunately, there is no way to add a citation to a glossary entry in the Visual EditorIf you are familiar with the Source Editor, you can add citations inside the "Definition" box when editing a glossary entry. The simplest way to do this is to add <code><nowiki><ref>www.somewebsite.com</ref></nowiki></code> to the end of the "Definition".
# Click on the line after the glossary entry.
# Use "Cite" at the top of the window to enter a citation.
# Hit return after the citation, to create a space before the next entry.
# Save the page.  The citation will be correctly displayed, although there will be an extra space before the next entry.
3) If there are any abbreviations or synonyms that should get their own glossary entry, you can add them by inserting the "[[Template:Glossary see other entry|Glossary see other entry]]" template.  The entry will look something like this: {{Glossary see other entry|name=BPS|othername=Biopsychosocial model}}
3) If there are any abbreviations or synonyms that should get their own glossary entry, you can add them by inserting the "[[Template:Glossary see other entry|Glossary see other entry]]" template.  The entry will look something like this: {{Glossary see other entry|name=BPS|othername=Biopsychosocial model}}



Revision as of 23:59, November 12, 2019

This page explains how to add new entries to the English-language Glossary page. Glossary entries will be used to show pop-up "tooltips" in pages, which allow people to view a glossary entry from any page that uses the term being defined.

Adding a new glossary entry[edit | edit source]

1) You can add a new glossary entry in the Visual Editor by inserting the template "Glossary entry". Be sure to specify any abbreviations or synonyms, including different spellings, capitalizations, or single/plural forms. The entry will look something like this:

biopsychosocial model
BPS
Biopsychosocial
biopsychosocial




BPS
Biopsychosocial model
Biopsychosocial model (BPS) - a school of thought, usually based in psychology, which claims illness and disease to be the result of the intermingling of biological, psychological and social causes.
  • Biopsychosocial model

(BPS) - a school of thought, usually based in psychology, which claims illness and disease to be the result of the intermingling of biological, psychological and social causes.

2) Unfortunately, there is no way to add a citation to a glossary entry in the Visual Editor. If you are familiar with the Source Editor, you can add citations inside the "Definition" box when editing a glossary entry. The simplest way to do this is to add <ref>www.somewebsite.com</ref> to the end of the "Definition". 3) If there are any abbreviations or synonyms that should get their own glossary entry, you can add them by inserting the "Glossary see other entry" template. The entry will look something like this:

See also[edit | edit source]

Learn more[edit | edit source]

  • Lingo extension (which provides pop-up "tooltips" based on glossary entries)