Template:FS AfLib/doc: Difference between revisions
No edit summary |
|||
Line 31: | Line 31: | ||
</PRE> | </PRE> | ||
== 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. |
Revision as of 14:26, 25 March 2019
Usage[edit source]
This category is used to display the names and contact information for FamilySearch Affiliate Libraries.
Parameters[edit source]
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
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.
Sample Code[edit source]
{{FS_AfLib |Name=Heraldry & Gen. Soc. Of Canberra |Address=Cook Community Hub |Address2= |City=Cook |State=ACT |PostCode= |URL= [https://www.familysearch.org https://www.familysearch.org] }}
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://www.familysearch.org https://www.familysearch.org] }}
Categories[edit source]
This template creates the category FamilySearch Affiliate Library on the pages where it is used.