Difference between revisions of "Template:Birth control methods/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Berchanhimez
(Create sandbox version of Template:Birth control methods)
 
imported>Berchanhimez
(change it up to organize better, will discuss before overwriting main template.)
 
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
  | name = Birth control methods
+
  | name = Birth control
  | title = [[Birth control]] methods ([[ATC code G02B|G02B]], [[ATC code G03A|G03A]])
+
  | title = [[Birth control]]
 
  | listclass = hlist
 
  | listclass = hlist
 
  | state = {{{state<includeonly>|autocollapse</includeonly>}}}
 
  | state = {{{state<includeonly>|autocollapse</includeonly>}}}
  
  | group1 = Comparison
+
  | group1 = Non-medicinal<br />methods
  | list1 =
+
  | list1 = {{navbox|child
* [[Comparison of birth control methods]]
 
* [[Long-acting reversible contraception]] (LARC)
 
  
| group2 = Behavioral
+
    | group1 = Behavioral
| list2 =
+
    | list1 =
 
* '''Avoiding vaginal intercourse''': [[Sexual abstinence|Abstinence]]
 
* '''Avoiding vaginal intercourse''': [[Sexual abstinence|Abstinence]]
 
* [[Anal sex]]
 
* [[Anal sex]]
Line 22: Line 20:
 
* [[Coitus interruptus|Withdrawal]]
 
* [[Coitus interruptus|Withdrawal]]
  
| group3 = [[Barrier contraception|Barrier]] and / or spermicidal
+
    | group2 = [[Barrier contraception|Barrier]]/[[Spermicidal]]
| list3 =
+
    | list2 =
 
* [[Cervical cap]]
 
* [[Cervical cap]]
 
* [[Condom]]
 
* [[Condom]]
Line 32: Line 30:
 
* [[Spermicide]]
 
* [[Spermicide]]
  
| group4 = [[Hormonal contraception|Hormonal]]<br />([[Oral contraceptive formulations|formulations]])
+
    | group3 = [[Intrauterine device]]
  | list4 ={{Navbox|child
+
    | list3 =
 +
* [[Copper IUDs|Copper IUD]]
 +
 
 +
  }}
 +
 
 +
| group2 = Medicinal<br />methods<br />([[ATC code G02B|G02B]], [[ATC code G03A|G03A]])
 +
  | list2 = {{Navbox|child
 
   | evenodd = swap
 
   | evenodd = swap
  
   | group1 = [[Hormonal contraception#Combined|Combined estrogen-progestogen]]
+
   | group1 = [[Hormonal contraception|Hormonal]]<br />([[Oral contraceptive formulations|formulations]])
  | list1 =
+
  | list1 = {{navbox|child
 +
    | group1 = Combined<br />[[Hormonal contraception#Combined|estrogen-progestogen]]
 +
    | list1 =
 
* [[Contraceptive patch]]
 
* [[Contraceptive patch]]
 
* [[Extended cycle combined hormonal contraceptive|Extended cycle]]
 
* [[Extended cycle combined hormonal contraceptive|Extended cycle]]
Line 44: Line 50:
 
* [[Combined oral contraceptive pill|Pill]]
 
* [[Combined oral contraceptive pill|Pill]]
  
  | group2 = [[Progestogen only contraception|Progestogen-only]]
+
    | group2 = [[Progestogen only contraception|Progestogen-only]]
  | list2 =
+
    | list2 =
 
* [[Depo-Provera]]
 
* [[Depo-Provera]]
 
* [[Etonogestrel birth control implant|Etonogestrel implant]] (Nexplanon)
 
* [[Etonogestrel birth control implant|Etonogestrel implant]] (Nexplanon)
Line 51: Line 57:
 
* [[Progestogen-only pill]]
 
* [[Progestogen-only pill]]
 
* [[Progesterone vaginal ring]]
 
* [[Progesterone vaginal ring]]
 
+
  }}
}}
 
 
<!-- numbering for background color -->
 
<!-- numbering for background color -->
  
| group6 = [[Selective estrogen-receptor modulator|Anti-estrogen]]
+
    | group3 = [[Selective estrogen-receptor modulator|Anti-estrogen]]
| list6 =
+
    | list3 =
 
* [[Ormeloxifene]] (Centchroman)
 
* [[Ormeloxifene]] (Centchroman)
  
| group7 = Post-intercourse
+
    | group4 = Post-intercourse<br />([[Emergency contraception|emergency]])
| list7 =
+
    | list4 =
* [[Emergency contraception]] ([[Ulipristal acetate]]
+
* [[Ulipristal acetate]]
 
* [[Yuzpe regimen]]
 
* [[Yuzpe regimen]]
 
* [[Levonorgestrel]])
 
* [[Levonorgestrel]])
  
| group8 = [[Intrauterine device]]
+
    | group5 = [[Intrauterine device]]
| list8 =
+
    | list5 =
* [[Copper IUDs|Copper]]
+
* [[Hormonal IUD|Progestogen-containing]]
* [[Hormonal IUDs|Hormone]]
 
  
  | group9 = Sterilization
+
    | group6 = [[Contraceptive implant|Implants]]
  | list9 =
+
    | list6 =
 +
* [[Nexplanon|Etonogestrel implant]]
 +
* [[Levonorgestrel implant]]
 +
 
 +
}}
 +
  | group3 = Sterilization
 +
  | list3 =
 
* '''Female''': [[Essure]]
 
* '''Female''': [[Essure]]
 
* [[Tubal ligation]]<br />'''Male''': [[Vasectomy]]
 
* [[Tubal ligation]]<br />'''Male''': [[Vasectomy]]
  
  | group10 = Experimental
+
  | group4 = Experimental
  | list10 =
+
  | list4 =
 
* [[Reversible inhibition of sperm under guidance]] (Vasalgel)
 
* [[Reversible inhibition of sperm under guidance]] (Vasalgel)
  
  | group11 = [[Long-acting reversible contraception]] (LARC)
+
  | group5 = Related topics
  | list11 =  
+
  | list5 =
* [[Intrauterine device]] ([[Hormonal IUD]]  
+
* [[Abstinence-only sex education]]
* [[Copper IUD]])
+
* [[Comparison of birth control methods]]
* [[Contraceptive implant]] ([[Nexplanon|Etonogestrel implant]], [[Levonorgestrel implant]])
+
* [[Family planning]]
 +
 
 +
}}
  
}}<noinclude>{{documentation | content =
+
<noinclude>{{documentation | content =
 
{{collapsible option}}
 
{{collapsible option}}
  
 
==See also==
 
==See also==
 
* {{tl|Condom}}
 
* {{tl|Condom}}
 
[[Category:Drug templates by ATC]]
 
[[Category:Reproduction-related templates]]
 
[[Category:Sex and sexuality templates]]
 
  
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 04:23, 5 July 2020

Template documentation

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Birth control methods|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Birth control methods|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Birth control methods|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.

See also