Difference between revisions of "Template:Historylink/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Bri
m (→‎Testing main template: oops non sandbox)
imported>Bri
m (→‎No parameters: spaces required!)
Line 74: Line 74:
 
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code>
 
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code>
  
{{{{BASEPAGENAME}}}}
+
{{ {{BASEPAGENAME}} }}
  
 
{{clear}}
 
{{clear}}

Revision as of 21:00, 9 November 2010

Testing sandbox version

No parameters

{{Historylink/sandbox}}

Uncited article, HistoryLink


All parameters

{{Historylink/sandbox |title = Sample Title |article = 9999 |author = John Doe |date = January 1, 1901 }}

John Doe (January 1, 1901), Sample Title, HistoryLink


Title only

{{Historylink/sandbox |title = Sample Title }}

Sample Title, HistoryLink


Article ID only

{{Historylink/sandbox |article = 9999 }}

Essay #9999, HistoryLink


Author only

{{Historylink/sandbox |author = John Doe }}

John Doe, Uncited article, HistoryLink


Date only

{{Historylink/sandbox |date = January 1, 1901 }}

Uncited article, HistoryLink, January 1, 1901


Testing main template

No parameters

{{Historylink}}

Uncited article, HistoryLink


All parameters

{{Historylink |title = Sample Title |article = 9999 |author = John Doe |date = January 1, 1901 }}

John Doe (January 1, 1901), Sample Title, HistoryLink


Title only

{{Historylink |title = Sample Title }}

Sample Title, HistoryLink


Article ID only

{{Historylink |article = 9999 }}

Essay #9999, HistoryLink


Author only

{{Historylink |author = John Doe }}

John Doe, Uncited article, HistoryLink


Date only

{{Historylink |date = January 1, 1901 }}

Uncited article, HistoryLink, January 1, 1901