Template:Organization: Difference between revisions
From Freephile Wiki
No edit summary |
update property assignment |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div itemscope itemtype="http://schema.org/Organization"> | <includeonly> | ||
<span itemprop="name"> | {{#set: | ||
Sdo:name = {{{name|}}} | |||
| logo={{{logo|}}} | |||
| streetAddress = {{{streetAddress|}}} | |||
| addressLocality = {{{addressLocality|}}} | |||
| postalCode = {{{postalCode|}}} | |||
| telephone = {{{telephone|}}} | |||
| faxNumber = {{{faxNumber|}}} | |||
| email = {{{email|}}} | |||
| sameAs = {{{website|}}} | |||
}} | |||
<div itemscope itemtype="http://schema.org/Organization"> | |||
<span itemprop="name">{{{name|}}}</span> | |||
{{#if:{{{logo|}}} |<!--then:--> | {{#if:{{{logo|}}} |<!--then:--> | ||
<div id="logo" itemprop="logo"> | <div id="logo" itemprop="logo"> | ||
[[File:{{{logo}}}|200px|link=]] | [[File:{{{logo}}}|200px|link=]] | ||
Line 8: | Line 19: | ||
}} | }} | ||
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> | <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> | ||
<span itemprop="streetAddress"> | <span itemprop="streetAddress">{{{streetAddress|}}}</span><br> | ||
<span itemprop="addressLocality"> | <span itemprop="addressLocality">{{{addressLocality|}}}</span> | ||
<span itemprop="postalCode"> | <span itemprop="postalCode">{{{postalCode|}}}</span> | ||
</div> | </div> | ||
Tel:<span itemprop="telephone"> | Tel:<span itemprop="telephone">{{{telephone|}}}</span><br> | ||
Fax:<span itemprop="faxNumber"> | Fax:<span itemprop="faxNumber">{{{faxNumber|}}}</span><br> | ||
E-mail: <span itemprop="email"> | E-mail: <span itemprop="email">{{{email|}}}</span><br> | ||
Web: <span itemprop="sameAs"> | Web: <span itemprop="sameAs">{{{website|}}}</span><br> | ||
</div>[[Category:Organization]]{{#set:hasCoordinates={{#geocode:{{{streetAddress}}} {{{addressLocality}}}}}}}</includeonly><noinclude>You can use this template by filling out the [[Form:Organization|Organization]] form</noinclude> | </div>[[Category:Organization]]{{#set:hasCoordinates={{#geocode:{{{streetAddress}}} {{{addressLocality}}}}}}}</includeonly><noinclude>You can use this template by filling out the [[Form:Organization|Organization]] form</noinclude> |
Latest revision as of 23:09, 4 September 2025
You can use this template by filling out the Organization form