Template:Magic word: Difference between revisions
imported>GKFX Add second parameter for arguments |
imported>Shirayuki mNo edit summary |
||
Line 1: | Line 1: | ||
< | <onlyinclude><!-- | ||
{{ | -->{{#ifexpr:<!-- | ||
-->{{yesno|{{{code|}}}|yes=1|no=0}}<!-- | |||
-->or{{yesno|{{{mono|}}}|yes=1|no=0}}<!-- | |||
-->or{{yesno|{{{nowrap|}}}|yes=1|no=0}}<!-- | |||
-->|<!-- | |||
-->{{#if:{{yesno|{{{mono|}}}}}|<templatestyles src="Template:Mono/styles.css"/>}}<!-- | |||
-->{{#if:{{yesno|{{{nowrap|}}}}}|<templatestyles src="Template:Nowrap/styles.css"/>}}<!-- | |||
--><{{#if:{{yesno|{{{code|}}}}}|code|span}} {{#ifexpr:<!-- | |||
-->{{yesno|{{{mono|}}}|yes=1|no=0}}<!-- | |||
-->or{{yesno|{{{nowrap|}}}|yes=1|no=0}}<!-- | |||
-->|<!-- | |||
-->class="{{yesno|{{{mono|}}}|yes=monospaced|no=}} {{yesno|{{{nowrap|}}}|yes=nowrap|no=}}"<!-- | |||
-->}}><!-- | |||
-->}}<!-- | |||
-->{{((}}<!-- | |||
-->[[mw:Special:MyLanguage/{{#switch:{{{ext|}}}<!-- | |||
Extensions with public domain help page documentation: | |||
-->|Translate=Help:Extension:Translate<!-- | |||
-->{{#switch:{{{1}}}<!-- | |||
-->|#translation=/Page translation administration<!-- | |||
-->}}<!-- | |||
-->|ParserFunctions=Help:Extension:ParserFunctions<!-- | |||
Extensions with documentation in subpages of the “Extension:” namespace: | |||
-->|Page Forms=Extension:Page Forms<!-- | |||
-->{{#switch:{{{1}}}<!-- | |||
-->|#arraymap<!-- | |||
-->|#arraymaptemplate<!-- | |||
-->|#template_display<!-- | |||
-->|#template_params<!-- | |||
-->=/Page Forms and templates<!-- | |||
-->|#autoedit<!-- | |||
-->|#forminput<!-- | |||
-->|#formlink<!-- | |||
-->|#formredlink<!-- | |||
-->=/Linking to forms<!-- | |||
-->|#queryformlink<!-- | |||
-->=/Creating query forms<!-- | |||
-->|#default_form<!-- | |||
-->=/The "edit with form" tab<!-- | |||
-->}}<!-- | |||
Default page when `ext` is specified: | |||
-->|#default=Extension:{{{ext}}}<!-- | |||
Default page when `ext` is not specified: | |||
-->|=Help:Magic words<!-- | |||
-->}}<includeonly>#{{#ifeq:{{Str left|{{{1}}}}}|#<!-- | |||
Workaround bug which causes the leading `#`s in the fragment | |||
of a “Special:MyLanguage/...” link to be discarded: | |||
-->|.23{{Str right|{{{1}}}|1}}<!-- | |||
-->|{{{1}}}<!-- | |||
-->}}|{{{1}}}</includeonly><noinclude>|magic word</noinclude>]]<!-- | |||
-->{{#ifexpr:<!-- | |||
-->{{#ifeq:{{{2|¬}}}|{{{2}}}|1|0}}or{{#ifeq:{{Str left|{{{1}}}}}|#|1|0}}<!-- | |||
-->|:{{{2|}}}<!-- | |||
-->}}<!-- | |||
-->{{))}}<!-- | |||
-->{{#ifexpr:<!-- | |||
-->{{yesno|{{{code|}}}|yes=1|no=0}}<!-- | |||
-->or{{yesno|{{{mono|}}}|yes=1|no=0}}<!-- | |||
-->or{{yesno|{{{nowrap|}}}|yes=1|no=0}}<!-- | |||
-->|</{{#if:{{yesno|{{{code|}}}}}|code|span}}><!-- | |||
-->}}<!-- | |||
--></onlyinclude> | |||
{{Documentation}} |
Latest revision as of 23:21, 22 February 2022
{{magic word}} Lua error: Module:TNT:158: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.