Difference between revisions of "Template:Retrieved/testcases"
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
{{Template test cases notice}} | |||
{{ | =={{SUBJECTSPACE}}:{{BASEPAGENAME}}== | ||
"{{((}} {{BASEPAGENAME}} {{))}}": | |||
:"{{ {{BASEPAGENAME}} }}" | |||
===Linked date forms=== | |||
;Linked date form with parameter: accessdate | |||
"{{((}} {{BASEPAGENAME}} {{!}} accessdate={{#time:Y-m-d}} {{))}}": | |||
:"{{ {{BASEPAGENAME}} | accessdate={{#time:Y-m-d}} }}" | |||
"{{((}} {{BASEPAGENAME}} {{!}} accessdate={{#time:F j}} {{))}}": | |||
:"{{ {{BASEPAGENAME}} | accessdate={{#time:F j}} }}" | |||
"{{((}} {{BASEPAGENAME}} {{!}} accessdate={{#time:j F}} {{))}}": | |||
:"{{ {{BASEPAGENAME}} | accessdate={{#time:j F}} }}" | |||
;Linked date form with parameters: accessdate accessyear | |||
"{{((}} {{BASEPAGENAME}} {{!}} accessdate={{#time:F j}} {{!}} accessyear={{#time:Y}} {{))}}": | |||
:"{{ {{BASEPAGENAME}} | accessdate={{#time:F j}} | accessyear={{#time:Y}} }}" | |||
"{{((}} {{BASEPAGENAME}} {{!}} accessdate={{#time:j F}} {{!}} accessyear={{#time:Y}} {{))}}": | |||
:"{{ {{BASEPAGENAME}} | accessdate={{#time:j F}} | accessyear={{#time:Y}} }}" | |||
===Non-linked date forms=== | |||
;Non-linked date form with parameter: accessmonthday | |||
"{{((}} {{BASEPAGENAME}} {{!}} accessmonthday={{#time:Y-m-d}} {{))}}": | |||
:"{{ {{BASEPAGENAME}} | accessmonthday={{#time:Y-m-d}} }}" | |||
"{{((}} {{BASEPAGENAME}} {{!}} accessmonthday={{#time:F j}} {{))}}": | |||
:"{{ {{BASEPAGENAME}} | accessmonthday={{#time:F j}} }}" | |||
"{{((}} {{BASEPAGENAME}} {{!}} accessmonthday={{#time:j F}} {{))}}": | |||
:"{{ {{BASEPAGENAME}} | accessmonthday={{#time:j F}} }}" | |||
;Non-linked date form with parameter: accessdaymonth | |||
"{{((}} {{BASEPAGENAME}} {{!}} accessdaymonth={{#time:Y-m-d}} {{))}}": | |||
:"{{ {{BASEPAGENAME}} | accessdaymonth={{#time:Y-m-d}} }}" | |||
"{{((}} {{BASEPAGENAME}} {{!}} accessdaymonth={{#time:F j}} {{))}}": | |||
:"{{ {{BASEPAGENAME}} | accessdaymonth={{#time:F j}} }}" | |||
"{{((}} {{BASEPAGENAME}} {{!}} accessdaymonth={{#time:j F}} {{))}}": | |||
:"{{ {{BASEPAGENAME}} | accessdaymonth={{#time:j F}} }}" | |||
;Non-linked date form with parameters: accessmonthday accessyear | |||
"{{((}} {{BASEPAGENAME}} {{!}} accessmonthday={{#time:F j}} {{!}} accessyear={{#time:Y}} {{))}}": | |||
:"{{ {{BASEPAGENAME}} | accessmonthday={{#time:F j}} | accessyear={{#time:Y}} }}" | |||
"{{((}} {{BASEPAGENAME}} {{!}} accessmonthday={{#time:j F}} {{!}} accessyear={{#time:Y}} {{))}}": | |||
:"{{ {{BASEPAGENAME}} | accessmonthday={{#time:j F}} | accessyear={{#time:Y}} }}" | |||
;Non-linked date form with parameters: accessdaymonth accessyear | |||
"{{((}} {{BASEPAGENAME}} {{!}} accessdaymonth={{#time:F j}} {{!}} accessyear={{#time:Y}} {{))}}": | |||
:"{{ {{BASEPAGENAME}} | accessdaymonth={{#time:F j}} | accessyear={{#time:Y}} }}" | |||
"{{((}} {{BASEPAGENAME}} {{!}} accessdaymonth={{#time:j F}} {{!}} accessyear={{#time:Y}} {{))}}": | |||
:"{{ {{BASEPAGENAME}} | accessdaymonth={{#time:j F}} | accessyear={{#time:Y}} }}" | |||
===Parameter append=== | |||
"{{((}} {{BASEPAGENAME}} {{!}} accessdate={{#time:Y-m-d}} {{!}} append=! {{))}}": | |||
:"{{ {{BASEPAGENAME}} | accessdate={{#time:Y-m-d}} | append=! }}" | |||
===Parameter prepend=== | |||
"{{((}} {{BASEPAGENAME}} {{!}} accessdate={{#time:Y-m-d}} {{!}} prepend=.  {{))}}": | |||
:"{{ {{BASEPAGENAME}} | accessdate={{#time:Y-m-d}} | prepend=.  }}" | |||
=={{SUBJECTSPACE}}:{{BASEPAGENAME}}/sandbox== | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox }}" | |||
===Linked date forms=== | |||
;Linked date form with parameter: accessdate | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{!}} accessdate={{#time:Y-m-d}} {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox | accessdate={{#time:Y-m-d}} }}" | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{!}} accessdate={{#time:F j}} {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox | accessdate={{#time:F j}} }}" | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{!}} accessdate={{#time:j F}} {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox | accessdate={{#time:j F}} }}" | |||
;Linked date form with parameters: accessdate accessyear | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{!}} accessdate={{#time:F j}} {{!}} accessyear={{#time:Y}} {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox | accessdate={{#time:F j}} | accessyear={{#time:Y}} }}" | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{!}} accessdate={{#time:j F}} {{!}} accessyear={{#time:Y}} {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox | accessdate={{#time:j F}} | accessyear={{#time:Y}} }}" | |||
===Non-linked date forms=== | |||
;Non-linked date form with parameter: accessmonthday | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{!}} accessmonthday={{#time:Y-m-d}} {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox | accessmonthday={{#time:Y-m-d}} }}" | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{!}} accessmonthday={{#time:F j}} {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox | accessmonthday={{#time:F j}} }}" | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{!}} accessmonthday={{#time:j F}} {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox | accessmonthday={{#time:j F}} }}" | |||
;Non-linked date form with parameter: accessdaymonth | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{!}} accessdaymonth={{#time:Y-m-d}} {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox | accessdaymonth={{#time:Y-m-d}} }}" | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{!}} accessdaymonth={{#time:F j}} {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox | accessdaymonth={{#time:F j}} }}" | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{!}} accessdaymonth={{#time:j F}} {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox | accessdaymonth={{#time:j F}} }}" | |||
;Non-linked date form with parameters: accessmonthday accessyear | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{!}} accessmonthday={{#time:F j}} {{!}} accessyear={{#time:Y}} {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox | accessmonthday={{#time:F j}} | accessyear={{#time:Y}} }}" | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{!}} accessmonthday={{#time:j F}} {{!}} accessyear={{#time:Y}} {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox | accessmonthday={{#time:j F}} | accessyear={{#time:Y}} }}" | |||
;Non-linked date form with parameters: accessdaymonth accessyear | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{!}} accessdaymonth={{#time:F j}} {{!}} accessyear={{#time:Y}} {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox | accessdaymonth={{#time:F j}} | accessyear={{#time:Y}} }}" | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{!}} accessdaymonth={{#time:j F}} {{!}} accessyear={{#time:Y}} {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox | accessdaymonth={{#time:j F}} | accessyear={{#time:Y}} }}" | |||
===Parameter append=== | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{!}} accessdate={{#time:Y-m-d}} {{!}} append=! {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox | accessdate={{#time:Y-m-d}} | append=! }}" | |||
===Parameter prepend=== | |||
"{{((}} {{BASEPAGENAME}}/sandbox {{!}} accessdate={{#time:Y-m-d}} {{!}} prepend=.  {{))}}": | |||
:"{{ {{BASEPAGENAME}}/sandbox | accessdate={{#time:Y-m-d}} | prepend=.  }}" |
Latest revision as of 15:00, 3 February 2009
This is the template test case page for the Template:Retrieved/sandbox of Template:Retrieved. Purge this page to update the examples. If there are many examples of a complicated template, latter ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can test how this page looks in the different skins with these links: |
Template:Retrieved
"{{ Retrieved }}":
- ""
Linked date forms
- Linked date form with parameter: accessdate
"{{ Retrieved | accessdate=2024-06-01 }}":
- "Retrieved on 2024-06-01."
"{{ Retrieved | accessdate=June 1 }}":
- "Retrieved on June 1."
"{{ Retrieved | accessdate=1 June }}":
- "Retrieved on 1 June."
- Linked date form with parameters: accessdate accessyear
"{{ Retrieved | accessdate=June 1 | accessyear=2024 }}":
- "Retrieved on June 12024."
"{{ Retrieved | accessdate=1 June | accessyear=2024 }}":
- "Retrieved on 1 June2024."
Non-linked date forms
- Non-linked date form with parameter: accessmonthday
"{{ Retrieved | accessmonthday=2024-06-01 }}":
- "Retrieved on 2024-06-01."
"{{ Retrieved | accessmonthday=June 1 }}":
- "Retrieved on June 1."
"{{ Retrieved | accessmonthday=1 June }}":
- "Retrieved on 1 June."
- Non-linked date form with parameter: accessdaymonth
"{{ Retrieved | accessdaymonth=2024-06-01 }}":
- "Retrieved on 2024-06-01."
"{{ Retrieved | accessdaymonth=June 1 }}":
- "Retrieved on June 1."
"{{ Retrieved | accessdaymonth=1 June }}":
- "Retrieved on 1 June."
- Non-linked date form with parameters: accessmonthday accessyear
"{{ Retrieved | accessmonthday=June 1 | accessyear=2024 }}":
- "Retrieved on June 1, 2024."
"{{ Retrieved | accessmonthday=1 June | accessyear=2024 }}":
- "Retrieved on 1 June, 2024."
- Non-linked date form with parameters: accessdaymonth accessyear
"{{ Retrieved | accessdaymonth=June 1 | accessyear=2024 }}":
- "Retrieved on June 1 2024."
"{{ Retrieved | accessdaymonth=1 June | accessyear=2024 }}":
- "Retrieved on 1 June 2024."
Parameter append
"{{ Retrieved | accessdate=2024-06-01 | append=! }}":
- "Retrieved on 2024-06-01!"
Parameter prepend
"{{ Retrieved | accessdate=2024-06-01 | prepend=.  }}":
- ". Retrieved on 2024-06-01."
Template:Retrieved/sandbox
"{{ Retrieved/sandbox }}":
- ""
Linked date forms
- Linked date form with parameter: accessdate
"{{ Retrieved/sandbox | accessdate=2024-06-01 }}":
- "Retrieved on 2024-06-01."
"{{ Retrieved/sandbox | accessdate=June 1 }}":
- "Retrieved on June 1."
"{{ Retrieved/sandbox | accessdate=1 June }}":
- "Retrieved on 1 June."
- Linked date form with parameters: accessdate accessyear
"{{ Retrieved/sandbox | accessdate=June 1 | accessyear=2024 }}":
- "Retrieved on June 12024."
"{{ Retrieved/sandbox | accessdate=1 June | accessyear=2024 }}":
- "Retrieved on 1 June2024."
Non-linked date forms
- Non-linked date form with parameter: accessmonthday
"{{ Retrieved/sandbox | accessmonthday=2024-06-01 }}":
- "Retrieved on 2024-06-01."
"{{ Retrieved/sandbox | accessmonthday=June 1 }}":
- "Retrieved on June 1."
"{{ Retrieved/sandbox | accessmonthday=1 June }}":
- "Retrieved on 1 June."
- Non-linked date form with parameter: accessdaymonth
"{{ Retrieved/sandbox | accessdaymonth=2024-06-01 }}":
- "Retrieved on 2024-06-01."
"{{ Retrieved/sandbox | accessdaymonth=June 1 }}":
- "Retrieved on June 1."
"{{ Retrieved/sandbox | accessdaymonth=1 June }}":
- "Retrieved on 1 June."
- Non-linked date form with parameters: accessmonthday accessyear
"{{ Retrieved/sandbox | accessmonthday=June 1 | accessyear=2024 }}":
- "Retrieved on June 1, 2024."
"{{ Retrieved/sandbox | accessmonthday=1 June | accessyear=2024 }}":
- "Retrieved on 1 June, 2024."
- Non-linked date form with parameters: accessdaymonth accessyear
"{{ Retrieved/sandbox | accessdaymonth=June 1 | accessyear=2024 }}":
- "Retrieved on June 1 2024."
"{{ Retrieved/sandbox | accessdaymonth=1 June | accessyear=2024 }}":
- "Retrieved on 1 June 2024."
Parameter append
"{{ Retrieved/sandbox | accessdate=2024-06-01 | append=! }}":
- "Retrieved on 2024-06-01!"
Parameter prepend
"{{ Retrieved/sandbox | accessdate=2024-06-01 | prepend=.  }}":
- ". Retrieved on 2024-06-01."
- Template test cases