Template:ParserFunction: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(consistent with Template:T)
(Partially synced template)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#if:{{{_code|}}}|<code>}}&#123;&#123;{{
{{#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 | titleparts
  | ifexist | rel2abs | switch | time
    = [[mw:Help:Extension:ParserFunctions#.23{{lc: {{{1|if}}} }}|#{{{1|if}}}]]
  | titleparts = [[mw:Help:Extension:ParserFunctions#.23{{lc:{{{1|if}}}}}|#{{{1|if}}}]]
   | lc | uc | lcfirst | ucfirst | urlencode | anchorencode | ns
   | lc     | uc     | lcfirst | ucfirst | urlencode | anchorencode
    = [[mw:Help:Magic words#{{lc: {{{1}}} }}|{{{1}}}]]
  | ns = [[meta:Help:Parser function#{{uc:{{{1}}}}}|{{{1}}}]]
   | language | special | speciale | tag
   | localurl  | localurle  | fullurl
    = [[mw:Help:Magic words#{{lc: {{{1}}} }}|#{{{1}}}]]
  | fullurle = [[meta:Help:Parser function#URLs etc.|{{{1}}}]]
   | localurl | localurle
   | language = [[meta:Help:Parser function#.23{{lc:{{{1}}}}}:|#{{{1}}}]]
    = [[mw:Help:Magic words#localurl|{{{1}}}]]
   | pagesincategory
  | fullurl | fullurle
  | pagesincat = [[meta:Help:Parser function#Pages in category|{{{1}}}]]
    = [[mw:Help:Magic words#fullurl|{{{1}}}]]
   | #default = [[H:MW]]
  | canonicalurl | canonicalurle
}}{{
    = [[mw:Help:Magic words#canonicalurl|{{{1}}}]]
  #if: {{{2|}}}
   | pagesincategory | pagesincat
  | {{colon}}{{{2|}}}
    = [[mw:Help:Magic words#PAGESINCATEGORY|{{{1}}}]]
}}{{
   | #default
  #if: {{{3|}}}
    = [[Help:Magic words#{{{1}}}|{{{1}}}]]
  | {{
}}{{#if: {{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}} | {{colon}}{{{2|}}} }}<!--
    #ifeq: {{{2|}}} |
-->{{#if: {{{3|}}}{{{4|}}}{{{5|}}} | {{!}}{{{3|}}} }}<!--
    | {{colon}}{{!}}
-->{{#if: {{{4|}}}{{{5|}}} | {{!}}{{{4|}}} }}<!--
  }}{{!}}{{{3}}}
-->{{#if: {{{5|}}} | {{!}}{{{5}}} }}<!--
}}{{
-->{{))}}{{#if: {{{_code|}}} | </code> }}<noinclude>
  #if: {{{4|}}}
{{Documentation|content={{Wikipedia port|modified=1}}}}
  | {{
    #ifeq: {{{2|}}} |
    | {{colon}}{{!}}
  }}{{
    #ifeq: {{{3|}}} |
    | {{!}}
  }}{{!}}{{{4}}}
}}{{
  #if: {{{5|}}}
  | {{
    #ifeq: {{{2|}}} |
    | {{colon}}{{!}}
  }}{{
    #ifeq: {{{3|}}} |
    | {{!}}
  }}{{
    #ifeq: {{{4|}}} |
    | {{!}}
  }}{{!}}{{{5}}}
}}&#125;&#125;{{#if:{{{_code|}}}|</code>}}<noinclude>
{{documentation|content={{Wikipedia port}}}}
</noinclude>
</noinclude>

Latest revision as of 20:12, 23 April 2025

{{#if}}

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [create]
Icon-translate.png Available doc translations
Info.png
The Template:ParserFunction/doc documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.