Template:FSHI/doc: Difference between revisions

Line 37: Line 37:
#If the item and nr parameters are also present it should return a string as in #2 below.
#If the item and nr parameters are also present it should return a string as in #2 below.
#If all four parameters are present it should return a string as in #3 below.
#If all four parameters are present it should return a string as in #3 below.
#If and alt parameter is present display only that.


Sample input:
Sample input:
Line 43: Line 44:
#2 {{FSHI|DGS=8417008 |iD=M9DP-VQB |Item=2}}
#2 {{FSHI|DGS=8417008 |iD=M9DP-VQB |Item=2}}
#3 {{FSHI|DGS=8417008 |iD=M9DP-VQY |image=6}}
#3 {{FSHI|DGS=8417008 |iD=M9DP-VQY |image=6}}
#4 {FSHI|DGS=110264677 |alt=605-1-34}}
</pre>
</pre>
Expected output:
Expected output:
Line 54: Line 56:
|-
|-
| #3 || DGS 8417008 image# 6 || https://www.familysearch.org/records/images/image-details?imageGroupNumbers=8417008&page=1&rmsId=M9DP-VQY&imageIndex=6&singleView=true
| #3 || DGS 8417008 image# 6 || https://www.familysearch.org/records/images/image-details?imageGroupNumbers=8417008&page=1&rmsId=M9DP-VQY&imageIndex=6&singleView=true
|-
| #4 || 605-1-34 ||
|}
|}


Approver, Moderator, Protector, Reviewer, Bots, editor, pagecreator, pagedeleter, smwadministrator, Administrators
129,710

edits