Changes
Jump to navigation
Jump to search
Line 1:
Line 1:
− +
− -->{{#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}}
Add second parameter for arguments
<onlyinclude><!--
<nowiki>{{</nowiki>[[MW:Help:Magic words{{#ifeq:{{{1|}}}|||#{{#invoke:string|replace|{{{1}}}|:$||1|0}}}}|{{{1|Magic word}}}]]{{{2|}}}}}<noinclude>
{{Documentation}}</noinclude>