Modèle:Split
It has been suggested that {{#ifeq:|yes|some portions of|}} this {{#if:|{{#ifeq:{{safesubst:#switch: {{{section}}}
|no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no}}|yes|section|section}}|{{#if:Modèle|page|article}}}} be split into {{#if:|{{#if:|{{#if:Modèle|pages|articles}}|a new {{#if:Modèle|page|article}}}} titled {{#if:||}}|multiple {{#if:Modèle|pages|articles}}}}{{#ifeq:|yes||}}. (Discuss) (mai 2024) |
{{#ifeq:split |doc
|
{{#ifeq:show |show
|This is a documentation subpage for Modèle:Split. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Modèle |Utilisateur |modèle template page |{{#if:Modèle |modèle page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:Modèle:Split | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
Uses Lua: |
This template will add tagged articles to Category:Articles to be split.
Usage
When two or more distinct topics which share the same or similar title are being written about on the same page, a content split may be considered. Consideration must be given both to notability and to potential neutrality issues before proposing a split. If one or more of the topics is not notable it may be more appropriate to simply remove the material from Wikipedia than to create a new article.
- Parameters
If no parameters are used in the template (i.e., {{{{#if: |subst:}}Split{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}
), it will display as above.
- date
- To add the month and year the template was added to the article, add
|{{#if:date|date=}}mai 2024
. This will be added automatically at some point by a bot if you omit it.
- unnamed parameters for article titles</dt>
- To suggest an article name (or more than one), simply pipe them into the template (or number them
|{{#if:1|1=}}
,|{{#if:2|2=}}
, etc.). For example,{{{{#if: |subst:}}split{{#if:Article 1 ||Article 1}}{{#if:date=mai 2024 ||date=mai 2024}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}
produces:
{{#ifeq:{{{small}}}|left|}It has been suggested that {{#ifeq:|yes|some portions of|}} this {{#if:|{{#ifeq:{{safesubst:#switch: {{{section}}} |no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|yes|section|section}}|{{#if:Modèle|page|article}}}} be split into {{#if:Article 1|{{#if:|{{#if:Modèle|pages|articles}}|a new {{#if:Modèle|page|article}}}} titled Article 1{{#if:||}}|multiple {{#if:Modèle|pages|articles}}}}{{#ifeq:|yes||}}. (Discuss) (mai 2024)- Multiple:
{{{{#if: |subst:}}Split{{#if:Article 1 ||Article 1}}{{#if:Article 2 ||Article 2}}{{#if:Article 3 ||Article 3}}{{#if:date=mai 2024 ||date=mai 2024}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}
produces:
{{#ifeq:{{{small}}}|left|}It has been suggested that {{#ifeq:|yes|some portions of|}} this {{#if:|{{#ifeq:{{safesubst:#switch: {{{section}}} |no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|yes|section|section}}|{{#if:Modèle|page|article}}}} be split into {{#if:Article 1|{{#if:Article 2|{{#if:Modèle|pages|articles}}|a new {{#if:Modèle|page|article}}}} titled Article 1, Article 2 et Article 3{{#if:||}}|multiple {{#if:Modèle|pages|articles}}}}{{#ifeq:|yes||}}. (Discuss) (mai 2024)- Up to 20 new names can be suggested.
- discuss
- To specify where the discussion about this split is taking place, use
|{{#if:discuss|discuss=}}
, as in{{{{#if: |subst:}}split{{#if:Article 1 ||Article 1}}{{#if:date=mai 2024 ||date=mai 2024}}{{#if:discuss=Talk:Article name#Talk page section ||discuss=Talk:Article name#Talk page section}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}
, which produces:
{{#ifeq:{{{small}}}|left|}It has been suggested that {{#ifeq:|yes|some portions of|}} this {{#if:|{{#ifeq:{{safesubst:#switch: {{{section}}} |no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|yes|section|section}}|{{#if:Modèle|page|article}}}} be split into {{#if:Article 1|{{#if:|{{#if:Modèle|pages|articles}}|a new {{#if:Modèle|page|article}}}} titled Article 1{{#if:||}}|multiple {{#if:Modèle|pages|articles}}}}{{#ifeq:|yes||}}. (Discuss) (mai 2024)- section
- To replace the word "article" (or "page", outside of mainspace), use
|{{#if:section|section=}}y
to display "section", or use something more specific, as in{{{{#if: |subst:}}split{{#if:Article 1 ||Article 1}}{{#if:date=mai 2024 ||date=mai 2024}}{{#if:section=list ||section=list}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}
, which produces:
{{#ifeq:{{{small}}}|left|}It has been suggested that {{#ifeq:|yes|some portions of|}} this {{#if:list|{{#ifeq:{{safesubst:#switch: list |no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|yes|section|list}}|{{#if:Modèle|page|article}}}} be split into {{#if:Article 1|{{#if:|{{#if:Modèle|pages|articles}}|a new {{#if:Modèle|page|article}}}} titled Article 1{{#if:||}}|multiple {{#if:Modèle|pages|articles}}}}{{#ifeq:|yes||}}. (Discuss) (mai 2024)Template data
<templatedata> { "params": { "1": { "label": "First new page title", "type": "string", "required": true }, "2": { "label": "Second new page title", "type": "string", "suggested": true }, "3": { "label": "Third new page title", "type": "string" }, "4": { "label": "Fourth new page title", "type": "string" }, "5": { "label": "Fifth new page title", "type": "string" }, "6": { "label": "Sixth new page title", "type": "string" }, "7": { "label": "Seventh new page title", "type": "string" }, "8": { "label": "Eighth new page title", "type": "string" }, "9": { "label": "Ninth new page title", "type": "string" }, "10": { "label": "Tenth new page title", "type": "string" }, "11": { "label": "Eleventh new page title", "type": "string" }, "12": { "label": "Twelfth new page title", "type": "string" }, "13": { "label": "Thirteenth new page title", "type": "string" }, "14": { "label": "Fourteenth new page title", "type": "string" }, "15": { "label": "Fifteenth new page title", "type": "string" }, "16": { "label": "Sixteenth new page title", "type": "string" }, "17": { "label": "Seventeenth new page title", "type": "string" }, "18": { "label": "Eighteenth new page title", "type": "string" }, "19": { "label": "Nineteenth new page title", "type": "string" }, "20": { "label": "Twentieth new page title", "type": "string" }, "section": { "label": "Section or list", "description": "Replaces the word \"article\" or \"page\" with \"section\" (y) or \"list\" (list)", "example": "list", "type": "string", "suggested": true }, "discuss": { "label": "Talk page discussion", "description": "Article talk page and section where split discussion is taking place", "example": "Talk:Microsoft#Split proposed", "type": "string" }, "date": { "label": "Month & year", "description": "The month and year that this request was placed", "example": "March 2017", "type": "date", "default": "mai 2024", "suggested": true } }, "description": "Proposed split of an article into multiple separate Wikipedia articles.", "paramOrder": [ "discuss", "section", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "date" ], "format": "inline" } </templatedata>
{{Wikipedia:Template messages/Splitting/List}}
See also
- {{cleanup split}}
- {{split article}}
- {{split and dab}}
- Multiple:
The above documentation is transcluded from Modèle:Split/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |