Difference between revisions of "Template:Infobox birth control"
imported>Zyxw m (replace {{PAGENAME}} with {{PAGENAMEBASE}} to remove any disambiguation if article name is used as infobox title, using AWB) |
imported>Doc James (updated) |
||
| Line 18: | Line 18: | ||
| data4 = {{{Synonym|{{{synonym|{{{Synonyms|{{{synonyms|}}}}}}}}}}}} | | data4 = {{{Synonym|{{{synonym|{{{Synonyms|{{{synonyms|}}}}}}}}}}}} | ||
| − | | label5 | + | | label5 = [[Drug nomenclature#Trade names|Trade name]]s |
| − | | data5 | + | | data5 = {{{tradename|}}} |
| − | | | + | | label6 = [[American Society of Health-System Pharmacists|AHFS]]/[[Drugs.com]] |
| + | | data6 = {{{Drugs.com|}}} | ||
| − | | label7 = Perfect use | + | | label7 = First use |
| − | | | + | | data7 = {{#if: {{{date_first_use|}}}|{{{date_first_use}}}|?}} |
| + | |||
| + | | header8 = {{#if: {{{rate_type|}}}|{{{rate_type}}}|Pregnancy}} rates ({{#if:{{{failure_measure|}}}|{{{failure_measure}}}|first year}}) | ||
| + | |||
| + | | label9 = Perfect use | ||
| + | | data9 = {{#switch:{{{perfect_failure%|}}}{{{perfect_failure_ref|}}} | ||
|no data = no data | |no data = no data | ||
|= ? | |= ? | ||
|#default = {{{perfect_failure%}}}%{{{perfect_failure_ref|}}} | |#default = {{{perfect_failure%}}}%{{{perfect_failure_ref|}}} | ||
}} | }} | ||
| − | | | + | | label10 = Typical use |
| − | | | + | | data10 = {{#switch: {{{typical_failure%|}}}{{{typical_failure_ref|}}} |
|no data = no data | |no data = no data | ||
|= ? | |= ? | ||
| Line 36: | Line 42: | ||
}} | }} | ||
| − | | | + | | header11 = Usage |
| − | | | + | | label12 = Duration effect |
| − | | | + | | data12 = {{{duration_effect|}}} |
| − | | | + | | label13 = Reversibility |
| − | | | + | | data14 = {{{reversibility|}}} |
| − | | | + | | label14 = User reminders |
| − | | | + | | data14 = {{#if:{{{user_reminders|}}}|{{{user_reminders}}}|?}} |
| − | | | + | | label15 = Clinic review |
| − | | | + | | data15 = {{{clinic_interval|}}} |
| − | | | + | | header15 = Advantages and disadvantages |
| − | | | + | | label16 = STD protection |
| − | | | + | | data16 = {{{STD_protection_YesNo|}}} |
| − | | | + | | label17 = Periods |
| − | | | + | | data17 = {{{periods|}}} |
| − | | | + | | label18 = Safe while breastfeeding |
| − | | | + | | data18 = {{{breastfeeding_YesNo|}}} |
| − | | | + | | label19 = Weight |
| − | | | + | | data19 = {{{weight_gain_loss|}}} |
| − | | | + | | label20 = Period disadvantages |
| − | | | + | | data20 = {{{periods_disadvantage|}}} |
| − | | | + | | label21 = Period advantages |
| − | | | + | | data21 = {{{periods_advantage|}}} |
| − | | | + | | label22 = Weight gain |
| − | | | + | | data22 = {{{weight_gain_YesNo|}}} |
| − | | | + | | label23 = Benefits |
| − | | | + | | data23 = {{{benefits|}}} |
| − | | | + | | label24 = Risks |
| − | | | + | | data24 = {{{risks|}}} |
| − | | | + | | header25 = {{#if:{{{medical_notes|}}}|Medical notes}} |
| belowstyle = background-color: #eee; font-size:x-small | | belowstyle = background-color: #eee; font-size:x-small | ||
| below = {{{medical_notes|}}} | | below = {{{medical_notes|}}} | ||
}}<noinclude>{{documentation}}</noinclude> | }}<noinclude>{{documentation}}</noinclude> | ||
Revision as of 14:13, 31 December 2016
| Template:PAGENAMEBASE | |
|---|---|
| Background | |
| Type | ? |
| First use | ? |
| Pregnancy rates (first year) | |
| Perfect use | ? |
| Typical use | ? |
| Usage | |
| User reminders | ? |
| Advantages and disadvantages | |
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox birth control}} contains a consistent style within which to summarise some key points about a particular method of Birth control. Don't worry about trying to fill in all the fields -- even if you can only get one or two, that still can be useful and many do not apply to all methods.
While editing a birth control article, copy and paste the following text at the top of the page: (If you prefer, you can include the pipes at the beginning of the line instead.)
Full form, showing required, desirable ("...") and optional (blank) fields:
{{Infobox birth control
| name = {{subst:PAGENAME}}
| image =
| image_size =
| caption =
| bc_type = REQUIRED
| pronounce =
| synonym =
| tradename =
| Drugs.com =
| date_first_use = REQUIRED
| rate_type = Failure
| failure_measure = first year <!--for EC, specify "per use"-->
| perfect_failure% = REQUIRED
| perfect_failure_ref =
| typical_failure% = REQUIRED
| typical_failure_ref =
| duration_effect =
| reversibility =
| user_reminders = ...
| clinic_interval =
| STD_protection_YesNo = ... <!--Use "Yes", "Possible", "Unlikely" or "No"-->
| periods = ...
| weight_gain_loss = ... <!--Use "Gain", "Loss" or "No effect"-->
| benefits = ...
| risks =
| medical_notes =
}}
None of the fields are obligatory. Not all fields may be applicable to a particular method. For many fields (those not marked 'REQUIRED' or '?' above), if they are not defined then their row is not shown.
0) Title section
- name - Optional - Defaults to the name of the article if not defined.
1) Image section
- image - Optional - it may be helpful to provide an image if you can find one. Of course most images on the internet are copyrighted.
- width - Optional - may be used to specify a custom width. If no width parameter is specified, it defaults to a width of 250.
- caption - Optional - may be used to add a caption description to the image shown.
2) Background details section
- bc_type - Required - describes the type of method, e.g. 'hormonal', 'barrier'. See Template:Birth control methods for categories.
- date_first_use - Desirable - the date method first introduced, either a precise date or approximate era
3) Failure rates section
- rate_type - "Failure" to get heading "Failure rate", or "Pregnancy" to get heading "Pregnancy rate", etc. Default: Pregnancy.
- failure_measure - The section header indicates the measurement unit for values quoted.
- If not specified, as for all routine contraceptive methods, this defaults to showing "first year".
- For emergency contraception, effectiveness & failure rates are per occasion used, so specify as being "per use".
- May also be used to add comments about what exactly this failure measure applies to. For example, for diaphragms failure rate may be for use "with spermicide"; for cervical caps failure rate listed in infobox may be for a specific brand of cap.
- perfect_failure% - Required - the percentage method failure if perfect use. The '%' sign is added for you
- typical_failure% - Required - the percentage method failure in typical "real-world" use when methodology may be incorrectly applied or used. The '%' sign is added for you
4) Usage section
- duration_effect - Optional - used to indicate how long a method may be effective with no further intervention. Applies to barrier methods (e.g. condoms='new condom required for each erection', or IUDs='5 years' or caps '6 hours'
- reversibility - Optional - information about time to regain fertility after discontinuing method. For natural and barrier methods this is 'immediate', for Depo-provera '0-9 months'
- user_reminders - Desirable - describes actions or care required by user, e.g. natural methods='careful assessment and checking of fertile window dates', or IUDs='check thread position after each period', or Combined pills='take within 12hour window' or POP='take within 3 hour window'
- clinic_interval - Optional - time between review visits at Doctor/Nurse/Family planning clinic. Not required for natural or barrier methods, but for pills='6 monthly', IUDs='annually'
5) Advantages and Disadvantages section
- STD_protection_YesNo - Optional - 'Yes', 'Possible', 'Unlikely' or 'No'.
- periods - Optional - used to list any useful effects on periods. Not applicable behavioral & barrier methods. For combined pill='Regulates, and often lighter and less painful', POP='Often lightens and less painful', Depo-provera='Usually no periods from second injection', IUS='Used as treatment for heavy periods'
- breastfeeding_YesNo - Optional - used to list if method is safe and useful while breastfeeding.
- weight_gain_loss - Optional - 'Gain', 'Loss', or 'No effect'
- benefits - Desirable - any beneficial effects - e.g. natural or barrier might = 'No drugs or clinic visits required', combined pill='Reduced rates endometrial cancer, improves acne', IUD='also used as emergency contraception'
- risks - Optional - any adverse effects - condoms='damaged by oil-based lubricants', combined pill='inceased DVTs, breast cancer, strokes', IUD='risk PID following insertion'
- medical_notes - Optional - summary of medical considerations in selecting or avoiding a particular method. e.g. POP='unaffected by being on most (but not all) antibiotics, may be used unlike COCP in patients with hypertension and history of migraines'
Don't worry about getting all the fields -- just do your best, and if you have any questions or suggestions, feel free to ask at Template talk:Infobox Birth control.
See also
- Template:Birth control methods, the related navbox (navigational) template.
| The above documentation is transcluded from Template:Infobox birth control/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |