Changes

4,310 bytes added ,  04:48, 18 September 2019
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|}}}
| &#32;({{#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|}}}
| ,&#32;
}}<bdi class="adr listing-address street-address">{{{address|}}}</bdi>
}}<!--

Directions

-->{{#if:{{{directions|}}}
| &#32;(<bdi class="listing-directions" style="font-style: italic;">{{{directions|}}}</bdi>)
}}<!--

Phone

-->{{#if:{{{phone|}}}
| {{#if:{{{name|}}}{{{url|}}}{{{address|}}}{{{directions|}}}
| ,&#32;
}}{{phone|{{{phone|}}}}}
}}<!--

Tollfree

-->{{#if:{{{tollfree|}}}
| {{#if:{{{name|}}}{{{url|}}}{{{address|}}}{{{directions|}}}{{{phone|}}}
| ,&#32;
}}toll-free: <bdi class="tel listing-tollfree">{{#invoke:LinkPhone|LinkPhone|{{{tollfree|}}}|tollfree=yes}}</bdi>
}}<!--

Fax

-->{{#if:{{{fax|}}}
| {{#if:{{{name|}}}{{{url|}}}{{{address|}}}{{{directions|}}}{{{phone|}}}{{{tollfree|}}}
| ,&#32;
}}<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|}}}
| ,&#32;
}}{{email|{{{email|}}}}}
}}{{#if:{{{inline|}}}||.}}<!--

Hours

-->{{#if:{{{hours|}}}
| &#32;<bdi class="note listing-hours">{{{hours|}}}</bdi>.
}}<!--

Checkin and checkout

-->{{#if:{{{checkin|}}}
| &#32;<span class="note">Check-in: <bdi class="listing-checkin">{{{checkin|}}}</bdi><!--
-->{{#if:{{{checkout|}}}
| , check-out: <bdi class="listing-checkout">{{{checkout|}}}</bdi>
}}</span>.
| {{#if:{{{checkout|}}}
| &#32;<span class="note">Check-out: <bdi class="listing-checkout">{{{checkout|}}}</bdi></span>.
}}}}<!--

General listing content

-->{{#if:{{{content|{{{1|}}}}}}
| &#32;<bdi class="note listing-content">{{{content|{{{1|}}}}}}</bdi>
}}<!--

Price

-->{{#if:{{{price|}}}
| &#32;<bdi class="note listing-price">{{{price|}}}</bdi>.
}}<!--

Sister project icons

-->{{#if:{{{wikipedia|}}}{{{wikidata|}}}
| <span class="listing-sister-icons">{{#if:{{{wikidata|}}}
| &#32;[[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|}}}}}
| &#32;[[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|}}}|&#32;(}}<!--
--><span class="listing-metadata-items"><!--
-->{{#if:{{{lastedit|}}}
| <bdi class="listing-lastedit">updated {{#time: M Y|{{{lastedit|}}}}}</bdi>
| &nbsp;<!-- "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>
Anonymous user