Difference between revisions of "Template:DGRG/testcases"
imported>PBS |
imported>PBS |
||
| Line 29: | Line 29: | ||
== Testing main template == | == Testing main template == | ||
| − | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> | + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |title=Antilibanus |first=Edward Boucher |last=James |volume=1 |pages=140,141 |url=http://books.google.com/books?id=9y0BAAAAQAAJ&pg=PA140#v=onepage&q&f=false}}</nowiki></code> |
| − | {{ {{BASEPAGENAME}}|title=Antilibanus |first=Edward Boucher |last=James |url=http://books.google.com/books?id=9y0BAAAAQAAJ&pg=PA140#v=onepage&q&f=false |volume=1 |pages=140,141}} | + | {{{{BASEPAGENAME}} |title=Antilibanus |first=Edward Boucher |last=James |volume=1 |pages=140,141 |url=http://books.google.com/books?id=9y0BAAAAQAAJ&pg=PA140#v=onepage&q&f=false}} |
| + | |||
| + | {{clear}} | ||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |wstitle=Antilibanus |first=Edward Boucher |last=James |volume=1 |pages=140,141}}</nowiki></code> | ||
| + | |||
| + | {{{{BASEPAGENAME}} |wstitle=Antilibanus |first=Edward Boucher |last=James |volume=1 |pages=140,141}} | ||
| + | |||
| + | {{clear}} | ||
| + | This one tests wstitle= to see that it ignores url= | ||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |wstitle=Antilibanus |first=Edward Boucher |last=James |volume=1 |pages=140,141 |url=http://books.google.com/books?id=9y0BAAAAQAAJ&pg=PA140#v=onepage&q&f=false}}</nowiki></code> | ||
| + | |||
| + | {{{{BASEPAGENAME}} |wstitle=Antilibanus |first=Edward Boucher |last=James |volume=1 |pages=140,141 |url=http://books.google.com/books?id=9y0BAAAAQAAJ&pg=PA140#v=onepage&q&f=false}} | ||
| + | |||
| + | {{clear}} | ||
| + | This one tests wstitle= and title= to see that it ignores test= and url= | ||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> |wstitle=Antilibanus |title=noWsAntilibanus |first=Edward Boucher |last=James |volume=1 |pages=140,141 |url=http://books.google.com/books?id=9y0BAAAAQAAJ&pg=PA140#v=onepage&q&f=false}}</nowiki></code> | ||
| + | |||
| + | {{{{BASEPAGENAME}} |wstitle=Antilibanus |title=noWsAntilibanus |first=Edward Boucher |last=James |volume=1 |pages=140,141 |url=http://books.google.com/books?id=9y0BAAAAQAAJ&pg=PA140#v=onepage&q&f=false}} | ||
Revision as of 12:23, 25 April 2011
| 42px | This is the template test cases page for the sandbox of Template:DGRG. 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: |
Testing sandbox version
{{DGRG/sandbox |title=Antilibanus |first=Edward Boucher |last=James |volume=1 |pages=140,141 |url=http://books.google.com/books?id=9y0BAAAAQAAJ&pg=PA140#v=onepage&q&f=false}}
12px This article incorporates text from a publication now in the public domain: James, Edward Boucher (1854). "Antilibanus". In Smith, William (ed.). Dictionary of Greek and Roman Geography. 1. London: John Murray. pp. 140, 141.
{{DGRG/sandbox |wstitle=Antilibanus |first=Edward Boucher |last=James |volume=1 |pages=140,141}}
12px This article incorporates text from a publication now in the public domain: James, Edward Boucher (1854). "Antilibanus". In Smith, William (ed.). Dictionary of Greek and Roman Geography. 1. London: John Murray. pp. 140, 141.
This one tests wstitle= to see that it ignores url=
{{DGRG/sandbox |wstitle=Antilibanus |first=Edward Boucher |last=James |volume=1 |pages=140,141 |url=http://books.google.com/books?id=9y0BAAAAQAAJ&pg=PA140#v=onepage&q&f=false}}
12px This article incorporates text from a publication now in the public domain: James, Edward Boucher (1854). "Antilibanus". In Smith, William (ed.). Dictionary of Greek and Roman Geography. 1. London: John Murray. pp. 140, 141.
This one tests wstitle= and title= to see that it ignores test= and url=
{{DGRG/sandbox |wstitle=Antilibanus |title=noWsAntilibanus |first=Edward Boucher |last=James |volume=1 |pages=140,141 |url=http://books.google.com/books?id=9y0BAAAAQAAJ&pg=PA140#v=onepage&q&f=false}}
12px This article incorporates text from a publication now in the public domain: James, Edward Boucher (1854). "Antilibanus". In Smith, William (ed.). Dictionary of Greek and Roman Geography. 1. London: John Murray. pp. 140, 141.
Testing main template
{{DGRG |title=Antilibanus |first=Edward Boucher |last=James |volume=1 |pages=140,141 |url=http://books.google.com/books?id=9y0BAAAAQAAJ&pg=PA140#v=onepage&q&f=false}}
12px This article incorporates text from a publication now in the public domain: James, Edward Boucher (1854). "Antilibanus". In Smith, William (ed.). Dictionary of Greek and Roman Geography. 1. London: John Murray. pp. 140, 141.
{{DGRG |wstitle=Antilibanus |first=Edward Boucher |last=James |volume=1 |pages=140,141}}
12px This article incorporates text from a publication now in the public domain: James, Edward Boucher (1854). "Antilibanus". In Smith, William (ed.). Dictionary of Greek and Roman Geography. 1. London: John Murray. pp. 140, 141.
This one tests wstitle= to see that it ignores url=
{{DGRG |wstitle=Antilibanus |first=Edward Boucher |last=James |volume=1 |pages=140,141 |url=http://books.google.com/books?id=9y0BAAAAQAAJ&pg=PA140#v=onepage&q&f=false}}
12px This article incorporates text from a publication now in the public domain: James, Edward Boucher (1854). "Antilibanus". In Smith, William (ed.). Dictionary of Greek and Roman Geography. 1. London: John Murray. pp. 140, 141.
This one tests wstitle= and title= to see that it ignores test= and url=
{{DGRG |wstitle=Antilibanus |title=noWsAntilibanus |first=Edward Boucher |last=James |volume=1 |pages=140,141 |url=http://books.google.com/books?id=9y0BAAAAQAAJ&pg=PA140#v=onepage&q&f=false}}
12px This article incorporates text from a publication now in the public domain: James, Edward Boucher (1854). "Antilibanus". In Smith, William (ed.). Dictionary of Greek and Roman Geography. 1. London: John Murray. pp. 140, 141.