Template:Libraries and Societies: Difference between revisions

From FamilySearch Wiki
(Removed image caption.)
(Addresses to one line.)
Line 10: Line 10:
|Facebook=URL
|Facebook=URL
|Membership=Text
|Membership=Text
|Address=Text
|Address=String
|Coordinates=Coordinates
|Coordinates=Coordinates
|Mailing_Address=Text
|Mailing_Address=String
|Phone=String
|Phone=String
|Phone_2=String
|Phone_2=String
Line 74: Line 74:
* {{ #if: {{{Facebook|}}} | [{{{Facebook|}}} Facebook] }} {{ #if: {{{Twitter|}}} | [{{{Twitter|}}} Twitter] }} {{ #if: {{{Instagram|}}} | [{{{Instagram|}}} Instagram] }} {{ #if: {{{Other Contact|}}} | [{{{Other Contact|}}} Other Contact] }}
* {{ #if: {{{Facebook|}}} | [{{{Facebook|}}} Facebook] }} {{ #if: {{{Twitter|}}} | [{{{Twitter|}}} Twitter] }} {{ #if: {{{Instagram|}}} | [{{{Instagram|}}} Instagram] }} {{ #if: {{{Other Contact|}}} | [{{{Other Contact|}}} Other Contact] }}
{{ #if: {{{Mailing Address|}}} |  
{{ #if: {{{Mailing Address|}}} |  
* Mailing Address:
* Mailing Address: {{{Mailing Address|}}} }}
<div style="margin:-15px 0 -15px 50px; white-space:pre-wrap;">
{{{Mailing Address|}}} </div> }}
}}
}}


Line 109: Line 107:
| Resources Content =
| Resources Content =
* Physical Address:
* Physical Address:
<div style="margin:-15px 0 15px 50px; white-space:pre-wrap;">
{{ #if: {{{Address|}}} | <span style="overflow-wrap: break-word; word-wrap: break-word; -ms-word-break: break-all; word-break: break-word;">[https://www.google.com/maps/dir/Current+Location/{{#replace:{{urlencode:{{{Address|}}}|QUERY}}|%0A|}} {{#replace:{{#replace:{{urlencode:{{{Address|}}}|WIKI}}|%0A|}}|_|<nowiki/> <nowiki/>}}]</span>}}
{{ #if: {{{Address|}}} | <span style="overflow-wrap: break-word; word-wrap: break-word; -ms-word-break: break-all; word-break: break-word;">[https://www.google.com/maps/dir/Current+Location/{{#replace:{{urlencode:{{{Address|}}}|QUERY}}|%0A|}} {{#replace:{{#replace:{{urlencode:{{{Address|}}}|WIKI}}|%0A|}}|_|<nowiki/> <nowiki/>}}]</span>}} </div>
* Directions:
* Directions:
<div style="margin:-15px 0 15px 50px; white-space:pre-wrap;">
<div style="margin:-15px 0 15px 50px; white-space:pre-wrap;">

Revision as of 17:37, 5 September 2022

This is the "Libraries and Societies" template. This template defines the table "Libraries_and_Societies". View table.