Template:ParserFunction: Difference between revisions
From WikiMD's Wellness Encyclopedia
m 1 revision imported |
en>Dinoguy1000 fix links, add more tags, some code cleanup |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{_code|}}}|<code>}}{{((}}{{ | <includeonly>{{ #if: {{{_code|}}} | <code> }}{{((}}{{ | ||
#switch: {{lc: {{{1|if}}} }} | #switch: {{lc: {{{1|if}}} }} | ||
| expr | | expr | if | ifeq | iferror | ifexpr | ||
| ifexist | rel2abs | switch | | ifexist | rel2abs | switch | time | titleparts | ||
= [[mw:Help:Extension:ParserFunctions#.23{{lc:{{{1|if}}}}}|#{{{1|if}}}]] | |||
| lc | | lc | uc | lcfirst | ucfirst | urlencode | ||
| anchorencode | ns | |||
| | = [[mw:Help:Magic words#{{lc:{{{1}}}}}|{{{1}}}]] | ||
| | | language | bcp47 | dir | interwikilink | interlanguagelink | ||
| | | special | speciale | tag | ||
= [[mw:Help:Magic words#{{lc:{{{1}}}}}|#{{{1}}}]] | |||
| localurl | localurle | |||
= [[mw:Help:Magic words#localurl|{{{1}}}]] | |||
| fullurl | fullurle | |||
= [[mw:Help:Magic words#fullurl|{{{1}}}]] | |||
| canonicalurl | canonicalurle | |||
= [[mw:Help:Magic words#canonicalurl|{{{1}}}]] | |||
| pagesincategory | | pagesincategory | ||
| pagesincat = [[ | | pagesincat | ||
| section | section-x | section-h | lst | lstx | lsth = [[Help:Labeled section transclusion|#{{{1}}}]] | = [[mw:Help:Magic words#PAGESINCATEGORY|{{{1}}}]] | ||
| #default | | section | section-x | section-h | lst | lstx | lsth | ||
}}{{ | = [[Help:Labeled section transclusion|#{{{1}}}]] | ||
| #default | |||
= [[Help:Magic words#{{{1}}}|{{{1}}}]] | |||
}}{{ | }}{{ #if: {{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}} | {{colon}}{{{2|}}} }}<!-- | ||
-->{{ #if: {{{3|}}}{{{4|}}}{{{5|}}} | {{!}}{{{3|}}} }}<!-- | |||
-->{{ #if: {{{4|}}}{{{5|}}} | {{!}}{{{4|}}} }}<!-- | |||
-->{{ #if: {{{5|}}} | {{!}}{{{5}}} }}<!-- | |||
-->{{))}}{{ #if: {{{_code|}}} | </code> }}</includeonly><noinclude> | |||
}}{{))}}{{#if:{{{_code|}}}|</code>}}</includeonly><noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 16:04, 9 March 2025