Difference between revisions of "Template:Birth-date/testcases"
Jump to navigation
Jump to search
imported>Zyxw (update tests) |
imported>Zyxw (update) |
||
Line 1: | Line 1: | ||
{{Testcases notice <!--|toc=on-->}} | {{Testcases notice <!--|toc=on-->}} | ||
− | == | + | == Date == |
− | {{Test case nowiki|format= | + | {{Test case nowiki|format=inline|output=nowiki+|collapsible=yes|showcode=yes|titlecode=yes |
+ | |code=<nowiki>{{__TEMPLATENAME__| December 7, 1941 }}</nowiki> | ||
+ | |addline={{Nowiki template demo|prefix= |format=inline|output=nowiki+|code=<nowiki>{{Birth date|1941|12|7}}</nowiki>}} | ||
+ | }} | ||
+ | {{Test case nowiki|format=inline|output=nowiki+|collapsible=yes|showcode=yes|titlecode=yes | ||
|code=<nowiki>{{__TEMPLATENAME__| 7 December 1941 }}</nowiki> | |code=<nowiki>{{__TEMPLATENAME__| 7 December 1941 }}</nowiki> | ||
+ | |addline={{Nowiki template demo|prefix= |format=inline|output=nowiki+|code=<nowiki>{{Birth date|1941|12|7|df=y}}</nowiki>}} | ||
}} | }} | ||
+ | |||
+ | == Date and time == | ||
{{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes|showcode=no|titlecode=yes | {{Test case nowiki|format=tablerows|output=nowiki+|collapsible=yes|showcode=no|titlecode=yes | ||
|code=<nowiki>{{__TEMPLATENAME__| 5:43PM HST, December 7th, 1941 |tz= y }}</nowiki> | |code=<nowiki>{{__TEMPLATENAME__| 5:43PM HST, December 7th, 1941 |tz= y }}</nowiki> |
Latest revision as of 15:28, 8 May 2019
![]() | This is the template test cases page for the sandbox of Template:Birth-date. 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: |
Date
{{Birth-date| December 7, 1941 }} |
---|
|
{{Birth-date| 7 December 1941 }} |
---|
|
Date and time
{{Birth-date| 5:43PM HST, December 7th, 1941 |tz= y }} | ||||||
---|---|---|---|---|---|---|
|
{{Birth-date| December 8, 1941 12:50PM Australia/Adelaide |tz= y }} | ||||||
---|---|---|---|---|---|---|
|
{{Birth-date| 9 June 1672 | {{OldStyleDate|9 June|1672|30 May}} }} | ||||||
---|---|---|---|---|---|---|
|
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