Difference between revisions of "Template:Birth year and age/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(create)
 
imported>Zyxw
(update tests)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{Testcases notice <!--|toc=on-->}}
 
{{Testcases notice <!--|toc=on-->}}
 +
 +
== Birth year ==
 +
{{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes|showcode=no|titlecode=yes
 +
|code=<nowiki>{{__TEMPLATENAME__|1964}}</nowiki>
 +
}}
 +
{{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes|showcode=no|titlecode=yes
 +
|code=<nowiki>{{__TEMPLATENAME__| 1964 }}</nowiki>
 +
}}
 +
 +
== Birth year and month ==
 +
{{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes|showcode=no|titlecode=yes
 +
|code=<nowiki>{{__TEMPLATENAME__|1964|01}}</nowiki>
 +
}}
 +
{{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes|showcode=no|titlecode=yes
 +
|code=<nowiki>{{__TEMPLATENAME__| 1964 | 01 }}</nowiki>
 +
}}
  
 
== Wikidata tracking ==
 
== Wikidata tracking ==

Latest revision as of 03:13, 12 April 2019

Birth year

{{Birth year and age|1964}}
{{Birth year and age}} 1964 (age 60–61)
1964 (age&nbsp;60&ndash;61)
{{Birth year and age/sandbox}} 1964 (age 60–61)
1964 (age&nbsp;60&ndash;61)
{{Birth year and age| 1964 }}
{{Birth year and age}} 1964 (age 60–61)
 1964  (age&nbsp;60&ndash;61)
{{Birth year and age/sandbox}} 1964 (age 60–61)
 1964  (age&nbsp;60&ndash;61)

Birth year and month

{{Birth year and age|1964|01}}
{{Birth year and age}} January 1964 (age 61)
January&nbsp;1964 (age&nbsp;61)
{{Birth year and age/sandbox}} January 1964 (age 61)
January&nbsp;1964 (age&nbsp;61)
{{Birth year and age| 1964 | 01 }}
{{Birth year and age}} January  1964 (age 61)
January&nbsp; 1964  (age&nbsp;61)
{{Birth year and age/sandbox}} January  1964 (age 61)
January&nbsp; 1964  (age&nbsp;61)

Wikidata tracking

Tested with preview of /sandbox in Wikipedia articles.

No category added:

  1. article with Template:Prop in Wikidata: Gimena Accardi
  2. article without Template:Prop Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (Q5) in Wikidata: Russo brothers
  3. page not in article namespace: Template:No such name

Category added:

  1. article without Template:Prop in Wikidata: Maria Abbey
  2. article without item in Wikidata: No such name