Template:Pf

From FISPACT-II Wiki
Jump to: navigation, search

{{{{

 #switch: if
 | expr    | if      | ifeq    | iferror | ifexpr
 | ifexist | rel2abs | switch  | time
 | titleparts = #if
 | lc      | uc      | lcfirst | ucfirst | urlencode | anchorencode
 | ns = [[meta:Help:Parser function#{{{1}}}|{{{1}}}]]
 | localurl   | localurle  | fullurl
 | fullurle = {{{1}}}
 | language = [[meta:Help:Parser function#.23{{{1}}}:|#{{{1}}}]]
 | pagesincategory
 | pagesincat = {{{1}}}
 | #default  = {{{1}}}

}}{{

 #if: 
 | Template:Colon

}}{{

 #if: 
 | {{
   #ifeq:  | 
   | Template:Colon|
 }}|{{{3}}}

}}{{

 #if: 
 | {{
   #ifeq:  |
   | Template:Colon|
 }}{{
   #ifeq:  |
   | |
 }}|{{{4}}}

}}{{

 #if: 
 | {{
   #ifeq:  |
   | Template:Colon|
 }}{{
   #ifeq:  |
   | |
 }}{{
   #ifeq:  |
   | |
 }}|{{{5}}}

}}}}


Usage: {{{{#if: |subst:}}Pf{{#if:parser function ||parser function}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}}, this creates a direct link to the relevant function, omit # and colon, e.g. use ifexpr to get {{{{

 #switch: ifexpr
 | expr    | if      | ifeq    | iferror | ifexpr
 | ifexist | rel2abs | switch  | time
 | titleparts = #ifexpr
 | lc      | uc      | lcfirst | ucfirst | urlencode | anchorencode
 | ns = ifexpr
 | localurl   | localurle  | fullurl
 | fullurle = ifexpr
 | language = #ifexpr
 | pagesincategory
 | pagesincat = ifexpr
 | #default  = ifexpr

}}{{

 #if: 
 | Template:Colon

}}{{

 #if: 
 | {{
   #ifeq:  | 
   | Template:Colon|
 }}|{{{3}}}

}}{{

 #if: 
 | {{
   #ifeq:  |
   | Template:Colon|
 }}{{
   #ifeq:  |
   | |
 }}|{{{4}}}

}}{{

 #if: 
 | {{
   #ifeq:  |
   | Template:Colon|
 }}{{
   #ifeq:  |
   | |
 }}{{
   #ifeq:  |
   | |
 }}|{{{5}}}

}}}}.