Template:Pf: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
en>Primefac
(Primefac moved page Template:Pf to Template:ParserFunction: expand name for clarity)
 
(Created page with "{{#if:{{{_code|}}}|<code>}}{{((}}{{ #switch: {{lc: {{{1|if}}} }} | expr | if | ifeq | iferror | ifexpr | ifexist | rel2abs | switch | time | titleparts = if}}}}}|#{{{1|if}}} | lc | uc | lcfirst | ucfirst | urlencode | anchorencode | ns = {{{1}}} | localurl | localurle | fullurl | fullurle = [[meta:Help:Parser function#URLs etc.|{{{1}}}]...")
Line 1: Line 1:
#REDIRECT [[Template:ParserFunction]]
{{#if:{{{_code|}}}|<code>}}{{((}}{{
 
  #switch: {{lc: {{{1|if}}} }}
{{Redirect category shell|
  | expr    | if      | ifeq    | iferror | ifexpr
{{R from move}}
  | 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>

Revision as of 11:06, 21 May 2022

{{#if}}