Template:FS AfLib/doc: Difference between revisions

No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Usage ==
== Usage ==
This category is used to display the names and contact information for FamilySearch Affiliate Libraries.
This category is used to display the names and contact information for FamilySearch Affiliate Libraries.
 
The template should be placed on the appropriate state or country Libraries and Archives pages and on the county page where the affiliate library is located.
 
Entries should go at the end of the article in a level 3 header called FamilySearch Affiliate Libraries.


== Parameters ==
== Parameters ==
Line 12: Line 16:
*URL - website of the affiliate library
*URL - website of the affiliate library


It the Address2 parameter is NULL the template will supress the line from displaying. All other values will appear as they are entered into the template.
If the Address2 or URL parameter is NULL the template will supress the line from displaying. All other values will appear as they are entered into the template.
 
The data that initially supplied the information to populate the template did not contain a value for the URL parameter.


== Sample Code ==
== Sample Code ==
The sample below includes a URL for the society. This data was not supplied with the original data used to populate this template. It is included here only for reference.
<PRE>
<PRE>
{{FS_AfLib
{{FS_AfLib
Line 23: Line 30:
|State=ACT
|State=ACT
|PostCode=  
|PostCode=  
|URL= [https://www.familysearch.org https://www.familysearch.org] }}
|URL= [https://familyhistoryact.org.au/ https://familyhistoryact.org.au/] }}
</PRE>
</PRE>


You can also create the template and parameters as a long string of text:
You can also create the template and parameters as a long string of text:
<PRE>
<PRE>
{{FS_AfLib|Name=Heraldry & Gen. Soc. Of Canberra|Address=Cook Community Hub|Address2= |City=Cook|State=ACT|PostCode= 2614 |URL= [https://www.familysearch.org https://www.familysearch.org] }}
{{FS_AfLib|Name=Heraldry & Gen. Soc. Of Canberra|Address=Cook Community Hub|Address2= |City=Cook|State=ACT|PostCode= 2614 |URL= [https://familyhistoryact.org.au/ https://familyhistoryact.org.au/] }}
</PRE>
</PRE>


== Categories ==
== Categories ==
This template creates the category FamilySearch Affiliate Library on the pages where it is used.
This template creates the category FamilySearch Affiliate Library on the pages where it is used.
[[Category:Template documentation]]
[[Category:WikiProject FamilySearch Historical Records templates]]

Latest revision as of 11:20, 27 January 2020

Usage

This category is used to display the names and contact information for FamilySearch Affiliate Libraries.

The template should be placed on the appropriate state or country Libraries and Archives pages and on the county page where the affiliate library is located.

Entries should go at the end of the article in a level 3 header called FamilySearch Affiliate Libraries.

Parameters

This template takes the following parameters:

  • Name - name of the affiliate library
  • Address - main street address
  • Address2 - secondary address
  • City - city
  • State - state
  • PostCode - postal delivery code (or ZIP Code in the USA)
  • URL - website of the affiliate library

If the Address2 or URL parameter is NULL the template will supress the line from displaying. All other values will appear as they are entered into the template.

The data that initially supplied the information to populate the template did not contain a value for the URL parameter.

Sample Code

The sample below includes a URL for the society. This data was not supplied with the original data used to populate this template. It is included here only for reference.

{{FS_AfLib
|Name=Heraldry & Gen. Soc. Of Canberra
|Address=Cook Community Hub
|Address2= 
|City=Cook
|State=ACT
|PostCode= 
|URL= [https://familyhistoryact.org.au/ https://familyhistoryact.org.au/] }}

You can also create the template and parameters as a long string of text:

{{FS_AfLib|Name=Heraldry & Gen. Soc. Of Canberra|Address=Cook Community Hub|Address2= |City=Cook|State=ACT|PostCode= 2614 |URL= [https://familyhistoryact.org.au/ https://familyhistoryact.org.au/] }}

Categories

This template creates the category FamilySearch Affiliate Library on the pages where it is used.