13,401
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Infobox|child={{{child|{{{embed|}}}}}} | {{Infobox|child={{{child|{{{embed|}}}}}} | ||
| bodyclass = biography vcard | | bodyclass = biography vcard | ||
<!-- | <!-- Add your script here --> | ||
<script | <script> | ||
{ | document.addEventListener('DOMContentLoaded', function() { | ||
const knowledgePanel = { | |||
"@context": "https://schema.org", | |||
"@type": "Person", | |||
"name": "{{{name|{{PAGENAMEBASE}}}}}", | |||
"birthDate": "{{{birth_date|}}}", | |||
"birthPlace": "{{{birth_place|}}}", | |||
"occupation": "{{{occupation|}}}", | |||
"url": "{{{website|{{{homepage|{{{URL|{{{url|}}}}}}}}}}}}", | |||
// Add other relevant properties here | |||
}; | |||
const scriptElement = document.createElement('script'); | |||
} | scriptElement.type = 'application/ld+json'; | ||
scriptElement.text = JSON.stringify(knowledgePanel); | |||
document.head.appendChild(scriptElement); | |||
}); | |||
</script> | </script> | ||
| above = {{Br separated entries | | above = {{Br separated entries |
edits