Template:Agent: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 77: | Line 77: | ||
</a> | </a> | ||
</div> | </div> | ||
| Line 84: | Line 83: | ||
</noinclude> | </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 --> | <!-- existing infobox + JSON-LD code --> | ||
| Line 162: | Line 189: | ||
} | } | ||
</noinclude> | </noinclude> | ||
Revision as of 23:37, 3 November 2025
| [[File:|280px|frameless|center]] | |
|---|---|
| Name | |
| Role | |
| Company | |
| License | |
| NPN | |
| Location | |
| [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 (e.g. Life Insurance Agent).",
"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"
}
}
}