Template:Provider: Difference between revisions

From Medicine GPT
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:provider_page (label=Provider page; display=nonempty)|firstname (label=Firstname; display=nonempty)|middlename (label=Middlename; display=nonempty)|lastname (label=Lastname; display=nonempty)|suffix (label=suffix; display=nonempty)|credentials (label=Credentials; display=nonempty)|npi (label=NPI; display=nonempty)|gender (label=Gender; display=nonempty)|medical_school (label=Medical school; display=nonempty)|graduation_year (label=Graduation year; display=nonempty)|primary_specialty (label=Primary specialty; display=nonempty)|secondary specialty_all (label=Secondary specialties; display=nonempty)|organization_name (label=Organization name; display=nonempty)|address (label=Address; display=nonempty)|city (label=City; display=nonempty)|state (label=State; display=nonempty)|zip (label=ZIP; display=nonempty)|address2 (label=Address2; display=nonempty)|phone_number (label=phone number; display=nonempty)|hospital_affiliations_all (label=Hospital affiliations; display=nonempty)|image (label=Image; namespace=File; display=nonempty)|coordinates (label=Coordinates; display=nonempty)}}
{{#template_params:Image (lable=Image;display=nonempty)|Firstname|Middlename (label=Middlename;display=nonempty)|Lastname|Suffix (label=Suffix;display=nonempty)|Credentials (label=Credentials;display=nonempty)|NPI|Gender|Medical_school (label=Medical School;display=nonempty)|Graduation_year (label=Graduation year;display=nonempty)|Primary_specialty (label=Primary Specialty;display=nonempty)|Secondary_specialties (label=Secondary specialties;display=nonempty)|Organization (label=Organization;display=nonempty)|Address (label=Address;display=nonempty)|City (label=City;display=nonempty)|State (label=State;display=nonempty)|Zip (label=ZIP;display=nonempty)|Address2 (label=Address 2;display=nonempty)|Country (label=Country;display=nonempty)|Coordinates (label=Coordinates;display=nonempty)|Phone (label=Phone;display=nonempty)|Fax (label=Fax;display=nonempty)|Website (label=Website;display=nonempty)|Email (label=Email;display=nonempty)|Hospital_affiliations (label=Hospital affiliations;display=nonempty)|Retirement status (label=Retired?;display=nonempty)|Rating (label=Rating;display=nonempty)|Known_for (label=Known for;display=nonempty)|Accepting_patients(label=;display=nonempty)|Address2 (label=Address 2;display=nonempty)}}
</noinclude><includeonly>{{#cargo_store:_table=provider}}
{{#cargo_declare:_table=usprovider|Image=File(namespace=File)|Firstname=String|Middlename=String|Lastname=String|Suffix=String|Credentials=Page|NPI=Integer|Gender=List (,) of Page (allowed values=Male,Female,Transgender,NA,Other)|Medical_school=Page|Graduation_year=Integer|Primary_specialty=Page|Secondary_specialties=Wikitext|organization=Page|Address=String|City=Page|State=Page|Zip=Integer|Address2=String|Country=Page|Coordinates=Coordinates|Phone=Wikitext|Fax=String|Website=URL|Email=Email|Hospital_affiliations=Wikitext|Retirement_status=List (,) of String (allowed values=Active,Retired,NA)|Rating=List (,) of Rating (allowed values=*****,****.***.**.*)|Known_for=Wikitext|Accepting_patients=List (,) of String (allowed values=Yes,No,NA)|Appointments=URL|Full_address=String}}
</noinclude><includeonly>{{#cargo_store:_table=usprovider}}
<div style="clear:right;">
<div style="clear:right;">
{| class="wikitable" border="1" style="float:right; width:35%" background-color:#dec9f2;"  
{| class="wikitable" border="1" style="float:right;width:35%" background-color:#DDA0DD;"  
! '''Image'''
| {{#if:{{{Image|}}}}}
|-
! '''Provider'''
! '''Provider'''
| '''{{{firstname|}}}''' '''{{{middlename|}}}''' '''{{{lastname|}}}''' '''{{{credentials|}}}'''
| {{{Firstname|}}} {{{Middlename|}}} {{{Lastname|}}} {{{Credentials|}}}
|-
|-
! '''Gender'''
! '''Gender'''
| {{{gender|}}}
| {{{Gender|}}}
|-
|-
! '''Primary specialty'''
! '''Specialties'''
| '''{{{primary_specialty|}}}''' {{{secondary_specialty_all|}}}
| '''{{{Primary_specialty|}}}'''<br>{{{Secondary_specialties|}}}
|-
|-
! '''Education'''
! '''Education'''
| {{{medical_school|}}}
| {{{Medical_school|}}}
|-
|-
! '''Years active'''
! '''Years active'''
| Since {{{graduation_year|}}}
| {{{Graduation_year|}}} - ??
|-
|-
! '''Work institution'''
! '''Work institution'''
| {{{organization_name|}}}
| {{{Organization|}}}
|-
|-
! '''Address'''
! '''Address'''
| {{{address|}}} {{{address2|}}} {{{city|}}} {{{state|}}} {{{zip|}}}
| {{{Address|}}} {{{Address2|}}} {{{City|}}} {{{State|}}} {{{Zip|}}}
|-
|-
! '''Phone'''
! '''Phone'''
| '''{{{phone_number|}}}'''
| '''{{{Phone|}}}'''
|-
|-
! '''Hospital affiliation(s)'''
! '''Hospital affiliation(s)'''
| {{{hospital_affiliations_all|}}}
| {{{Hospital_affiliations|}}}
|-
! '''Coordinates'''
| {{#geocode:{{{Address|}}} {{{Address2|}}} {{{City|}}} {{{State|}}} {{{Zip|}}}|format=float|directional=no}}
|-
! '''Appointments'''
| {{{Appointments|}}}
|}
|}
[[Category:Doctors]]
[[Category:Doctors]]
[[Category:{{{state|}}}]]
[[Category:{{{State|}}}]]
[[Category:{{{city|}}}]]
[[Category:{{{City|}}}]]
[[Category:{{{zip|}}}]]
[[Category:{{{Zip|}}}]]
[[Category:{{{primary_specialty|}}}]]
[[Category:{{{Primary_specialty|}}}]]
</includeonly>
</includeonly>

Revision as of 02:27, 21 September 2022

This is the "Provider" template.

It should be called in the following format:

{{Provider
|Image=
|Firstname=
|Middlename=
|Lastname=
|Suffix=
|Credentials=
|NPI=
|Gender=
|Medical_school=
|Graduation_year=
|Primary_specialty=
|Secondary_specialties=
|Organization=
|Address=
|City=
|State=
|Zip=
|Address2=
|Country=
|Coordinates=
|Phone=
|Fax=
|Website=
|Email=
|Hospital_affiliations=
|Retirement status=
|Rating=
|Known_for=
|Accepting_patients=
}}

Edit the page to see the template text.

This template defines the table "usprovider". This table has not been created yet.