Difference between revisions of "Template:Birth year and age/testcases"
Jump to navigation
Jump to search
imported>Zyxw (add tests) |
imported>Zyxw (update tests) |
||
Line 2: | Line 2: | ||
== Birth year == | == Birth year == | ||
− | {{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes| | + | {{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes|showcode=no|titlecode=yes |
|code=<nowiki>{{__TEMPLATENAME__|1964}}</nowiki> | |code=<nowiki>{{__TEMPLATENAME__|1964}}</nowiki> | ||
}} | }} | ||
− | {{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes| | + | {{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes|showcode=no|titlecode=yes |
|code=<nowiki>{{__TEMPLATENAME__| 1964 }}</nowiki> | |code=<nowiki>{{__TEMPLATENAME__| 1964 }}</nowiki> | ||
}} | }} | ||
== Birth year and month == | == Birth year and month == | ||
− | {{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes| | + | {{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes|showcode=no|titlecode=yes |
|code=<nowiki>{{__TEMPLATENAME__|1964|01}}</nowiki> | |code=<nowiki>{{__TEMPLATENAME__|1964|01}}</nowiki> | ||
}} | }} | ||
− | {{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes| | + | {{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes|showcode=no|titlecode=yes |
|code=<nowiki>{{__TEMPLATENAME__| 1964 | 01 }}</nowiki> | |code=<nowiki>{{__TEMPLATENAME__| 1964 | 01 }}</nowiki> | ||
}} | }} |
Latest revision as of 03:13, 12 April 2019
![]() | This is the template test cases page for the sandbox of Template:Birth year and age. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Birth year
{{Birth year and age|1964}} | ||||||
---|---|---|---|---|---|---|
|
{{Birth year and age| 1964 }} | ||||||
---|---|---|---|---|---|---|
|
Birth year and month
{{Birth year and age|1964|01}} | ||||||
---|---|---|---|---|---|---|
|
{{Birth year and age| 1964 | 01 }} | ||||||
---|---|---|---|---|---|---|
|
Wikidata tracking
Tested with preview of /sandbox in Wikipedia articles.
No category added:
- article with Template:Prop in Wikidata: Gimena Accardi
- 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
- page not in article namespace: Template:No such name
Category added:
- article without Template:Prop in Wikidata: Maria Abbey
- article without item in Wikidata: No such name