Template:Societies Form: Difference between revisions

From FamilySearch Wiki
No edit summary
No edit summary
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Societies" template.
This is the "Libraries and Societies" template.
{{#cargo_declare:_table=Societies
{{#cargo_declare:_table=Libraries_and_Societies
|Title=String
|Title=String
|Image=File
|Image=File
Line 36: Line 36:
|Approval=String
|Approval=String
}}
}}
</noinclude><includeonly>{{#cargo_store:_table=Societies
</noinclude><includeonly>{{#cargo_store:_table=Libraries_and_Societies
|Title={{{Title|}}}
|Title={{{Title|}}}
|Image={{{Image|}}}
|Image={{{Image|}}}
Line 98: Line 98:
{{ #if: {{{Other Contact|}}} |
{{ #if: {{{Other Contact|}}} |
* '''Other Contact:''' [{{{Other Contact|}}} Other Contact] }}
* '''Other Contact:''' [{{{Other Contact|}}} Other Contact] }}
* '''Social Media:'''
* Social Media:
<div style="display:flex; flex-wrap:nowrap; justify-content:space-evenly; max-width:300px;">
<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: {{{Facebook|}}} | [[File:Facebook-Logo.png|50xpx|link={{{Facebook|}}}]] | [[File:Facebook-Logo-Grey.png|50xpx|link=]] }}</div>
Line 117: Line 117:
<!-- END Info boxes row #1 -->
<!-- END Info boxes row #1 -->


<!-- Info boxes row #2 (full row) -->
<!-- Info boxes row #2 -->
{{Libraries and Societies section
{{Libraries and Societies section
| Section Title =  
| Section Title =  
Line 140: Line 140:
| 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/>}}] }}<br><br>
* 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:''' {{ #if: {{{Directions URL|}}} | {{{Directions URL|}}} }}
* Directions: {{ #if: {{{Directions URL|}}} | {{{Directions URL|}}} }}
{{ #if: {{{Directions|}}} |  
{{ #if: {{{Directions|}}} |  
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{{Directions|}}}
{{{Directions|}}}
</div> }}
</div> }}
{{ #ifeq: {{{Hours Link|}}} | NA | |
* Hours: {{ #if: {{{Hours URL|}}} | {{{Hours URL|}}} }}
* '''Hours:'''
}}
{{ #if: {{{Hours URL|}}} | {{{Hours URL|}}} }}
{{ #if: {{{Hours|}}} |  
{{ #if: {{{Hours|}}} |  
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{{Hours|}}}
{{{Hours|}}}
</div>
</div>
}}
* '''Closures:'''
{{ #ifeq: {{{Closures Link|}}} | NA | |
* '''Closures:'''  
}}
{{ #if: {{{Closures URL|}}} | {{{Closures URL|}}} }}
{{ #if: {{{Closures}}} |
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{{Closures|}}}
{{{Closures|}}}
</div>
</div>
}}
* '''Tips for visit:''' {{ #if: {{{Tips URL|}}} | {{{Tips URL|}}} }}
* '''Tips for visit:''' {{ #if: {{{Tips URL|}}} | {{{Tips URL|}}} }}
{{{Tips|}}}
{{{Tips|}}}
Line 174: Line 165:
<center>{{#cargo_display_map:point={{{Coordinates|}}}|width=400px|service=googlemaps}}</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>
}}
}}
}}
<!-- END Info boxes row #2 -->
<!-- END Info boxes row #2 -->
Line 218: Line 210:




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


<noinclude>
<noinclude>
: {{Note|Also see the '''[[:Category:Societies Form|category]]''', '''[[Special:CargoTables/Societies|table]]''', and [[Form:Societies Form|form]]'''.}}
: {{Note|Also see the '''[[:Category:Libraries and Societies Form|category]]''' (need to update after approval), '''[[Special:CargoTables/Libraries and Societies|table]]''', and [[Form:Libraries and Societies|form]]'''.}}
</noinclude>
</noinclude>

Revision as of 10:00, 3 May 2023

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