Template:Pf: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
greatly expand template capabilities; documentation and further features/tweaks to follow when I have time |
m 15 revisions imported |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{((}}{{ | {{#if:{{{_code|}}}|<code>}}{{((}}{{ | ||
#switch: {{lc: {{{1|if}}} }} | #switch: {{lc: {{{1|if}}} }} | ||
| expr | if | ifeq | iferror | ifexpr | | expr | if | ifeq | iferror | ifexpr | ||
| ifexist | rel2abs | switch | time | | ifexist | rel2abs | switch | time | ||
| titleparts = [[mw:Help:Extension:ParserFunctions#.23{{lc:{{{1|if}}}}} | | titleparts = [[mw:Help:Extension:ParserFunctions#.23{{lc:{{{1|if}}}}}|#{{{1|if}}}]] | ||
| lc | uc | lcfirst | ucfirst | urlencode | anchorencode | | lc | uc | lcfirst | ucfirst | urlencode | anchorencode | ||
| ns = [[meta:Help:Parser function#{{uc:{{{1}}}}}|{{{1}}}]] | | ns = [[meta:Help:Parser function#{{uc:{{{1}}}}}|{{{1}}}]] | ||
| Line 11: | Line 11: | ||
| pagesincategory | | pagesincategory | ||
| pagesincat = [[meta:Help:Parser function#Pages in category|{{{1}}}]] | | 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. --> | | #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. --> | ||
}}{{ | }}{{ | ||
| Line 42: | Line 43: | ||
| {{!}} | | {{!}} | ||
}}{{!}}{{{5}}} | }}{{!}}{{{5}}} | ||
}}{{))}} | }}{{))}}{{#if:{{{_code|}}}|</code>}}<noinclude> | ||
{{documentation}} | |||
</noinclude> | |||