Template:Libraries and Societies: Difference between revisions

(Created page with "<noinclude> This is the "Family History Center" template. </noinclude><includeonly> {| style="border-collapse:collapse; width:473px; font-size:16px; border: 2px solid #aaaaaa;...")
 
(Added to Category To Be Reviewed.)
 
(55 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Family History Center" template.
This is the "Libraries and Societies" template.
</noinclude><includeonly>
{{#cargo_declare:_table=Libraries_and_Societies
{| style="border-collapse:collapse; width:473px; font-size:16px; border: 2px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
|Title=String
| style="text-align:center; background-color:#07a288; padding:2px; border:1px solid #777777;" colspan="2" |<span style="font-size:large; font-weight:bold;">{{{Title|}}}</span>
|Image=File
! Email:
|Description=Text
| {{{Email|}}}
|Email=Email
|-
|Website=URL
! Website URL:
|Contact_Form=URL
| {{{Website|}}}
|Newsletter=URL
|-
|Facebook=URL
! Newsletter URL:
|Twitter=URL
| {{{Newsletter|}}}
|Instagram=URL
|-
|Membership=Text
! Facebook URL:
|Address=String
| {{{Facebook|}}}
|Directions_Link=String
|-
|Directions_URL=URL
! Physical Address:
|Directions=Text
| {{{Address|}}}
|Coordinates=Coordinates
|-
|Mailing_Address=String
! Coordinates:
|Phone=String
| {{{Coordinates|}}}
|Phone_2=String
|-
|Other_Contact=String
! Mailing Address:
|Events_Link=String
| {{{Mailing Address|}}}
|Events_URL=URL
|-
|Events_Description=Text
! Phone:
|Hours_Link=String
| {{{Phone|}}}
|Hours_URL=URL
|-
|Hours=Text
! Phone 2:
|Closures=Text
| {{{Phone 2|}}}
|Services=Text
|-
|Hardware_Software=Text
! Other Contact Information:
|Current_projects=Text
| {{{Other Contact|}}}
|Online_Collections=List (,) of String
|-
|Approval=String
! Events URL:
}}
| {{{Events URL|}}}
</noinclude><includeonly>{{#cargo_store:_table=Libraries_and_Societies
|-
|Title={{{Title|}}}
! Events Description:
|Image={{{Image|}}}
| {{{Events Description|}}}
|Description={{{Description|}}}
|-
|Email={{{Email|}}}
! Directions/accessibility/<br>parking/public transport:
|Website={{{Website|}}}
| {{{Directions|}}}
|Contact_Form={{{Contact Form|}}}
|-
|Newsletter={{{Newsletter|}}}
! Hours:
|Facebook={{{Facebook|}}}
| {{{Hours|}}}
|Twitter={{{Twitter|}}}
|-
|Instagram={{{Instagram|}}}
! Closures:
|Membership={{{Membership|}}}
| {{{Closures|}}}
|Address={{{Address|}}}
|-
|Directions_Link={{{Directions Link|}}}
! Services (genealogy):
|Directions_URL={{{Directions URL|}}}
| {{{Services|}}}
|Directions={{{Directions|}}}
|-
|Coordinates={{{Coordinates|}}}
! Genealogical/<br>Featured Collections:
|Mailing_Address={{{Mailing Address|}}}
| {{{Collections|}}}
|Phone={{{Phone|}}}
|-
|Phone_2={{{Phone 2|}}}
! Online databases/<br>collections/software:
|Other_Contact={{{Other Contact|}}}
| {{{Online services|}}}
|Events_Link={{{Events Link|}}}
|-
|Events_URL={{{Events URL|}}}
! Hardware and software:
|Events_Description={{{Events Description|}}}
| {{{Hardware Software|}}}
|Hours_Link={{{Hours Link|}}}
|-
|Hours_URL={{{Hours URL|}}}
! Current projects:
|Hours={{{Hours|}}}
| {{{Current projects|}}}
|Closures={{{Closures|}}}
|}
|Services={{{Services|}}}
|Hardware_Software={{{Hardware Software|}}}
|Current_projects={{{Current projects|}}}
|Online_Collections={{{Online Collections|}}}
|Approval={{{Approval|}}}
}}
<!-- Info boxes row #1 -->
{{Libraries and Societies section
| Section Title =
| Section Content =


[[Category:Temp Family History Centers]]
{{Libraries and Societies resources
| Resources Title = About Us
| Resources Content =
* {{ #if: {{{Website|}}} | Website: {{{Website|}}} }}
* {{ #if: {{{Newsletter|}}} | Blog/Newsletter: {{{Newsletter|}}} }}
{{{Description|}}}
}}
 
{{Libraries and Societies resources
| Resources Title = Contact Us
| Resources Content =
* {{ #if: {{{Website|}}} | Website: {{{Website|}}} }}
* {{ #if: {{{Email|}}} | Email: [mailto:{{{Email|}}} {{{Email|}}}] }}
* {{ #if: {{{Contact Form|}}} | Contact Us Form: {{{Contact Form|}}} }}
* {{ #if: {{{Phone|}}} | Phone: {{{Phone|}}} }}
* {{ #if: {{{Phone 2|}}} | Phone: {{{Phone 2|}}} }}
{{ #if: {{{Mailing Address|}}} |
* Mailing Address: {{{Mailing Address|}}} }}
{{ #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>
}}
 
{{Libraries and Societies resources
| Resources Title = {{PAGENAME}}
| Resources Content =
{{{!}} style="text-align:center; margin:auto;"
{{!}}-
{{!}} <center>{{ #if: {{{Image|}}} | [[{{{Image|}}}|250px]] | [[File:Construction-icon-blue.png|250px|link=]] }}</center>
{{!}}}
}}
}}
<!-- END Info boxes row #1 -->
 
<!-- Info boxes row #2 -->
{{Libraries and Societies section
| Section Title =
| Section Content =
 
{{Libraries and Societies resources
| Resources Title = Resources/Services
| Resources Content =
* {{ #if: {{{Membership|}}} | * Membership:
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{ #if: {{{Membership|}}} | {{{Membership|}}} }}
</div> }}
* {{ #if: {{{Services|}}} | * Research Services:
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{ #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> }}
* {{ #if: {{{Events URL|}}} | [{{{Events URL|}}} Classes Link] }}
* {{ #if: {{{Events Description|}}} | * Classes:
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{ #if: {{{Events Description|}}} | {{{Events Description|}}} }}
</div> }}
}}
 
{{Libraries and Societies resources
| Resources Title = Visit Us
| 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>
* Directions: {{ #if: {{{Directions URL|}}} | {{{Directions URL|}}} }}
{{ #if: {{{Directions|}}} |
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{{Directions|}}}
</div> }}
* Hours: {{ #if: {{{Hours URL|}}} | {{{Hours URL|}}} }}
{{ #if: {{{Hours|}}} |
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{{Hours|}}}
</div>
* Closures:
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{{Closures|}}}
</div>
}}
}}
 
{{Libraries and Societies resources
| Resources Title = Map
| Resources Content =
<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>
}}
}}
<!-- END Info boxes row #2 -->
 
<!-- Info boxes row #3 (full row) -->
{{Libraries and Societies section
| Section Title =
| Section Content =
 
{{Libraries and Societies resources
| Resources Title = Genealogy Collections
| 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 -->
'''Online:'''
{{#cargo_query:table=OnlineCollectionsForm|fields=Display|where=_pageName="{{PAGENAME}}" AND Location="Online"|default=|format=ul}}
</div> <!-- END Genealogy column left -->
<div style="margin:5px; text-align:left; flex: 1 1 150px;"> <!-- Genealogy column right -->
'''Onsite:'''
{{#cargo_query:table=OnlineCollectionsForm|fields=Display|where=_pageName="{{PAGENAME}}" AND Location="Onsite"|default=|format=ul}}
</div> <!-- END Genealogy column right -->
</div> <!-- END Genealogy row -->
}}
 
{{Libraries and Societies resources
| Resources Title = More Details
| Resources Content =
<div style="margin:-20px 0 0 50px; white-space:pre-wrap;">
{{{Current projects|}}}
</div>
 
}}
}}
<!-- END Info boxes row #3 (full row) -->
 
 
 
[[Category:Libraries and Societies Form]]
{{#ifeq: {{{Approval|}}} | No | [[Category:To Be Reviewed]] }}
{{DISPLAYTITLE:{{{Title|}}} }}
{{DISPLAYTITLE:{{{Title|}}} }}
__NOTOC__
__NOTOC__
__NOCACHE__
__NOCACHE__
</includeonly>
</includeonly>
<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]]'''.}}
</noinclude>

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.