Changes
Jump to navigation
Jump to search
move multiple email address tracking over to email emplate
<includeonly><bdi class="vcard"><!-- This is a microformat container class.
Anchor
-->{{#if:{{{wikidata|}}}
| {{anchor|{{{wikidata|}}}}}
}}<!--
Marker
-->{{Marker
|counter={{{counter|{{{type|listing}}}}}}
|type={{{type|listing}}}
|name={{{name|}}}
|lat={{{lat|}}}
|long={{{long|}}}
|image={{{image|}}}
|url={{{url|}}}
|islisting=yes
|wikidata={{{wikidata|}}}
}}<!--
Alt
-->{{#if:{{{alt|}}}
|  ({{#ifeq:{{#invoke:IsLatin|IsLatin|{{{alt|}}}}}|yes
| <bdi class="nickname listing-alt" style="font-style: italic;">{{{alt|}}}</bdi>
| <bdi class="nickname listing-alt">{{{alt|}}}</bdi>}})
}}<!--
Address
-->{{#if:{{{address|}}}
| {{#if:{{{name|}}}{{{url|}}}
| , 
}}<bdi class="adr listing-address street-address">{{{address|}}}</bdi>
}}<!--
Directions
-->{{#if:{{{directions|}}}
|  (<bdi class="listing-directions" style="font-style: italic;">{{{directions|}}}</bdi>)
}}<!--
Phone
-->{{#if:{{{phone|}}}
| {{#if:{{{name|}}}{{{url|}}}{{{address|}}}{{{directions|}}}
| , 
}}{{phone|{{{phone|}}}}}
}}<!--
Tollfree
-->{{#if:{{{tollfree|}}}
| {{#if:{{{name|}}}{{{url|}}}{{{address|}}}{{{directions|}}}{{{phone|}}}
| , 
}}toll-free: <bdi class="tel listing-tollfree">{{#invoke:LinkPhone|LinkPhone|{{{tollfree|}}}|tollfree=yes}}</bdi>
}}<!--
Fax
-->{{#if:{{{fax|}}}
| {{#if:{{{name|}}}{{{url|}}}{{{address|}}}{{{directions|}}}{{{phone|}}}{{{tollfree|}}}
| , 
}}<span class="tel"><span class="type">fax</span>: <bdi class="value listing-fax">{{#invoke:LinkPhone|LinkPhone|{{{fax|}}}|fax=true}}</bdi></span>
}}<!--
E-mail
-->{{#if:{{{email|}}}
| {{#if:{{{name|}}}{{{url|}}}{{{address|}}}{{{directions|}}}{{{phone|}}}{{{tollfree|}}}{{{fax|}}}
| , 
}}{{email|{{{email|}}}}}
}}{{#if:{{{inline|}}}||.}}<!--
Hours
-->{{#if:{{{hours|}}}
|  <bdi class="note listing-hours">{{{hours|}}}</bdi>.
}}<!--
Checkin and checkout
-->{{#if:{{{checkin|}}}
|  <span class="note">Check-in: <bdi class="listing-checkin">{{{checkin|}}}</bdi><!--
-->{{#if:{{{checkout|}}}
| , check-out: <bdi class="listing-checkout">{{{checkout|}}}</bdi>
}}</span>.
| {{#if:{{{checkout|}}}
|  <span class="note">Check-out: <bdi class="listing-checkout">{{{checkout|}}}</bdi></span>.
}}}}<!--
General listing content
-->{{#if:{{{content|{{{1|}}}}}}
|  <bdi class="note listing-content">{{{content|{{{1|}}}}}}</bdi>
}}<!--
Price
-->{{#if:{{{price|}}}
|  <bdi class="note listing-price">{{{price|}}}</bdi>.
}}<!--
Sister project icons
-->{{#if:{{{wikipedia|}}}{{{wikidata|}}}
| <span class="listing-sister-icons">{{#if:{{{wikidata|}}}
|  [[File:Wikidata-logo.svg|16px|class=listing-sister|link=d:{{{wikidata|}}}|{{#invoke:Wikibase|label|{{{wikidata|}}}}} ({{{wikidata|}}}) on Wikidata]]
}}{{#ifeq:{{{wikipedia}}}|NA||{{#if:{{{wikipedia|}}}{{#invoke:WikidataIB|getSiteLink|wiki=enwiki|qid={{{wikidata|}}}}}
|  [[File:Antu wikipedia.svg|16px|class=listing-sister|link=w:{{#if:{{{wikipedia|}}}|{{{wikipedia|}}}|{{#invoke:WikidataIB|getSiteLink|wiki=enwiki|qid={{{wikidata|}}}}}}}|<bdi>{{#if:{{{wikipedia|}}}|{{{wikipedia|}}}|{{#invoke:WikidataIB|getSiteLink|wiki=enwiki|qid={{{wikidata|}}}}}}}</bdi> on Wikipedia]]
}}}}</span>
}}<!--
Metadata - last edit date, "edit" link, etc.
Note: an additional edit link will be inserted by Javacript at end of this required "listing-metadata-items" span.
--><span class="listing-metadata"><!--
-->{{#if:{{{lastedit|}}}| (}}<!--
--><span class="listing-metadata-items"><!--
-->{{#if:{{{lastedit|}}}
| <bdi class="listing-lastedit">updated {{#time: M Y|{{{lastedit|}}}}}</bdi>
| <!-- "listing-metadata-items" must NOT be empty, otherwise the "edit" link (not generated but inserted by javascript) will be missing -->
}}<!--
--></span><!--
-->{{#if:{{{lastedit|}}}|)}}<!--
--></span><!--
-->{{#invoke:HiddenUnicode|HiddenUnicode|{{{name}}}{{{lat|}}}{{{long|}}}{{{url|}}}{{{alt|}}}{{{address|}}}{{{directions|}}}{{{phone|}}}{{{tollfree|}}}{{{fax|}}}{{{email|}}}{{{hours|}}}{{{checkin|}}}{{{checkout|}}}{{{price|}}}{{{content|{{{1|}}}}}}}}<!--
--></bdi>{{#if:{{{wikipedia|}}}| {{#if:{{{wikidata|}}}| | {{#ifeq:{{#invoke:String|find|{{{wikipedia|}}}|#}}|0|[[Category:Listing with Wikipedia link but not Wikidata link]]|}} }} |}}</includeonly><noinclude>{{Documentation}}</noinclude>
Anchor
-->{{#if:{{{wikidata|}}}
| {{anchor|{{{wikidata|}}}}}
}}<!--
Marker
-->{{Marker
|counter={{{counter|{{{type|listing}}}}}}
|type={{{type|listing}}}
|name={{{name|}}}
|lat={{{lat|}}}
|long={{{long|}}}
|image={{{image|}}}
|url={{{url|}}}
|islisting=yes
|wikidata={{{wikidata|}}}
}}<!--
Alt
-->{{#if:{{{alt|}}}
|  ({{#ifeq:{{#invoke:IsLatin|IsLatin|{{{alt|}}}}}|yes
| <bdi class="nickname listing-alt" style="font-style: italic;">{{{alt|}}}</bdi>
| <bdi class="nickname listing-alt">{{{alt|}}}</bdi>}})
}}<!--
Address
-->{{#if:{{{address|}}}
| {{#if:{{{name|}}}{{{url|}}}
| , 
}}<bdi class="adr listing-address street-address">{{{address|}}}</bdi>
}}<!--
Directions
-->{{#if:{{{directions|}}}
|  (<bdi class="listing-directions" style="font-style: italic;">{{{directions|}}}</bdi>)
}}<!--
Phone
-->{{#if:{{{phone|}}}
| {{#if:{{{name|}}}{{{url|}}}{{{address|}}}{{{directions|}}}
| , 
}}{{phone|{{{phone|}}}}}
}}<!--
Tollfree
-->{{#if:{{{tollfree|}}}
| {{#if:{{{name|}}}{{{url|}}}{{{address|}}}{{{directions|}}}{{{phone|}}}
| , 
}}toll-free: <bdi class="tel listing-tollfree">{{#invoke:LinkPhone|LinkPhone|{{{tollfree|}}}|tollfree=yes}}</bdi>
}}<!--
Fax
-->{{#if:{{{fax|}}}
| {{#if:{{{name|}}}{{{url|}}}{{{address|}}}{{{directions|}}}{{{phone|}}}{{{tollfree|}}}
| , 
}}<span class="tel"><span class="type">fax</span>: <bdi class="value listing-fax">{{#invoke:LinkPhone|LinkPhone|{{{fax|}}}|fax=true}}</bdi></span>
}}<!--
-->{{#if:{{{email|}}}
| {{#if:{{{name|}}}{{{url|}}}{{{address|}}}{{{directions|}}}{{{phone|}}}{{{tollfree|}}}{{{fax|}}}
| , 
}}{{email|{{{email|}}}}}
}}{{#if:{{{inline|}}}||.}}<!--
Hours
-->{{#if:{{{hours|}}}
|  <bdi class="note listing-hours">{{{hours|}}}</bdi>.
}}<!--
Checkin and checkout
-->{{#if:{{{checkin|}}}
|  <span class="note">Check-in: <bdi class="listing-checkin">{{{checkin|}}}</bdi><!--
-->{{#if:{{{checkout|}}}
| , check-out: <bdi class="listing-checkout">{{{checkout|}}}</bdi>
}}</span>.
| {{#if:{{{checkout|}}}
|  <span class="note">Check-out: <bdi class="listing-checkout">{{{checkout|}}}</bdi></span>.
}}}}<!--
General listing content
-->{{#if:{{{content|{{{1|}}}}}}
|  <bdi class="note listing-content">{{{content|{{{1|}}}}}}</bdi>
}}<!--
Price
-->{{#if:{{{price|}}}
|  <bdi class="note listing-price">{{{price|}}}</bdi>.
}}<!--
Sister project icons
-->{{#if:{{{wikipedia|}}}{{{wikidata|}}}
| <span class="listing-sister-icons">{{#if:{{{wikidata|}}}
|  [[File:Wikidata-logo.svg|16px|class=listing-sister|link=d:{{{wikidata|}}}|{{#invoke:Wikibase|label|{{{wikidata|}}}}} ({{{wikidata|}}}) on Wikidata]]
}}{{#ifeq:{{{wikipedia}}}|NA||{{#if:{{{wikipedia|}}}{{#invoke:WikidataIB|getSiteLink|wiki=enwiki|qid={{{wikidata|}}}}}
|  [[File:Antu wikipedia.svg|16px|class=listing-sister|link=w:{{#if:{{{wikipedia|}}}|{{{wikipedia|}}}|{{#invoke:WikidataIB|getSiteLink|wiki=enwiki|qid={{{wikidata|}}}}}}}|<bdi>{{#if:{{{wikipedia|}}}|{{{wikipedia|}}}|{{#invoke:WikidataIB|getSiteLink|wiki=enwiki|qid={{{wikidata|}}}}}}}</bdi> on Wikipedia]]
}}}}</span>
}}<!--
Metadata - last edit date, "edit" link, etc.
Note: an additional edit link will be inserted by Javacript at end of this required "listing-metadata-items" span.
--><span class="listing-metadata"><!--
-->{{#if:{{{lastedit|}}}| (}}<!--
--><span class="listing-metadata-items"><!--
-->{{#if:{{{lastedit|}}}
| <bdi class="listing-lastedit">updated {{#time: M Y|{{{lastedit|}}}}}</bdi>
| <!-- "listing-metadata-items" must NOT be empty, otherwise the "edit" link (not generated but inserted by javascript) will be missing -->
}}<!--
--></span><!--
-->{{#if:{{{lastedit|}}}|)}}<!--
--></span><!--
-->{{#invoke:HiddenUnicode|HiddenUnicode|{{{name}}}{{{lat|}}}{{{long|}}}{{{url|}}}{{{alt|}}}{{{address|}}}{{{directions|}}}{{{phone|}}}{{{tollfree|}}}{{{fax|}}}{{{email|}}}{{{hours|}}}{{{checkin|}}}{{{checkout|}}}{{{price|}}}{{{content|{{{1|}}}}}}}}<!--
--></bdi>{{#if:{{{wikipedia|}}}| {{#if:{{{wikidata|}}}| | {{#ifeq:{{#invoke:String|find|{{{wikipedia|}}}|#}}|0|[[Category:Listing with Wikipedia link but not Wikidata link]]|}} }} |}}</includeonly><noinclude>{{Documentation}}</noinclude>