Template:Agent: Difference between revisions

From WikiProducers
Jump to navigation Jump to search
agent profile
 
m minor edit
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#set:
| Has full name = {{{Name|}}}
| Has license number = {{{License|}}}
| Has NPN = {{{NPN|}}}
| Has email = {{{Email|}}}
| Has phone number = {{{Phone|}}}
| Has company = {{{Company|}}}
| Has role = {{{Role|}}}
| Has location = {{{Location|}}}
| Has image = {{{Image|}}}
| Has website = {{{Website|}}}
| Has social profile = {{{LinkedIn|}}},{{{Facebook|}}},{{{Twitter|}}}
}}
<noinclude>
<noinclude>
<!-- ==========================================
<!-- ==========================================
Line 18: Line 32:
  | Has website = {{{Website|}}}
  | Has website = {{{Website|}}}
  | Has social profile = {{{LinkedIn|}}},{{{Facebook|}}},{{{Twitter|}}}
  | Has social profile = {{{LinkedIn|}}},{{{Facebook|}}},{{{Twitter|}}}
| Has calendly = {{{Calendly|}}}
}}
}}


{| class="infobox" style="float:right; width:300px; border:1px solid #ccc; padding:8px; background:#fafafa;"
{| class="infobox" style="float:right; width:300px; border:1px solid #ccc; padding:8px; background:#fafafa;"
Line 53: Line 70:
| [{{{LinkedIn|}}} LinkedIn] · [{{{Facebook|}}} Facebook] · [{{{Twitter|}}} Twitter]
| [{{{LinkedIn|}}} LinkedIn] · [{{{Facebook|}}} Facebook] · [{{{Twitter|}}} Twitter]
|}
|}
|-
! colspan="2" style="text-align:center; background:#f9f9f9;" |
<div style="margin-top:10px;">
  <a href="{{{Calendly|}}}" target="_blank" style="background-color:#0069d9; color:white; padding:10px 16px; border-radius:8px; text-decoration:none; font-weight:bold; display:inline-block;">
    📅 Book a Call
  </a>
</div>


<noinclude>
<noinclude>
<!-- End Template -->
<!-- End Template -->
</noinclude>
<!-- existing infobox + JSON-LD code -->
</script>
<!-- JSON-LD for Knowledge Panel -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "InsuranceAgent",
"name": "{{#show: {{PAGENAME}} | ?Has full name}}",
"image": "{{#show: {{PAGENAME}} | ?Has image}}",
"url": "{{#show: {{PAGENAME}} | ?Has website}}",
"email": "{{#show: {{PAGENAME}} | ?Has email}}",
"telephone": "{{#show: {{PAGENAME}} | ?Has phone number}}",
"jobTitle": "{{#show: {{PAGENAME}} | ?Has role}}",
"worksFor": {
  "@type": "Organization",
  "name": "{{#show: {{PAGENAME}} | ?Has company}}"
},
"address": {
  "@type": "PostalAddress",
  "addressLocality": "{{#show: {{PAGENAME}} | ?Has location}}"
},
"sameAs": [
  "{{#show: {{PAGENAME}} | ?Has social profile}}"
]
}
</script>
<!-- existing infobox + JSON-LD code -->
</script>
<noinclude>
{{TemplateData header}}
{
  "description": "Displays an insurance agent’s profile box with contact details, license info, and a booking button. Used on WikiProducers to standardize agent pages.",
  "params": {
    "Name": { "label": "Name", "description": "Full name of the agent.", "type": "string", "required": true },
    "Role": { "label": "Role", "description": "The agent’s title or role.", "type": "string" },
    "Company": { "label": "Company", "description": "The agency or company name.", "type": "string" },
    "License": { "label": "License", "description": "License number or type.", "type": "string" },
    "NPN": { "label": "NPN", "description": "National Producer Number.", "type": "string" },
    "Location": { "label": "Location", "description": "City and state of the agent.", "type": "string" },
    "Email": { "label": "Email", "description": "Contact email address.", "type": "string" },
    "Phone": { "label": "Phone", "description": "Agent’s phone number.", "type": "string" },
    "Website": { "label": "Website", "description": "Official website or profile URL.", "type": "string" },
    "LinkedIn": { "label": "LinkedIn", "description": "Link to LinkedIn profile.", "type": "string" },
    "Facebook": { "label": "Facebook", "description": "Link to Facebook page.", "type": "string" },
    "Twitter": { "label": "Twitter", "description": "Link to Twitter profile.", "type": "string" },
    "Calendly": { "label": "Calendly", "description": "Booking link for appointments.", "type": "string" }
  }
}
</noinclude>
</noinclude>

Latest revision as of 23:38, 3 November 2025





[[File:|280px|frameless|center]]
Name
Role
Company
License
NPN
Location
Email [mailto: ]
Phone
Website [ ]
Social [ LinkedIn] · [ Facebook] · [ Twitter]

|- ! colspan="2" style="text-align:center; background:#f9f9f9;" |

 <a href="" target="_blank" style="background-color:#0069d9; color:white; padding:10px 16px; border-radius:8px; text-decoration:none; font-weight:bold; display:inline-block;">
   📅 Book a Call
 </a>




</script>

<script type="application/ld+json"> {

"@context": "https://schema.org",
"@type": "InsuranceAgent",
"name": "",
"image": "",
"url": "",
"email": "",
"telephone": "",
"jobTitle": "",
"worksFor": {
  "@type": "Organization",
  "name": ""
},
"address": {
  "@type": "PostalAddress",
  "addressLocality": ""
},
"sameAs": [
  ""
]

} </script>

</script>


Template:TemplateData header {

 "description": "Displays an insurance agent’s profile box with contact details, license info, and a booking button. Used on WikiProducers to standardize agent pages.",
 "params": {
   "Name": { "label": "Name", "description": "Full name of the agent.", "type": "string", "required": true },
   "Role": { "label": "Role", "description": "The agent’s title or role.", "type": "string" },
   "Company": { "label": "Company", "description": "The agency or company name.", "type": "string" },
   "License": { "label": "License", "description": "License number or type.", "type": "string" },
   "NPN": { "label": "NPN", "description": "National Producer Number.", "type": "string" },
   "Location": { "label": "Location", "description": "City and state of the agent.", "type": "string" },
   "Email": { "label": "Email", "description": "Contact email address.", "type": "string" },
   "Phone": { "label": "Phone", "description": "Agent’s phone number.", "type": "string" },
   "Website": { "label": "Website", "description": "Official website or profile URL.", "type": "string" },
   "LinkedIn": { "label": "LinkedIn", "description": "Link to LinkedIn profile.", "type": "string" },
   "Facebook": { "label": "Facebook", "description": "Link to Facebook page.", "type": "string" },
   "Twitter": { "label": "Twitter", "description": "Link to Twitter profile.", "type": "string" },
   "Calendly": { "label": "Calendly", "description": "Booking link for appointments.", "type": "string" }
 }

}