Difference between revisions of "Template:AFL Tables/testcases"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
(create testcases)
 
blackwiki>Zyxw
(update testcases)
Line 4: Line 4:
  
 
=== with .html in first parameter ===
 
=== with .html in first parameter ===
''Usage:''
+
* ''Usage:'' <code><nowiki>{{</nowiki>AflRleague | B/Brendan_Fevola.html | Brendan Fevola }}</code>
* <code><nowiki>{{</nowiki>AflRleague | B/Brendan_Fevola.html | Brendan Fevola }}</code>
+
* ''Output:'' {{AflRleague | B/Brendan_Fevola.html | Brendan Fevola }}
''Output:''
+
* ''Sandbox:'' {{AflRleague/sandbox | B/Brendan_Fevola.html | Brendan Fevola }}
* {{AflRleague | B/Brendan_Fevola.html | Brendan Fevola }}
 
''Sandbox:''
 
* {{AflRleague/sandbox | B/Brendan_Fevola.html | Brendan Fevola }}
 
  
 
=== without .html in first parameter ===
 
=== without .html in first parameter ===
''Usage:''
+
* ''Usage:'' <code><nowiki>{{</nowiki>AflRleague | B/Brendan_Fevola | Brendan Fevola }}</code>
* <code><nowiki>{{</nowiki>AflRleague | B/Brendan_Fevola | Brendan Fevola }}</code>
+
* ''Output:'' {{AflRleague | B/Brendan_Fevola | Brendan Fevola }}
''Output:''
+
* ''Sandbox:'' {{AflRleague/sandbox | B/Brendan_Fevola | Brendan Fevola }}
* {{AflRleague | B/Brendan_Fevola | Brendan Fevola }}
 
''Sandbox:''
 
* {{AflRleague/sandbox | B/Brendan_Fevola | Brendan Fevola }}
 
  
== Named parameters ==
+
== Named parameters: alt, ref ==
 +
 
 +
=== with .html in ref parameter ===
 +
* ''Usage:'' <code><nowiki>{{</nowiki>AflRleague | ref= J/Jonathan_Brown.html | alt= Jonathan Brown }}</code>
 +
* ''Output:''  {{AflRleague | ref= J/Jonathan_Brown.html | alt= Jonathan Brown }}
 +
* ''Sandbox:'' {{AflRleague/sandbox | ref= J/Jonathan_Brown.html | alt= Jonathan Brown }}
 +
 
 +
=== without .html in ref parameter ===
 +
* ''Usage:'' <code><nowiki>{{</nowiki>AflRleague | ref= J/Jonathan_Brown | alt= Jonathan Brown }}</code>
 +
* ''Output:''  {{AflRleague | ref= J/Jonathan_Brown | alt= Jonathan Brown }}
 +
* ''Sandbox:'' {{AflRleague/sandbox | ref= J/Jonathan_Brown | alt= Jonathan Brown }}
 +
 
 +
== Named parameters: id, name ==
  
 
=== with .html in id parameter ===
 
=== with .html in id parameter ===
''Usage:''
+
* ''Usage:'' <code><nowiki>{{</nowiki>AflRleague | id= J/Jonathan_Brown.html | name= Jonathan Brown }}</code>
* <code><nowiki>{{</nowiki>AflRleague | ref= J/Jonathan_Brown.html | alt= Jonathan Brown }}</code>
+
* ''Output:'' {{AflRleague | id= J/Jonathan_Brown.html | name= Jonathan Brown }}
''Output:''
+
* ''Sandbox:'' {{AflRleague/sandbox | id= J/Jonathan_Brown.html | name= Jonathan Brown }}
* {{AflRleague | ref= J/Jonathan_Brown.html | alt= Jonathan Brown }}
 
''Sandbox:''
 
* {{AflRleague/sandbox | ref= J/Jonathan_Brown.html | alt= Jonathan Brown }}
 
  
 
=== without .html in id parameter ===
 
=== without .html in id parameter ===
''Usage:''
+
* ''Usage:'' <code><nowiki>{{</nowiki>AflRleague | id= J/Jonathan_Brown | name= Jonathan Brown }}</code>
* <code><nowiki>{{</nowiki>AflRleague | ref= J/Jonathan_Brown | alt= Jonathan Brown }}</code>
+
* ''Output:'' {{AflRleague | id= J/Jonathan_Brown | name= Jonathan Brown }}
''Output:''
+
* ''Sandbox:'' {{AflRleague/sandbox | id= J/Jonathan_Brown | name= Jonathan Brown }}
* {{AflRleague | ref= J/Jonathan_Brown | alt= Jonathan Brown }}
 
''Sandbox:''
 
* {{AflRleague/sandbox | ref= J/Jonathan_Brown | alt= Jonathan Brown }}
 

Revision as of 21:50, 3 May 2014

Unnamed parameters

with .html in first parameter

without .html in first parameter

Named parameters: alt, ref

with .html in ref parameter

without .html in ref parameter

Named parameters: id, name

with .html in id parameter

without .html in id parameter