Template:Societies Form: Difference between revisions

No edit summary
No edit summary
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Libraries and Societies" template.
This is the "Societies" template.
{{#cargo_declare:_table=Libraries_and_Societies
{{#cargo_declare:_table=Societies
|Title=String
|Title=String
|Image=File
|Image=File
Line 29: Line 29:
|Hours=Text
|Hours=Text
|Closures=Text
|Closures=Text
|Tips=URL
|Services=Text
|Services=Text
|Current_projects=Text
|Hardware_Software=Text
|Hardware_Software=Text
|Current_projects=Text
|Online_Collections=List (,) of String
|Online_Collections=List (,) of String
|Approval=String
|Approval=String
}}
}}
</noinclude><includeonly>{{#cargo_store:_table=Libraries_and_Societies
</noinclude><includeonly>{{#cargo_store:_table=Societies
|Title={{{Title|}}}
|Title={{{Title|}}}
|Image={{{Image|}}}
|Image={{{Image|}}}
Line 64: Line 65:
|Closures={{{Closures|}}}
|Closures={{{Closures|}}}
|Services={{{Services|}}}
|Services={{{Services|}}}
|Current_projects={{{Current projects|}}}
|Hardware_Software={{{Hardware Software|}}}
|Hardware_Software={{{Hardware Software|}}}
|Current_projects={{{Current projects|}}}
|Online_Collections={{{Online Collections|}}}
|Online_Collections={{{Online Collections|}}}
|Approval={{{Approval|}}}
|Approval={{{Approval|}}}
Line 77: Line 78:
| Resources Title = About Us
| Resources Title = About Us
| Resources Content =
| Resources Content =
* {{ #if: {{{Website|}}} | Website: {{{Website|}}} }}
* {{ #if: {{{Newsletter|}}} | Blog/Newsletter: {{{Newsletter|}}} }}
{{{Description|}}}
{{{Description|}}}
<Br><br><br>
* {{ #if: {{{Membership|}}} | * '''Membership:'''
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{ #if: {{{Membership|}}} | {{{Membership|}}} }}
</div> }}
}}
}}


Line 85: Line 89:
| Resources Title = Contact Us
| Resources Title = Contact Us
| Resources Content =
| Resources Content =
* {{ #if: {{{Website|}}} | Website: {{{Website|}}} }}
* {{ #if: {{{Website|}}} | '''Website:''' {{{Website|}}} }}
* {{ #if: {{{Email|}}} | Email: [mailto:{{{Email|}}} {{{Email|}}}] }}
* {{ #if: {{{Email|}}} | '''Email:''' [mailto:{{{Email|}}} {{{Email|}}}] }}
* {{ #if: {{{Contact Form|}}} | Contact Us Form: {{{Contact Form|}}} }}
* {{ #if: {{{Contact Form|}}} | '''Contact Us Form:''' {{{Contact Form|}}} }}
* {{ #if: {{{Phone|}}} | Phone: {{{Phone|}}} }}
* {{ #if: {{{Phone|}}} | '''Phone:''' {{{Phone|}}} }}
* {{ #if: {{{Phone 2|}}} | Phone: {{{Phone 2|}}} }}
* {{ #if: {{{Phone 2|}}} | '''Phone:''' {{{Phone 2|}}} }}
{{ #if: {{{Mailing Address|}}} |  
{{ #if: {{{Mailing Address|}}} |  
* Mailing Address: {{{Mailing Address|}}} }}
* '''Mailing Address:''' {{{Mailing Address|}}} }}
{{ #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 113: Line 117:
<!-- END Info boxes row #1 -->
<!-- END Info boxes row #1 -->


<!-- Info boxes row #2 -->
<!-- Info boxes row #2 (full row) -->
{{Libraries and Societies section
{{Libraries and Societies section
| Section Title =  
| Section Title =  
Line 121: Line 125:
| Resources Title = Resources/Services
| Resources Title = Resources/Services
| Resources Content =
| Resources Content =
* {{ #if: {{{Membership|}}} | * Membership:
* {{ #if: {{{Newsletter|}}} | '''Blog/Newsletter:''' {{{Newsletter|}}} }}
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
* {{ #if: {{{Services|}}} | * '''Reference/Research Services:'''
{{ #if: {{{Membership|}}} | {{{Membership|}}} }}
</div> }}
* {{ #if: {{{Services|}}} | * Research Services:  
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{ #if: {{{Services|}}} | {{{Services|}}} }}
{{ #if: {{{Services|}}} | {{{Services|}}} }}
</div> }}
* {{ #if: {{{Hardware Software|}}} | * Scanners:
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{ #if: {{{Hardware Software|}}} | {{{Hardware Software|}}} }}
</div> }}
</div> }}
* {{ #if: {{{Events URL|}}} | [{{{Events URL|}}} Classes Link] }}
* {{ #if: {{{Events URL|}}} | [{{{Events URL|}}} Classes Link] }}
* {{ #if: {{{Events Description|}}} | * Classes:  
* {{ #if: {{{Events Description|}}} | * '''Classes:'''
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{ #if: {{{Events Description|}}} | {{{Events Description|}}} }}
{{ #if: {{{Events Description|}}} | {{{Events Description|}}} }}
Line 143: 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> }}
* Hours: {{ #if: {{{Hours URL|}}} | {{{Hours URL|}}} }}
{{ #ifeq: {{{Hours Link|}}} | NA | |
* '''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|}}}
}}
}}
}}
}}
Line 166: Line 174:
<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 -->


<!-- Info boxes row #3 (full row) -->
<!-- Info boxes row #3 (full row) -->
{{Libraries and Societies section
| Section Title =
| Section Content =
{{Libraries and Societies resources
{{Libraries and Societies resources
| Resources Title = Genealogy Collections
| Resources Title = Genealogy Collections
Line 196: Line 199:
| Resources Title = More Details
| Resources Title = More Details
| Resources Content =
| Resources Content =
<div style="display:flex; flex-wrap:wrap; justify-content:center;"> <!-- Genealogy row -->
<div style="margin:5px; text-align:left; flex: 1 1 150px;"> <!-- Genealogy column left -->
* {{ #if: {{{Current projects|}}} | * '''Current Projects:'''
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{{Current projects|}}}
{{{Current projects|}}} | {{{Current projects|}}} }}
</div>
</div>
 
</div> <!-- END Genealogy column left -->
<div style="margin:5px; text-align:left; flex: 1 1 150px;"> <!-- Genealogy column right -->
* {{ #if: {{{Hardware Software|}}} | * '''Hardware/Software:'''
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{ #if: {{{Hardware Software|}}} | {{{Hardware Software|}}} }}
</div>
</div> <!-- END Genealogy column right -->
}}
}}
}}
}}
Line 206: Line 218:




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


<noinclude>
<noinclude>
: {{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]]'''.}}
: {{Note|Also see the '''[[:Category:Societies Form|category]]''', '''[[Special:CargoTables/Societies|table]]''', and [[Form:Societies Form|form]]'''.}}
</noinclude>
</noinclude>

Latest revision as of 11:09, 12 June 2023

This is the "Societies" template. This template defines the table "Societies". View table.