Template:FSHI2: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#switch: {{#expr: {{#if: {{{DGS|}}} | 1 | 0 }} + {{#if: {{{Item|}}} | 2 | 0 }} + {{#if: {{{Image|}}} | 3 | 0 }} }} | ||
{{#if: {{{DGS|}}} | | | 6 = [https://www.familysearch.org/records/images/image-details?imageGroupNumbers={{{DGS|}}}&page=1&rmsId={{{Item|}}}&imageIndex={{{Image|}}}&singleView=true DGS {{{DGS|}}} Image# {{{Image|}}}] <!-- Case for Image --> | ||
{{#if:{{{ | | 3 = [https://www.familysearch.org/records/images/image-details?imageGroupNumbers={{{DGS|}}}&page=1&rmsId={{{Item|}}}&imageIndex=0 DGS {{{DGS|}}} Item {{{Nbr|?}}}] <!-- Case for Item --> | ||
| 1 = [https://www.familysearch.org/records/images/beta/search-results?imageGroupNumbers={{{DGS|}}}&page=1 DGS {{{DGS|}}}] <!-- Case for DGS Only --> | |||
| Error (no DGS) | |||
}} | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
| Line 17: | Line 13: | ||
! Wikitext !! Result !! Correct !! Notes | ! Wikitext !! Result !! Correct !! Notes | ||
|- | |- | ||
| <code><nowiki>{{FSHI2|DGS=8417008}}</nowiki></code> || {{FSHI2|DGS=8417008}} || ? || | | <code><nowiki>{{FSHI2|DGS=8417008}}</nowiki></code> || {{FSHI2|DGS=8417008}} || ? || DGS only | ||
|- | |- | ||
| <code><nowiki>{{FSHI2|DGS=8417008 | | | <code><nowiki>{{FSHI2|DGS=8417008|Item=M9DP-VQB|Nbr=2}}</nowiki></code> || {{FSHI2|DGS=8417008|Item=M9DP-VQB|Nbr=2}} || ? || DGS and Item number | ||
|- | |- | ||
| <code><nowiki>{{FSHI2|DGS=8417008 | | | <code><nowiki>{{FSHI2|DGS=8417008|Item=M9DP-VQY|Image=6}}</nowiki></code> || {{FSHI2|DGS=8417008|Item=M9DP-VQY|Image=6}} || ? || DGS, Item number, and Image number | ||
|- | |- | ||
| <code><nowiki>{{FSHI2|DGS=8417008}}, {{FSHI2|DGS=8417008|Item=M9DP-VQB|Nbr=2}}, {{FSHI2|DGS=8417008|Item=M9DP-VQY|Image=6}}</nowiki></code> || {{FSHI2|DGS=8417008}}, {{FSHI2|DGS=8417008|Item=M9DP-VQB|Nbr=2}}, {{FSHI2|DGS=8417008|Item=M9DP-VQY|Image=6}} || ? || 3 together | |||
| <code><nowiki>{{FSHI2|DGS=8417008}}, {{FSHI2|DGS=8417008 | | |||
|} | |} | ||
</noinclude> | </noinclude> | ||
Revision as of 14:44, 29 April 2024
| Wikitext | Result | Correct | Notes |
|---|---|---|---|
{{FSHI2|DGS=8417008}} |
DGS 8417008 | ? | DGS only |
{{FSHI2|DGS=8417008|Item=M9DP-VQB|Nbr=2}} |
Error (no DGS or missing fields) | ? | DGS and Item number |
{{FSHI2|DGS=8417008|Item=M9DP-VQY|Image=6}} |
Error (no DGS or missing fields) | ? | DGS, Item number, and Image number |
{{FSHI2|DGS=8417008}}, {{FSHI2|DGS=8417008|Item=M9DP-VQB|Nbr=2}}, {{FSHI2|DGS=8417008|Item=M9DP-VQY|Image=6}} |
DGS 8417008, Error (no DGS or missing fields), Error (no DGS or missing fields) | ? | 3 together |