Template:Information field/testcases
Jump to navigation
Jump to search
Test1
[edit]{{Artwork
|artist = a
|title =
*b1
*b2
|other_fields_1 = {{Information field|name=field1|value=*c}}
|source = d
}}
produces:
*b1
|
|
---|---|
Artist |
a |
field1 |
|
Title |
|
Source/Photographer | d |
Test2
[edit]{{Artwork
|artist = a
|title =
*b1
*b2
|other_fields_1 = {{Information field/sandbox|name=field1|value=c}}
|source = d
}}
produces:
*b1
|
|
---|---|
Artist |
a |
field1 | c |
Title |
|
Source/Photographer | d |
Test1
[edit]{{Artwork
|artist = a
|title =
*b1
*b2
|other_fields_1 = {{Information field/sandbox|name=field1|value=*c}}
|source = d
}}
produces:
*b1
|
|
---|---|
Artist |
a |
field1 |
|
Title |
|
Source/Photographer | d |
Test2
[edit]{{Artwork
|artist = a
|title =
*b1
*b2
|other_fields_1 = {{Information field/sandbox|name=field1|value=c}}
|source = d
}}
produces:
*b1
|
|
---|---|
Artist |
a |
field1 | c |
Title |
|
Source/Photographer | d |
Test3
[edit]{{Artwork
|artist = a
|title =
*b1
*b2
|other_fields_1 = {{Information field/sandbox|name=field1|value=c|classvalue=my_class}}
|source = d
}}
produces:
*b1
|
|
---|---|
Artist |
a |
field1 | c |
Title |
|
Source/Photographer | d |
Test4
[edit]{{Artwork
|artist = a
|title =
*b1
*b2
|other_fields_1 = {{Information field/sandbox|name=field1|value=c|id=my_field_id}}
|source = d
}}
produces:
*b1
|
|
---|---|
Artist |
a |
field1 | c |
Title |
|
Source/Photographer | d |