Template:Pf: Difference between revisions
Jump to navigation
Jump to search
en>Primefac (Primefac moved page Template:Pf to Template:ParserFunction: expand name for clarity) |
m (1 revision imported) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
# | {{#if:{{{_code|}}}|<code>}}{{((}}{{ | ||
#switch: {{lc: {{{1|if}}} }} | |||
{{ | | expr | if | ifeq | iferror | ifexpr | ||
{{ | | ifexist | rel2abs | switch | time | ||
}} | | titleparts = [[mw:Help:Extension:ParserFunctions#.23{{lc:{{{1|if}}}}}|#{{{1|if}}}]] | ||
| lc | uc | lcfirst | ucfirst | urlencode | anchorencode | |||
| ns = [[meta:Help:Parser function#{{uc:{{{1}}}}}|{{{1}}}]] | |||
| localurl | localurle | fullurl | |||
| fullurle = [[meta:Help:Parser function#URLs etc.|{{{1}}}]] | |||
| language = [[meta:Help:Parser function#.23{{lc:{{{1}}}}}:|#{{{1}}}]] | |||
| pagesincategory | |||
| pagesincat = [[meta:Help:Parser function#Pages in category|{{{1}}}]] | |||
| section | section-x | section-h | lst | lstx | lsth = [[Help:Labeled section transclusion|#{{{1}}}]] | |||
| #default = {{{1}}}<!-- This will link to a help section in the documentation about unrecognised parser functions. In the meantime, it's just a hidden comment. --> | |||
}}{{ | |||
#if: {{{2|}}} | |||
| {{colon}}{{{2|}}} | |||
}}{{ | |||
#if: {{{3|}}} | |||
| {{ | |||
#ifeq: {{{2|}}} | | |||
| {{colon}}{{!}} | |||
}}{{!}}{{{3}}} | |||
}}{{ | |||
#if: {{{4|}}} | |||
| {{ | |||
#ifeq: {{{2|}}} | | |||
| {{colon}}{{!}} | |||
}}{{ | |||
#ifeq: {{{3|}}} | | |||
| {{!}} | |||
}}{{!}}{{{4}}} | |||
}}{{ | |||
#if: {{{5|}}} | |||
| {{ | |||
#ifeq: {{{2|}}} | | |||
| {{colon}}{{!}} | |||
}}{{ | |||
#ifeq: {{{3|}}} | | |||
| {{!}} | |||
}}{{ | |||
#ifeq: {{{4|}}} | | |||
| {{!}} | |||
}}{{!}}{{{5}}} | |||
}}{{))}}{{#if:{{{_code|}}}|</code>}}<noinclude> | |||
{{documentation}} | |||
</noinclude> |