Template:Infobox organization
From W8MD weight loss and sleep centers
Template documentation
No documentation subpage exists yet.
You can create documentation for this template at Template:Infobox organization/doc.
Suggested documentation sections: *== Usage ==*== Parameters ==*== Examples ==*== See also ==*<includeonly>[[Category:Templates]]</includeonly>
Documentation helper template for displaying template documentation subpages
Template:Documentation is a helper template used on template pages to display documentation from a separate documentation subpage, usually named /doc.
This follows the common MediaWiki pattern of keeping template code separate from explanatory documentation. MediaWiki templates are transcluded using double braces, and documentation subpages make it easier to protect or maintain template code while still allowing usage notes, examples, and categories to be edited separately.
Usage
Place this at the bottom of a template page, outside the active template code:
<noinclude>
{{Documentation}}
</noinclude>
A typical template page should look like this:
<includeonly>
Template code goes here.
</includeonly><noinclude>
{{Documentation}}
</noinclude>
Custom documentation page
By default, this template transcludes documentation from:
{{FULLPAGENAME}}/doc
You can also specify a custom documentation page:
{{Documentation|Template:Example/doc}}
Recommended /doc page structure
A good documentation subpage usually includes:
== Usage == == Parameters == == Examples == == See also == <includeonly> [[Category:Templates]] </includeonly>
Why use documentation subpages?
Documentation subpages are useful because they:
- Keep template code clean and easier to maintain.
- Allow categories to be placed on the documentation page instead of inside active template code.
- Allow usage examples and parameter explanations without affecting template output.
- Make protected templates easier to document.
- Reduce accidental edits to working template code.
Notes
- Add template categories to the
/docpage, not the main template page. - Place categories inside
<includeonly>...</includeonly>on the documentation page. - Use
<noinclude>{{Documentation}}</noinclude>at the bottom of templates. - Use
<nowiki>...</nowiki>or<pre>...</pre>when showing template code examples.
See also
- Template:Infobox public health
- Template:Cite web
- Template:Cite journal
- Help:Template
- Help:Transclusion
Usage
This template creates a right-aligned infobox for organization, company, medical practice, clinic, healthcare provider, MedSpa, weight loss clinic, and related articles.
{{Infobox organization
| name = W8MD Weight Loss, Sleep and MedSpa
| image = [[File:W8md weight loss sleep and medspa team.jpeg|250px]]
| caption = W8MD healthcare provider team
| type = [[Medical weight loss]], [[sleep medicine]], and [[MedSpa]] practice
| industry = [[Healthcare]], [[obesity medicine]], [[sleep medicine]], [[wellness]]
| founded = 2011
| founder = [[Prab R. Tumpati, MD]]
| headquarters = [[Brooklyn]], [[New York City]] and [[Philadelphia]], [[Pennsylvania]]
| locations = [[Brooklyn]], [[New York City]], [[Philadelphia]]
| area_served = [[New York]], [[New Jersey]], [[Pennsylvania]], [[Delaware]], [[Connecticut]], and nearby areas
| key_people = [[Prab R. Tumpati, MD]], [[Barry Dublin, MD]], [[Tea Bromberg, NP-C]]
| specialties = [[Medical weight loss]], [[obesity medicine]], [[sleep apnea]], [[GLP-1 weight loss]], [[MedSpa services]]
| services = [[Weight loss program]], [[GLP-1 injections]], [[sleep apnea testing]], [[CPAP]], [[meal replacements]], [[IV nutrition]], [[B12 injection]]s
| programs = Physician-supervised [[medical weight loss]], [[sleep medicine]], and wellness programs
| providers = Physicians, nurse practitioners, and trained healthcare staff
| medical_director = [[Prab R. Tumpati, MD]]
| affiliations = [[W8MD Weight Loss, Sleep and MedSpa]]
| website = [https://www.w8md.com W8MD.com]
}}
Blank template
{{Infobox organization
| name =
| image =
| caption =
| type =
| industry =
| founded =
| founder =
| headquarters =
| locations =
| area_served =
| key_people =
| specialties =
| services =
| products =
| programs =
| providers =
| medical_director =
| affiliations =
| languages =
| website =
| notes =
}}
Parameters
- name - Organization name. Defaults to page name if omitted.
- image - Image file, usually formatted as
[[File:Example.jpg|250px]]. - caption - Image caption.
- type - Organization type, such as clinic, company, nonprofit, medical practice, or MedSpa.
- industry - Industry or sector.
- founded - Year or date founded.
- founder - Founder or founders.
- headquarters - Main office or headquarters.
- locations - Office locations.
- area_served - Geographic service area.
- key_people - Key executives, clinicians, or leaders.
- specialties - Medical or organizational specialties.
- services - Main services offered.
- products - Products or product lines, if applicable.
- programs - Major programs.
- providers - Provider types or clinical team.
- medical_director - Medical director, if applicable.
- affiliations - Parent organization or affiliations.
- languages - Languages served, if relevant.
- website - Website link.
- notes - Optional notes displayed at the bottom.
