Content deleted Content added
No edit summary |
No edit summary |
||
Line 9:
A '''word''' is defined to be consisting of: alphanumerics (a-z, A-Z, 0-9), the hyphen (-) and the underscore (_). For example: {{mono|1=foobar, foo-bar, foo_bar, foo123, _foo, 12, -x}}. All other characters are non-word-characters (like: {{nowrap|1='{{mono|1=, ; ( ) <space>}}'}}).
The module is designed for template-usage. For example, a template has these parameter {{para|format}} options:
:{{para|format| bg-green, ucfirst, wikilink}}
This module then can handle formatting like this:
:<code><nowiki>{{#invoke:sfw|main|string={{{format|}}}|word=ucfirst|yes=<make bg green code>|no=<do nothing>}}</nowiki><code>
ucfirst, wikilink, bg-green|
== Usage ==
<code><nowiki>{{</nowiki>#invoke:User:DePiep/sfw|''function_name''<nowiki>}}</nowiki></code>
==parameters==
<pre>
|