Template:Libraries and Societies: Difference between revisions

No edit summary
(Added to Category To Be Reviewed.)
 
(10 intermediate revisions by the same user not shown)
Line 10: Line 10:
|Newsletter=URL
|Newsletter=URL
|Facebook=URL
|Facebook=URL
|Twitter=URL
|Instagram=URL
|Membership=Text
|Membership=Text
|Address=String
|Address=String
|Directions_Link=String
|Directions_URL=URL
|Directions=Text
|Coordinates=Coordinates
|Coordinates=Coordinates
|Mailing_Address=String
|Mailing_Address=String
Line 17: Line 22:
|Phone_2=String
|Phone_2=String
|Other_Contact=String
|Other_Contact=String
|Events_Link=URL
|Events_Link=String
|Events_URL=URL
|Events_Description=Text
|Events_Description=Text
|Hours_Link=String
|Hours_URL=URL
|Hours=Text
|Hours=Text
|Closures=Text
|Closures=Text
Line 25: Line 33:
|Current_projects=Text
|Current_projects=Text
|Online_Collections=List (,) of String
|Online_Collections=List (,) of String
|Approval=String
}}
}}
</noinclude><includeonly>{{#cargo_store:_table=Libraries_and_Societies
</noinclude><includeonly>{{#cargo_store:_table=Libraries_and_Societies
Line 35: Line 44:
|Newsletter={{{Newsletter|}}}
|Newsletter={{{Newsletter|}}}
|Facebook={{{Facebook|}}}
|Facebook={{{Facebook|}}}
|Twitter={{{Twitter|}}}
|Instagram={{{Instagram|}}}
|Membership={{{Membership|}}}
|Membership={{{Membership|}}}
|Address={{{Address|}}}
|Address={{{Address|}}}
|Directions_Link={{{Directions Link|}}}
|Directions_URL={{{Directions URL|}}}
|Directions={{{Directions|}}}
|Coordinates={{{Coordinates|}}}
|Coordinates={{{Coordinates|}}}
|Mailing_Address={{{Mailing Address|}}}
|Mailing_Address={{{Mailing Address|}}}
Line 43: Line 57:
|Other_Contact={{{Other Contact|}}}
|Other_Contact={{{Other Contact|}}}
|Events_Link={{{Events Link|}}}
|Events_Link={{{Events Link|}}}
|Events_URL={{{Events URL|}}}
|Events_Description={{{Events Description|}}}
|Events_Description={{{Events Description|}}}
|Hours_Link={{{Hours Link|}}}
|Hours_URL={{{Hours URL|}}}
|Hours={{{Hours|}}}
|Hours={{{Hours|}}}
|Closures={{{Closures|}}}
|Closures={{{Closures|}}}
Line 50: Line 67:
|Current_projects={{{Current projects|}}}
|Current_projects={{{Current projects|}}}
|Online_Collections={{{Online Collections|}}}
|Online_Collections={{{Online Collections|}}}
|Approval={{{Approval|}}}
}}
}}
<!-- Info boxes row #1 -->
<!-- Info boxes row #1 -->
Line 74: Line 92:
{{ #if: {{{Mailing Address|}}} |  
{{ #if: {{{Mailing Address|}}} |  
* Mailing Address: {{{Mailing Address|}}} }}
* Mailing Address: {{{Mailing Address|}}} }}
* {{ #if: {{{Facebook|}}} | [{{{Facebook|}}} Facebook] }} {{ #if: {{{Twitter|}}} | [{{{Twitter|}}} Twitter] }} {{ #if: {{{Instagram|}}} | [{{{Instagram|}}} Instagram] }} {{ #if: {{{Other Contact|}}} | [{{{Other Contact|}}} Other Contact] }}
{{ #if: {{{Other Contact|}}} |
* Other Contact: [{{{Other Contact|}}} Other Contact] }}
* Social Media:
<div style="display:flex; flex-wrap:nowrap; justify-content:space-evenly; max-width:300px;">
<div style="margin:5px; text-align:center;">{{#if: {{{Facebook|}}} | [[File:Facebook-Logo.png|50xpx|link={{{Facebook|}}}]] | [[File:Facebook-Logo-Grey.png|50xpx|link=]] }}</div>
<div style="margin:5px; text-align:center;">{{#if: {{{Instagram|}}} | [[File:Instagram-Logo.png|50xpx|link={{{Instagram|}}}]] | [[File:Instagram-Logo-Grey.png|50xpx|link=]] }}</div>
<div style="margin:5px; text-align:center;">{{#if: {{{Twitter|}}} | [[File:Twitter-Logo.png|50xpx|link={{{Twitter|}}}]] | [[File:Twitter-Logo-Grey.png|50xpx|link=]] }}</div>
</div>
}}
}}


Line 118: Line 143:
| Resources Title = Visit Us
| Resources Title = Visit Us
| Resources Content =
| Resources Content =
* Physical Address: {{ #if: {{{Address|}}} | [https://www.google.com/maps/dir/Current+Location/{{#replace:{{urlencode:{{{Address|}}}|QUERY}}|%0A|}} {{#replace:{{#replace:{{urlencode:{{{Address|}}}|WIKI}}|%0A|}}|_|<nowiki/> <nowiki/>}}] }}
* Physical Address: {{ #if: {{{Address|}}} | [https://www.google.com/maps/dir/Current+Location/{{#replace:{{urlencode:{{{Address|}}}|QUERY}}|%0A|}} {{#replace:{{#replace:{{urlencode:{{{Address|}}}|WIKI}}|%0A|}}|_|<nowiki/> <nowiki/>}}] }}<br><br>
* Directions:
* Directions: {{ #if: {{{Directions URL|}}} | {{{Directions URL|}}} }}
<div style="margin:-15px 0 15px 50px; white-space:pre-wrap;">
{{ #if: {{{Directions|}}} |
{{ #if: {{{Directions|}}} | {{{Directions|}}} }}
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
</div>
{{{Directions|}}}
* Hours:
</div> }}
* Hours: {{ #if: {{{Hours URL|}}} | {{{Hours URL|}}} }}
{{ #if: {{{Hours|}}} |
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{ #if: {{{Hours|}}} | {{{Hours|}}} }}
{{{Hours|}}}
</div>
</div>
* Closures:  
* Closures:
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{ #if: {{{Closures|}}} | {{{Closures|}}} }}
{{{Closures|}}}
</div>
</div>
}}
}}
}}


Line 136: Line 164:
| Resources Title = Map
| Resources Title = Map
| Resources Content =
| Resources Content =
<center>{{#cargo_display_map:point={{{Coordinates|}}}|width=400px|format=leaflet}}</center><br><br>
<center>{{#cargo_display_map:point={{{Coordinates|}}}|width=400px|service=googlemaps}}</center><br><br>
<center>'''[https://www.familysearch.org/centers/locations/ Other FamilySearch Affiliates nearby]'''</center>
<center>'''[https://www.familysearch.org/centers/locations/ Other FamilySearch Affiliates nearby]'''</center>
}}
}}
Line 177: Line 205:


[[Category:Libraries and Societies Form]]
[[Category:Libraries and Societies Form]]
{{#ifeq: {{{Approval|}}} | No | [[Category:To Be Reviewed]] }}
{{DISPLAYTITLE:{{{Title|}}} }}
{{DISPLAYTITLE:{{{Title|}}} }}
__NOTOC__
__NOTOC__

Latest revision as of 16:54, 22 March 2023

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