Jump to content

User:SamuelRiv/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
realized strings only implemented in en:wp as templates; subst fails in tl:mra
Line 26: Line 26:
;ParserFunction testing:
;ParserFunction testing:
<code><nowiki>
<code><nowiki>
{{#count:'''''stuff to test'''''|''}}
{{#count:'''''stuff to test'''''|''}} --(not supported on en:WP in favor of lua templates)
...
...
{{#if:true|A|B}} --(non-string stuff supported still)
{{subst:#count:'''''stuff to test'''''|''}}
...
* {{subst:#invoke:String|count|'''''stuff to test'''''|''}} --(subst fails in tl:mra)
</nowiki></code>
</nowiki></code>


{{markup|

<nowiki>
{{#count:'''''stuff to test'''''|''}}
* {{#invoke:String|count|'''stuff to test'''|''}}

* {{#invoke:String|count|'''''stuff to test'''''|''}}

* 4
{{subst:#count:'''''stuff to test'''''|''}}
* {{#if:true|A|B}}

</nowiki>|
{{#len:blah}}
* {{#invoke:String|count|'''stuff to test'''|''}}

* {{#invoke:String|count|'''''stuff to test'''''|''}}
{{#if:true|A|B}}
* 4
* {{#if:true|A|B}}}}<!-- Template:Mra -->

Revision as of 18:30, 16 August 2022

Sandboxin'

EU:C:2016:718


Collections citing

{{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

{{#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}}
  • 2
  • 4
  • 4
  • A