User:SamuelRiv/sandbox
Sandboxin'
[edit]
test span templates
[edit]testing tl cns[citation needed] right here.
Doing the same with my opener: followed by closer[cleanup needed (N.I.O.)] and praying. (It worked the first time?)
Ok, VE is very very clever and sees the opener-closer template as a single editable template box. Let's try paragraphs:
When in the course
Of human events Do I die?[cleanup needed (N.I.O.)]
Paragraphs don't work with spans and were also interesting. See for cns:
When cns succeeds
Or does it fail? Count the ways:
- first way
- no way
- highway
What more to say?[citation needed]
And then let's try subst on my templates: opener followed by closer[cleanup needed (N.I.O.)] and see?
And also subst on cns for this text[citation needed] here.
test page html
[edit]lorem ipsum lorem ipsum lorem ipsum
lorem ipsumlorem ipsum
lorem ipsum
lorem ipsum
lorem ipsum
lorem ipsum
template wrapper subst
[edit] (Report). {{cite report}}
: Missing or empty |title=
(help)
Random CS1 tests
[edit]ttl_p (155).
others para
[edit]- "titl_para". othrs_para. 2000-12-31.
{{cite web}}
: CS1 maint: others (link) - "titl_para". othrs_para. 2000-12-31.
{{cite news}}
: CS1 maint: others (link) - "titl_para". othrs_para. 2000-12-31.
{{cite magazine}}
: Cite magazine requires|magazine=
(help)CS1 maint: others (link) - n.a. (2000-12-31). "blah_titel_blah". contr_list_here.
- "blah_titel_blah". 2000-12-31.
{{cite web}}
:|contributor=
ignored (help)
formatting to allow title-link and url
[edit]lfauthor_p (1911-08-30). work_p (Technical report). pblr_p https://google.com. {{cite tech report}}
: Missing or empty |title=
(help)
lfauthor_p (1911-08-30). pblr_p https://google.com. {{cite book}}
: |work=
ignored (help); Missing or empty |title=
(help)
lfauthor_p (1911-08-30). "chpr_p". work_p (Technical report). pblr_p https://google.com. {{cite tech report}}
: Missing or empty |title=
(help)
lfauthor_p (1911-08-30). "chpr_p". work_p (Technical report). pblr_p https://google.com. {{cite tech report}}
: Missing or empty |title=
(help); Unknown parameter |chapter-link=
ignored (help)
Random tests
[edit]- "titl_para". othrs_para. 2000-12-31.
{{cite web}}
: CS1 maint: others (link) - "titl_para". othrs_para. 2000-12-31.
{{cite news}}
: CS1 maint: others (link) - "titl_para". othrs_para. 2000-12-31.
{{cite magazine}}
: Cite magazine requires|magazine=
(help)CS1 maint: others (link) - n.a. (2000-12-31). "blah_titel_blah". contr_list_here.
- "blah_titel_blah". 2000-12-31.
{{cite web}}
:|contributor=
ignored (help)
- athr_p (2000), "ttl_p", priodcl_p, vol. XX, no. 3
- athr_p (2000), "ttl_p", priodcl_p, no. 3
- athr_p (2000), "ttl_p", jrl_p, sers_p, XX (3)
- athr_p (2000), "ttl_p", mag_p, sers_p, vol. XX, no. 3
- athr_p (2000), "ttl_p", wrk_p, sers_p, vol. XX, no. 3
- athr_p (2000), "ttl_p", jrl_p, 23
- athr_p (2000), "ttl_p", jrl_p (3)
- athr_p (2000), "ttl_p", wrk_p, no. 3
- athr_p (2000), "ttl_p", jrl_p, vol. XX, no. 3
- athr_p (2000). ttl_p. jrl_p (Report). Vol. XX.
- athr_p (2000). ttl_p. jrl_p (Technical report). Vol. XX.
- athr_p (2000), ttl_p, sers_p, vol. XX
- athr_p (2000). ttl_p (Report). sers_p. Vol. XX.
- athr_p (2000). ttl_p. jrl_p (Report). Vol. XX.
- athr_p (2000). ttl_p. jrl_p (Technical report). Vol. XX.
- athr_p (2000). ttl_p (Thesis). Docket 208837. 10.
- athr_p (2000). ttl_p (Thesis). Docket 208837. 10.
- athr_p (2000). ttl_p (Thesis). 10.
- athr_p (2000). ttl_p (Thesis). Docket 208837.
- athr_p (2000). ttl_p (Report). 208837.
- athr_p (2000). ttl_p (Report). 208837.
- athr_p (2000). ttl_p (Report). 10.
- athr_p (2000). ttl_p (Report). 208837.
- docket is not param in cite_tech_report
- athr_p (2000). ttl_p (Technical report). 10.
{{cite tech report}}
: More than one of|id=
and|number=
specified (help); Unknown parameter|docket=
ignored (help) - athr_p (2000). ttl_p (Technical report). 10.
- athr_p (2000). ttl_p (Technical report). 10.
{{cite tech report}}
: More than one of|id=
and|number=
specified (help) - athr_p (2000). ttl_p (Technical report). 155.
Draft template
[edit]- athr_p (2000). ttl_p (epyt_p). pblr_p.
- athr_p (2000). ttl_p (Technical report). pblr_p.
- athr_p (2000). (epyt_p). pblr_p.
{{cite tech report}}
: Missing or empty|title=
(help)
{{subst:Parameters|code|base={{subst:BASEPAGENAME}}}}
- tl-Cite_act rework
{{{title}}} {{{script-title}}} [{{{trans-title}}}] ({{{type}}} {{{index}}}, {{{articletype}}} {{{article}}}). {{{legislature}}}. {{{date}}}. {{cite report}}
: Check date values in: |year=
and |date=
(help); Invalid |script-title=
: missing prefix (help); More than one of |medium=
and |type=
specified (help); Unknown parameter |citation=
ignored (help); Unknown parameter |content=
ignored (help); Unknown parameter |dimensions=
ignored (help); Unknown parameter |span-class=
ignored (help)CS1 maint: date and year (link) CS1 maint: extra punctuation (link) CS1 maint: year (link)
{{Cite_techreport|at=verso |author=William Fakester |chapter=Ch7 |date=May 1999 |id=THX-1138 |issue=31 |publisher=FakePress Ltd. |title=NoTitle |type=Engraving |url=https://www.google.com |volume=XXIII}}
{{Cite_techreport}}
William Fakester (May 1999). "Ch7". NoTitle (Engraving). Vol. XXIII. FakePress Ltd. verso. THX-1138.
{{Cite_report}}
William Fakester (May 1999). "Ch7". NoTitle (Engraving). Vol. XXIII. FakePress Ltd. verso. THX-1138.
{{Cite_document}}
William Fakester (May 1999). "NoTitle" (Engraving). FakePress Ltd. verso. THX-1138. {{cite document}}
: Unknown parameter |chapter=
ignored (help); Unknown parameter |issue=
ignored (help); Unknown parameter |url=
ignored (help); Unknown parameter |volume=
ignored (help)
{{Cite_web}}
William Fakester (May 1999). "NoTitle" (Engraving). FakePress Ltd. verso. THX-1138. {{cite web}}
: |chapter=
ignored (help)
{{Cite_book}}
William Fakester (May 1999). "Ch7". NoTitle (Engraving). Vol. XXIII. FakePress Ltd. verso. THX-1138.
{{Cite_act}}
William Fakester (May 1999). "Ch7". NoTitle (Engraving). Vol. XXIII. FakePress Ltd. verso. THX-1138.
{{Cite_act}}
The approximation of the laws of the Member States... (Directive 2000/13/EC, Annex II). The European Parliament. 20 March 2000. pp. 29–42.
{{User:SamuelRiv/DraftTemplate}}
The approximation of the laws of the Member States... (Directive 2000/13/EC, Annex II). The European Parliament. 20 March 2000. pp. 29–42.
- Citation span
Other templates
[edit]{{Remove first word}} (sep = :)
EU:C:2016:718
Markup | Renders as |
---|---|
{{Remove first word |ECLI:EU:C:2016:718|sep=:}} |
EU:C:2016:718 |
Collections citing
[edit]
{{cite encyclopedia |author=Bob Ross |article=Bobbin' for apples |encyclopedia={{harvnb|Edwards|1900}}}}
... ...
{{cite book |editor-last=Edwards |editor-first=J. |title=Apple collection |date=1900 |publisher=Apple Corp}}
Bob Ross. "Bobbin' for apples". Edwards 1900.
Edwards, J., ed. (1900). Apple collection. Apple Corp.
ParserFunction testing:
[edit]
{{#count:'''''stuff to test'''''|''}} --(not supported on en:WP in favor of lua templates)
...
{{#if:true|A|B}} --(non-string stuff supported still)
...
* {{subst:#invoke:String|count|'''''stuff to test'''''|''}} --(subst fails in tl:mra)
Markup | Renders as |
---|---|
* {{#invoke:String|count|'''stuff to test'''|''}} * {{#invoke:String|count|'''''stuff to test'''''|''}} * 4 * {{#if:true|A|B}} |
|
Ref list
[edit]