Jump to content

Module:Params/doc/examples/link to expanded template/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Create a documentation page
Tag: Removed redirect
m typo
 
Line 5: Line 5:


<syntaxhighlight lang="wikitext">{{module:params/doc/examples/link to expanded template|comments|xml
<syntaxhighlight lang="wikitext">{{module:params/doc/examples/link to expanded template|comments|xml
| input = Hello world {<nowiki />{#time:r{{!}}now}<nowiki />}|
| input = Hello world {<nowiki />{#time:r{{!}}now}<nowiki />}
}}</syntaxhighlight>
}}</syntaxhighlight>


Line 11: Line 11:


{{module:params/doc/examples/link to expanded template|comments|xml
{{module:params/doc/examples/link to expanded template|comments|xml
| input = Hello world {<nowiki />{#time:r{{!}}now}<nowiki />}|
| input = Hello world {<nowiki />{#time:r{{!}}now}<nowiki />}
}}
}}



Latest revision as of 18:00, 14 May 2025

This example template shows how to construct an URL using the unique_coins function of Module:Params. See there for more information.

Usage

[edit]

For example, writing

{{module:params/doc/examples/link to expanded template|comments|xml
	| input = Hello world {<nowiki />{#time:r{{!}}now}<nowiki />}
}}

will generate

Expand Hello world {{#time:r|now}}