Template:Memo/doc
{{#switch:<translate></translate> | = {{#if:{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:memo/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}
|
{{#ifeq:show |show
| TemplateStyles' src
attribute must not be empty.
File:OOjs UI icon book-ltr.svg | <translate> This is a documentation [[<tvar name=2>Special:MyLanguage/Help:Subpages</tvar>|subpage]] for <tvar name=1>Template:Memo</tvar>.</translate> {{#if: |<translate> It contains usage information, [[<tvar name=7>Special:MyLanguage/Help:Categories</tvar>|categories]] and other content that is not part of the original <tvar name=1>{{{text1}}}</tvar>.</translate> |<translate> It contains usage information, [[<tvar name=7>Special:MyLanguage/Help:Categories</tvar>|categories]] and other content that is not part of the original <tvar name=1>Template</tvar> page.</translate>}} |
}}{{#if: | | {{#ifexist:Template:Memo | [[Category:{{#switch:Template | Template | Project = Template | Module = Module | User = User | #default = MediaWiki }} documentation pages{{#translation:}}]] | [[Category:Documentation subpages without corresponding pages{{#translation:}}]] }} }} | }}
| #default=
{{#switch:
| = {{#if:{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:memo/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}
|
{{#ifeq:show |show
| TemplateStyles' src
attribute must not be empty.
File:OOjs UI icon book-ltr.svg | This is a documentation subpage for Template:Memo. {{#if: |It contains usage information, categories and other content that is not part of the original {{{text1}}}. |It contains usage information, categories and other content that is not part of the original Template page.}} |
}}{{#if: | | {{#ifexist:Template:Memo | [[Category:{{#switch:Template | Template | Project = Template | Module = Module | User = User | #default = MediaWiki }} documentation pages{{#translation:}}]] | [[Category:Documentation subpages without corresponding pages{{#translation:}}]] }} }} | }}
| #default=
Lua error: expandTemplate: template loop detected.
}} }} Lua error: callParserFunction: function "#translation" was not found.
How to use
E.g.
- {{#if:| | Note Note:}}{{#if:{{safesubst:#switch:{{{1}}}
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Memo|Memo]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}
- {{#if:{{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Memo|Memo]]{{#if:note||note}}{{#if:inline:||inline:}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}|
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Memo|Memo]]{{#if:note||note}}{{#if:inline:||inline:}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}
| Note Note:}}
- {{#if:{{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Memo|Memo]]{{#if:note||note}}{{#if:bookmark||bookmark}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}|
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Memo|Memo]]{{#if:note||note}}{{#if:bookmark||bookmark}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}
| Note Note:}}
- {{#if:{{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Memo|Memo]]{{#if:note||note}}{{#if:inline:alert||inline:alert}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}|
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Memo|Memo]]{{#if:note||note}}{{#if:inline:alert||inline:alert}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}
| Note Note:}}
- {{#if:{{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Memo|Memo]]{{#if:note||note}}{{#if:notice||notice}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}|
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Memo|Memo]]{{#if:note||note}}{{#if:notice||notice}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}
| Note Note:}}
- {{#if:{{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Memo|Memo]]{{#if:note||note}}{{#if:inline:error||inline:error}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}|
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Memo|Memo]]{{#if:note||note}}{{#if:inline:error||inline:error}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}
| Note Note:}}
- {{#if:{{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Memo|Memo]]{{#if:note||note}}{{#if:check||check}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}|
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:Memo|Memo]]{{#if:note||note}}{{#if:check||check}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}
| Note Note:}}
TemplateData
{{#switch:<translate></translate> |=
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|{{#ifexpr:{{#if:|{{#ifeq:Template:Memo/doc|{{#switch:
|#default = | = {{#ifeq: | | Template:{{{docpage}}} | }}
}}|0|1}}|not{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:memo/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}}}}|
|#default = Memo/doc | = {{#ifeq: | | Template:Memo/doc | Memo/doc }}
}}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch:
|#default = Memo/doc | = {{#ifeq: | | Template:Memo/doc | Memo/doc }}
}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}}}}}} {{#if:||<translate> This is the [[<tvar name=1>Special:MyLanguage/Help:TemplateData</tvar>|TemplateData]] documentation for this template used by [[<tvar name=2>Special:MyLanguage/VisualEditor</tvar>|VisualEditor]] and other tools.</translate>}}
Memo
{{#ifeq:doc|sandbox||{{#if:{{#ifexpr: (
{{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:memo/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default=
{{#switch:
|=
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|{{#ifexpr:{{#if:|{{#ifeq:Template:Memo/doc|{{#switch:
|#default = | = {{#ifeq: | | Template:{{{docpage}}} | }}
}}|0|1}}|not{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:memo/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}}}}|
|#default = Memo/doc | = {{#ifeq: | | Template:Memo/doc | Memo/doc }}
}}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch:
|#default = Memo/doc | = {{#ifeq: | | Template:Memo/doc | Memo/doc }}
}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}}}}}} {{#if:||This is the TemplateData documentation for this template used by VisualEditor and other tools.}}
Memo
{{#ifeq:doc|sandbox||{{#if:{{#ifexpr: (
{{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:memo/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default=
Lua error: expandTemplate: template loop detected.
}} }}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
note | 1 | information. | Content | required |
style | 2 | icon and color.
| String | suggested |
{{safesubst:#switch:
{{safesubst:#switch: {{safesubst:#if: | {{{demospace}}} | {{safesubst:#if: | {{safesubst:#ifeq:| | talk | }} | {{safesubst:#ifeq:template|template talk | talk | template }} }} }} | showall = showall | main | = 2 | talk = 2 | user = 1 | wikipedia = 2 | file | image = 2 | mediawiki = 2 | template = 2 | help = 2 | category = 2 | portal = 2 | draft = 1 | other | #default = 2 }}
| 1 =
| 2 = {{#ifeq:Template:Memo/doc|Main Page||TemplateStyles' src
attribute must not be empty.
File:Wiki letter w.svg | This template has not been added to any {{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template| | main | other }} }} | main = content | other | #default = }} categories. Please help out by adding categories to it so that it can be listed with similar {{#ifeq: template | category | categorie | template }}s{{#switch: {{#if: | {{{demospace}}} | {{#ifeq:Template| | main | other }} }} | main = {{safesubst:#switch: no |no |n |false |0 = Template:Stub other | = Template:Stub other |¬ = |yes |y |true |1 = , in addition to a stub category |#default = , in addition to a stub category }} | other | #default = }}. {{#if:|({{{date}}})}} |
{{#ifeq:doc|Memo|{{#ifeq:{{ safesubst:#if:
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Memo/doc}}|1}} | {{ safesubst:#if:|{{{1}}}|Template:Memo/doc}}
}}|Wikipedia:Template messages||{{#ifexpr:{{#if:Template|0|1}}+{{#ifeq:{{#switch:Template|Template|Module|Category|File=no|#default=yes}}|yes|0|1}}
|{{#if: |{{#ifexist:Category:Uncategorized from ||}} |[[Category:{{#if:Uncategorized pages |Uncategorized pages|Uncategorized}}]]}}{{#if:All uncategorized pages |}}}}}}|}}}}
| 3 = | 4 = | 5 = | 6 = | 7 = | 8 = | 9 = | 10 = | 11 = | 12 = | 13 =
| showall = {{#ifeq:Template:Memo/doc|Main Page||TemplateStyles' src
attribute must not be empty.
File:Wiki letter w.svg | This template has not been added to any {{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template| | main | other }} }} | main = content | other | #default = }} categories. Please help out by adding categories to it so that it can be listed with similar {{#ifeq: template | category | categorie | template }}s{{#switch: {{#if: | {{{demospace}}} | {{#ifeq:Template| | main | other }} }} | main = {{safesubst:#switch: no |no |n |false |0 = Template:Stub other | = Template:Stub other |¬ = |yes |y |true |1 = , in addition to a stub category |#default = , in addition to a stub category }} | other | #default = }}. {{#if:|({{{date}}})}} |
{{#ifeq:doc|Memo|{{#ifeq:{{ safesubst:#if:
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Memo/doc}}|1}} | {{ safesubst:#if:|{{{1}}}|Template:Memo/doc}}
}}|Wikipedia:Template messages||{{#ifexpr:{{#if:Template|0|1}}+{{#ifeq:{{#switch:Template|Template|Module|Category|File=no|#default=yes}}|yes|0|1}}
|{{#if: |{{#ifexist:Category:Uncategorized from ||}} |[[Category:{{#if:Uncategorized pages |Uncategorized pages|Uncategorized}}]]}}{{#if:All uncategorized pages |}}}}}}|}}}}
}}