Template talk:FSHI2: Difference between revisions

Add topic
Active discussions
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
| <code><nowiki>{{FSHI2|DGS=8417008}}</nowiki></code> || {{FSHI2|DGS=8417008}} || ? || DGS only
| <code><nowiki>{{FSHI2|DGS=8417008}}</nowiki></code> || {{FSHI2|DGS=8417008}} || ? || DGS only
|-
|-
| <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|ID=M9DP-VQB|Item=2}}</nowiki></code> || {{FSHI2|DGS=8417008|ID=M9DP-VQB|Item=2}} || ? || DGS and ID number
|-
|-
| <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=7834720|ID=TH-909-57232-21590-20|Image=7}}</nowiki></code> || {{FSHI2|DGS=7834720|ID=TH-909-57232-21590-20|Image=7}} || ? || DGS, ID 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> || 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|DGS=8417008}}, {{FSHI2|DGS=8417008|ID=M9DP-VQB|Item=2}}, {{FSHI2|DGS=7834720|ID=TH-909-57232-21590-20|Image=7}}</nowiki></code> || {{FSHI2|DGS=8417008}}, {{FSHI2|DGS=8417008|ID=M9DP-VQB|Item=2}}, {{FSHI2|DGS=8417008|ID=M9DP-VQY|Image=6}} || ? || 3 together
|-
|-
| <code><nowiki>{{FSHI2}}</nowiki></code> || {{FSHI2}} || ? || DGS missing
| <code><nowiki>{{FSHI2}}</nowiki></code> || {{FSHI2}} || ? || DGS missing
|}
==Wrapping==
===Examples of wrapping===
{| class="wikitable"
! Wikitext !! style="width:600px;" | Result !! 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 !! 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}} || No line break is OK
|-
| <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}} || Extra line breaks the table
|-
| <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}} || Does this work?
|-
| <code><nowiki>
{{Test14}}, {{Test14}}, {{Test14}}</nowiki></code> ||
{{Test14}}, {{Test14}}, {{Test14}} || Does this work?
|-
| <code><nowiki>
{{Test15}}</nowiki></code> ||
{{Test15}} || Does this work?
|-
| <code><nowiki>
{{#switch: 6 | 6 = 6 | 3 = 3 | 1 = 1 | Error }}</nowiki></code> ||
{{#switch: 6 | 6 = 6 | 3 = 3 | 1 = 1 | Error }} || Does this work?
|}
|}

Latest revision as of 11:12, 1 May 2024

Examples

Wikitext Result Correct Notes
{{FSHI2|DGS=8417008}} DGS 8417008 ? DGS only
{{FSHI2|DGS=8417008|ID=M9DP-VQB|Item=2}} DGS 8417008 Item 2 ? DGS and ID number
{{FSHI2|DGS=7834720|ID=TH-909-57232-21590-20|Image=7}} DGS 7834720 Image# 7 ? DGS, ID number, and Image number
{{FSHI2|DGS=8417008}}, {{FSHI2|DGS=8417008|ID=M9DP-VQB|Item=2}}, {{FSHI2|DGS=7834720|ID=TH-909-57232-21590-20|Image=7}} DGS 8417008, DGS 8417008 Item 2, DGS 8417008 Image# 6 ? 3 together
{{FSHI2}} Error (no DGS or missing fields) ? DGS missing
Return to "FSHI2" page.