Difference between revisions of "Template:Cite bcgnis/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Droll
(added cases)
imported>Droll
(new test cases)
Line 2: Line 2:
  
 
== Testing sandbox version ==
 
== Testing sandbox version ==
<pre>
 
{{cite bcgnis/sandbox|6229|Kokanee Range}}
 
</pre>
 
{{cite bcgnis/sandbox|6229|Kokanee Range}}
 
  
<pre>
+
;with named paramters
{{cite bcgnis/sandbox|6229}}
+
{{cite bcgnis/sandbox |id=6229 |title=Kokanee Range |accessdate=2010-01-27 }}
</pre>
 
{{cite bcgnis/sandbox|6229}}
 
  
<pre>
+
;with unnamed paramters
{{cite bcgnis/sandbox|id=6229|name=}}
+
{{cite bcgnis/sandbox |6229 |Kokanee Range |2010-01-27 }}
</pre>
+
 
{{cite bcgnis/sandbox|id=6229|name=}}
+
;with no id
 +
{{cite bcgnis/sandbox }}
 +
 
 +
;with no name
 +
{{cite bcgnis/sandbox |6229 }}
  
 
{{clear}}
 
{{clear}}
 +
 
== Testing main template ==
 
== Testing main template ==
  
<pre>
+
;with named paramters
{{cite bcgnis|6229|Kokanee Range}}
+
{{cite bcgnis |id=6229 |title=Kokanee Range |accessdate=2010-01-27 }}
</pre>
+
 
{{cite bcgnis|6229|Kokanee Range}}
+
;with unnamed paramters
 +
{{cite bcgnis |6229 |Kokanee Range |2010-01-27 }}
 +
 
 +
;with no id
 +
{{cite bcgnis }}
 +
 
 +
;with no name
 +
{{cite bcgnis |6229 }}

Revision as of 07:54, 27 September 2010

Testing sandbox version

with named paramters

"Script error: No such module "If empty".". BC Geographical Names. Retrieved 2010-01-27.

with unnamed paramters

"Script error: No such module "If empty".". BC Geographical Names. Retrieved 2010-01-27.

with no id

Error: no valid id number specified when using {{cite bcgnis}}Template:Namespace detect showall

with no name

"Script error: No such module "If empty".". BC Geographical Names.

Testing main template

with named paramters

"Script error: No such module "If empty".". BC Geographical Names. Retrieved 2010-01-27.

with unnamed paramters

"Script error: No such module "If empty".". BC Geographical Names. Retrieved 2010-01-27.

with no id

Error: no valid id number specified when using {{cite bcgnis}}Template:Namespace detect showall

with no name

"Script error: No such module "If empty".". BC Geographical Names.