Template:Magic word: Difference between revisions
Template page
More actions
3 revisions imported from mw:Template:Magic word |
m Reverted edits by 201.143.44.204 (talk) to last revision by ExE Boss |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
-->{{#ifexpr:<!-- | -->{{#ifexpr:<!-- | ||
-->{{yesno|{{{code|}}}|yes=1|no=0}}<!-- | -->{{yesno|{{{code|}}}|yes=1|no=0}}<!-- | ||
-->or{{yesno|{{{mono|}}}|yes=1|no=0}}<!-- | |||
-->or{{yesno|{{{nowrap|}}}|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|{{{nowrap|}}}}}|<templatestyles src="Template:Nowrap/styles.css"/>}}<!-- | ||
--><{{#if:{{yesno|{{{code|}}}}}|code|span}} {{# | --><{{#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=}}"<!-- | |||
-->}}><!-- | |||
-->}}<!-- | -->}}<!-- | ||
-->{{<!-- | -->{{<!-- | ||
| Line 16: | Line 23: | ||
-->|ParserFunctions=Help:Extension:ParserFunctions<!-- | -->|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 page when `ext` is specified: | ||
| Line 35: | Line 64: | ||
-->{{#ifexpr:<!-- | -->{{#ifexpr:<!-- | ||
-->{{yesno|{{{code|}}}|yes=1|no=0}}<!-- | -->{{yesno|{{{code|}}}|yes=1|no=0}}<!-- | ||
-->or{{yesno|{{{mono|}}}|yes=1|no=0}}<!-- | |||
-->or{{yesno|{{{nowrap|}}}|yes=1|no=0}}<!-- | -->or{{yesno|{{{nowrap|}}}|yes=1|no=0}}<!-- | ||
-->|</{{#if:{{yesno|{{{code|}}}}}|code|span}}><!-- | -->|</{{#if:{{yesno|{{{code|}}}}}|code|span}}><!-- | ||