Difference between revisions of "User:JJR/heldby"

From Ephemeral Film Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Testing the held by template... we need it to display multiple
== HeldbyCountCommas Tests ==
This is for testing and QA
{| class="wikitable sortable"
|+ testing heldby
|-
! count !! h param !! opt param !! output !! standard code
|-
|1||Orgone ||catg || {{HeldbyCountCommas|h=Orgone Geeks|opt=ncat}} || GON
|-
|1||A/V Geeks ||catg || {{HeldbyCountCommas|h=A/V Geeks|opt=ncat}} || AVG
|-
|2||'''h='''NLM,A/V Geeks ||'''opt='''catg || {{HeldbyCountCommas|h=NLM,A/V Geeks|opt=catg}} || NIH and AVG
|-
|2||'''h='''afana,A/V Geeks ||'''opt='''name || {{HeldbyCountCommas|h=afana,A/V Geeks|opt=name}} || It is held by at least two archives, including Academic Film Archive of North America and A/V Geeks.
|-
|2||'''h='''NIH,PA || name || {{HeldbyCountCommas|h=NIH,PA|opt=name}} || It is held by at least two archives, including National Library of Medicine and Prelinger Archives
|-
|2||'''h='''NLM,A/V Geeks || link || {{HeldbyCountCommas|h=NLM,A/V Geeks|opt=link}} || NIH and AVG
|-
|2||'''h='''NLM,A/V Geeks || ncat || {{HeldbyCountCommas|h=NLM,A/V Geeks|opt=ncat}} || NIH and AVG
|-
|1||'''h='''PRE || name ||{{HeldbyCountCommas|h=PRE|opt=name}} || PRE
|-
|2||'''h='''NLM,PA || ncat ||{{HeldbyCountCommas|h=NLM,PA|opt=ncat}} ||
|-
|4||IUL,PA,AVG,NIH || name ||{{HeldbyCountCommas|h=IUL,PA,AVG,NIH|opt=name}} ||
|-
|3||IUL,PA,NIH || name ||{{HeldbyCountCommas|h=IUL,PA,NIH|opt=ncat}} ||
|}
== HeldbyStd Tests ==
{| class="wikitable"
|+ testing
|-
! In !! Actual Out !! Desired Out
|-
| NIH || {{HeldbyStd|h=NIH}} || NIH
|-
| NLM || {{HeldbyStd|h=NLM}} || NIH
|-
| Orgone || {{HeldbyStd|h=Orgone}} || GON
|-
| GON || {{HeldbyStd|h=GON}} || GON
|-
| gon || {{HeldbyStd|h=gon}} || GON
|-
| A/V Geeks || {{HeldbyStd|h=A/V Geeks}} || AVG
|}


== See Also ==
== See Also ==

Latest revision as of 14:39, 3 January 2022