සැකිල්ල:ParserFunction/doc
This is a documentation subpage for සැකිල්ල:ParserFunction. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
{{Pf}} is used to conveniently link to a ParserFunction, along the lines of {{tl}}. Pf stands for ParserFunction.
Usage
සංස්කරණය{{ParserFunction
{{ParserFunction
Use |_code=yes
to wrap the output in <code>...</code>
tags, e.g. {{ParserFunction{{#ifexpr:1+1>1|true|false}}
.
Input Output
{{ParserFunction{{#expr}}
{{ParserFunction{{#if}}
{{ParserFunction{{#ifeq}}
{{ParserFunction{{#iferror}}
{{ParserFunction{{#ifexpr}}
{{ParserFunction{{#ifexist}}
{{ParserFunction{{#rel2abs}}
{{ParserFunction{{#switch}}
{{ParserFunction{{#time}}
{{ParserFunction{{#titleparts}}
{{ParserFunction{{lc}}
{{ParserFunction{{uc}}
{{ParserFunction{{lcfirst}}
{{ParserFunction{{ucfirst}}
{{ParserFunction{{urlencode}}
{{ParserFunction{{anchorencode}}
{{ParserFunction{{ns}}
{{ParserFunction{{localurl}}
{{ParserFunction{{localurle}}
{{ParserFunction{{fullurl}}
{{ParserFunction{{fullurle}}
{{ParserFunction{{#language}}
{{ParserFunction{{pagesincategory}}
{{ParserFunction{{pagesincat}}
{{ParserFunction{{#section}}
{{ParserFunction{{#section-x}}
{{ParserFunction{{#section-h}}
{{ParserFunction{{#lst}}
{{ParserFunction{{#lstx}}
{{ParserFunction{{#lsth}}
See also
සංස්කරණයOther formatting templates
සංස්කරණයCode example | Effect | Notes |
---|---|---|
{{tl2|Hatnote|lang=fr}} |
{{hatnote}} | Supports linking to sister projects (e.g., fr:Hatnote) |
{{tlu|User:Ahunt/SSHFS}} |
{{User:Ahunt/SSHFS}} | Supports linking to any namespace |
{{demo|<nowiki>{{Hatnote|lang=fr|Some text}}</nowiki>}} |
{{hatnote|lang=fr|Some text}} |
Shows code and example |
{{xpd|Hatnote|Some hatnote text}} |
"{{hatnote|Some hatnote text}}" gives " " [1] |
Shows code, example and a link to expand the template code |
{{para|title|<var>book title</var>}} |
|title=book title |
Formats template parameters for display, with or without values |
{{elc|Template:Hatnote}} {{elc|Template:Hatnote|Hatnote}} |
[[Template:Hatnote]] [[Template:Hatnote|Hatnote]] |
Formats wikilink, with optional piped link text and blended suffix |