Difference between revisions of "Template:GAR/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Retro
(Compare.)
 
imported>Retro
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Testcases notice <!--|toc=on-->}}
 
{{Testcases notice <!--|toc=on-->}}
  
==Template==
+
==Normal use==
 +
{{tlc|GAR}}:
 +
 
 
{{GAR}}
 
{{GAR}}
  
==Sandbox==
+
{{tlc|GAR/sandbox}}:
 +
 
 
{{GAR/sandbox}}
 
{{GAR/sandbox}}
  
<!--
+
==Rendering preview==
{{clear}}
+
{{tlc|GAR|preview{{=}}yes}}:
== References ==
+
 
{{reflist}}
+
{{GAR|preview=yes}}
-->
+
 
 +
{{tlc|GAR/sandbox|preview{{=}}yes}}:
 +
 
 +
{{GAR/sandbox|preview=yes}}
 +
 
 +
==Namespace test==
 +
{{hatnote|This particular is purely intended for temporary testing purposes; it should not be implemented into the actual template}}
 +
{{tlc|GAR/sandbox|namespace{{=}}Talk}}:
 +
 
 +
{{GAR/sandbox|namespace=Talk}}
 +
 
 +
*Comment: This test shows the template works even when not substituted; ideally, it would display some type of error.

Latest revision as of 03:53, 20 June 2019

Normal use

{{GAR}}:

The {{GAR}} template should be substituted at the top of the article talk page.

{{GAR/sandbox}}:

The {{GAR}} template should be substituted at the top of the article talk page.

Rendering preview

{{GAR|preview=yes}}:

The {{GAR}} template should be substituted at the top of the article talk page.

{{GAR/sandbox|preview=yes}}:

Namespace test

{{GAR/sandbox|namespace=Talk}}:

  • Comment: This test shows the template works even when not substituted; ideally, it would display some type of error.