Template talk:FSHI2: Difference between revisions

From FamilySearch Wiki
No edit summary
No edit summary
Line 1: Line 1:
==Examples==
{| class="wikitable"
{| class="wikitable"
! Wikitext !! style="width:600px;" | Result !! Correct !! Notes
! Wikitext !! style="width:600px;" | Result !! Correct !! Notes
Line 9: Line 10:
|-
|-
| <code><nowiki>{{FSHI2|DGS=8417008}}, {{FSHI2|DGS=8417008|Item=M9DP-VQB|Nbr=2}}, {{FSHI2|DGS=8417008|Item=M9DP-VQY|Image=6}}</nowiki></code> ||  
| <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
This {{FSHI2|DGS=8417008}}, {{FSHI2|DGS=8417008|Item=M9DP-VQB|Nbr=2}}, {{FSHI2|DGS=8417008|Item=M9DP-VQY|Image=6}} || ? || 3 together
|-
|-
| <code><nowiki>{{FSHI2}}</nowiki></code> || {{FSHI2}} || ? || DGS missing
| <code><nowiki>{{FSHI2}}</nowiki></code> || {{FSHI2}} || ? || DGS missing
|}
==Examples of wrapping==
{| class="wikitable"
! Wikitext !! style="width:600px;" | Result !! Correct !! Notes
|-
| <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}} || ? || Wraps
|-
| <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}} || ? || Forced new line
|-
| <code><nowiki>1, 2, 3</nowiki></code> || 1, 2, 3 || ? || Text is fine
|-
| <code><nowiki>[https://www.familysearch.org/records/images/beta/search-results?imageGroupNumbers=8417008&page=1 DGS 8417008], [https://www.familysearch.org/records/images/image-details?imageGroupNumbers=8417008&page=1&rmsId=M9DP-VQB&imageIndex=0 DGS 8417008 Item 2], [https://www.familysearch.org/records/images/image-details?imageGroupNumbers=8417008&page=1&rmsId=M9DP-VQY&imageIndex=6&singleView=true DGS 8417008 Image# 6]</nowiki></code> || [https://www.familysearch.org/records/images/beta/search-results?imageGroupNumbers=8417008&page=1 DGS 8417008], [https://www.familysearch.org/records/images/image-details?imageGroupNumbers=8417008&page=1&rmsId=M9DP-VQB&imageIndex=0 DGS 8417008 Item 2], [https://www.familysearch.org/records/images/image-details?imageGroupNumbers=8417008&page=1&rmsId=M9DP-VQY&imageIndex=6&singleView=true DGS 8417008 Image# 6] || ? || Links are fine (vs. Templates)
|-
| <code><nowiki>{{Test11}}, {{Test11}}, {{Test11}}</nowiki></code> || {{Test11}}, {{Test11}}, {{Test11}} || ? || Doesn't wrap
|-
| <code><nowiki>{{Test12}}, {{Test12}}, {{Test12}}</nowiki></code> || {{Test12}}, {{Test12}}, {{Test12}} || ? || Doesn't wrap
|-
| <code><nowiki>{{Test13|This=0|That=ABC}}, {{Test13|This=1|That=DEF}}, {{Test13|This=2|That=HIG}}</nowiki></code> || {{Test13|This=0|That=ABC}}, {{Test13|This=1|That=DEF}}, {{Test13|This=2|That=HIG}} || ? || Doesn't wrap
|}
==Isolated wrapping issue==
{| class="wikitable"
! Wikitext !! style="width:600px;" | Result !! Correct !! Notes
|-
| <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}} || ? ||
|}
|}

Revision as of 16:29, 29 April 2024

Examples[edit source]

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}}

This DGS 8417008, Error (no DGS or missing fields), Error (no DGS or missing fields) || ? || 3 together

{{FSHI2}} Error (no DGS or missing fields) ? DGS missing


Examples of wrapping[edit source]

Wikitext Result Correct Notes
{{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) ? Wraps
{{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) || ? || Forced new line

1, 2, 3 1, 2, 3 ? Text is fine
[https://www.familysearch.org/records/images/beta/search-results?imageGroupNumbers=8417008&page=1 DGS 8417008], [https://www.familysearch.org/records/images/image-details?imageGroupNumbers=8417008&page=1&rmsId=M9DP-VQB&imageIndex=0 DGS 8417008 Item 2], [https://www.familysearch.org/records/images/image-details?imageGroupNumbers=8417008&page=1&rmsId=M9DP-VQY&imageIndex=6&singleView=true DGS 8417008 Image# 6] DGS 8417008, DGS 8417008 Item 2, DGS 8417008 Image# 6 ? Links are fine (vs. Templates)
{{Test11}}, {{Test11}}, {{Test11}} Some text as a test, Some text as a test, Some text as a test || ? || Doesn't wrap
{{Test12}}, {{Test12}}, {{Test12}} Test link, Test link, Test link || ? || Doesn't wrap
{{Test13|This=0|That=ABC}}, {{Test13|This=1|That=DEF}}, {{Test13|This=2|That=HIG}} Test link ABC (6), Test link DEF (6), Test link HIG (6) ? Doesn't wrap


Isolated wrapping issue[edit source]

Wikitext Result Correct Notes
{{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) ?