Difference between revisions of "Template:Hatnote/testcases"

From blackwiki
Jump to navigation Jump to search
test>Mr. Stradivarius
(create)
 
test>Mr. Stradivarius
(it would help if I used the right parameter name)
Line 15: Line 15:
 
{{hatnote/sandbox|Foo|extraclasses=seealso}}
 
{{hatnote/sandbox|Foo|extraclasses=seealso}}
  
* <code><nowiki>{{hatnote/sandbox|Foo|seealso=yes}}</nowiki></code>
+
* <code><nowiki>{{hatnote/sandbox|Foo|selfref=yes}}</nowiki></code>
  
{{hatnote/sandbox|Foo|seealso=yes}}
+
{{hatnote/sandbox|Foo|selfref=yes}}
  
 
== Testing main template ==
 
== Testing main template ==
Line 33: Line 33:
 
{{hatnote|Foo|extraclasses=seealso}}
 
{{hatnote|Foo|extraclasses=seealso}}
  
* <code><nowiki>{{hatnote|Foo|seealso=yes}}</nowiki></code>
+
* <code><nowiki>{{hatnote|Foo|selfref=yes}}</nowiki></code>
  
{{hatnote|Foo|seealso=yes}}
+
{{hatnote|Foo|selfref=yes}}

Revision as of 04:27, 5 May 2014

Testing sandbox

  • {{hatnote/sandbox|category=no}}

Script error: No such module "hatnote/sandbox".

  • {{hatnote/sandbox|Foo}}

Script error: No such module "hatnote/sandbox".

  • {{hatnote/sandbox|Foo|extraclasses=seealso}}

Script error: No such module "hatnote/sandbox".

  • {{hatnote/sandbox|Foo|selfref=yes}}

Script error: No such module "hatnote/sandbox".

Testing main template

  • {{hatnote|category=no}}

Error: no text specified (help).

  • {{hatnote|Foo}}
  • {{hatnote|Foo|extraclasses=seealso}}
  • {{hatnote|Foo|selfref=yes}}