Difference between revisions of "Template:Birth year and age/testcases"
Jump to navigation
Jump to search
imported>Zyxw (create) |
imported>Zyxw (add tests) |
||
| Line 1: | Line 1: | ||
{{Testcases notice <!--|toc=on-->}} | {{Testcases notice <!--|toc=on-->}} | ||
| + | |||
| + | == Birth year == | ||
| + | {{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes|title="1964" | ||
| + | |code=<nowiki>{{__TEMPLATENAME__|1964}}</nowiki> | ||
| + | }} | ||
| + | {{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes|title=" 1964 " | ||
| + | |code=<nowiki>{{__TEMPLATENAME__| 1964 }}</nowiki> | ||
| + | }} | ||
| + | |||
| + | == Birth year and month == | ||
| + | {{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes|title=<nowiki>"1964|01"</nowiki> | ||
| + | |code=<nowiki>{{__TEMPLATENAME__|1964|01}}</nowiki> | ||
| + | }} | ||
| + | {{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes|title=<nowiki>" 1964 | 01 "</nowiki> | ||
| + | |code=<nowiki>{{__TEMPLATENAME__| 1964 | 01 }}</nowiki> | ||
| + | }} | ||
== Wikidata tracking == | == Wikidata tracking == | ||
Revision as of 04:30, 19 January 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
| "1964" | ||||||
|---|---|---|---|---|---|---|
{{Birth year and age|1964}}
|
| " 1964 " | ||||||
|---|---|---|---|---|---|---|
{{Birth year and age| 1964 }}
|
Birth year and month
| "1964|01" | ||||||
|---|---|---|---|---|---|---|
{{Birth year and age|1964|01}}
|
| " 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