Template:Organization: Difference between revisions

From Freephile Wiki
No edit summary
update property assignment
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div itemscope itemtype="http://schema.org/Organization">
<includeonly>
<span itemprop="name">[[name::{{{name|}}}]]</span>
{{#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:-->
{{#set:logo={{{logo}}}}}
<div id="logo" itemprop="logo">
<div id="logo" itemprop="logo">
[[File:{{{logo}}}|200px|]]
[[File:{{{logo}}}|200px|link=]]
</div>
</div>
}}
}}
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">[[streetAddress::{{{streetAddress|}}}]]</span><br>
<span itemprop="streetAddress">{{{streetAddress|}}}</span><br>
<span itemprop="addressLocality">[[addressLocality::{{{addressLocality|}}}]]</span>
<span itemprop="addressLocality">{{{addressLocality|}}}</span>
&nbsp;<span itemprop="postalCode">[[postalCode::{{{postalCode|}}}]]</span>
&nbsp;<span itemprop="postalCode">{{{postalCode|}}}</span>
</div>
</div>
Tel:<span itemprop="telephone">[[telephone::{{{telephone|}}}]]</span><br>
Tel:<span itemprop="telephone">{{{telephone|}}}</span><br>
Fax:<span itemprop="faxNumber">[[faxNumber::{{{faxNumber|}}}]]</span><br>
Fax:<span itemprop="faxNumber">{{{faxNumber|}}}</span><br>
E-mail: <span itemprop="email">[[email::{{{email|}}}]]</span>
E-mail: <span itemprop="email">{{{email|}}}</span><br>
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