Modèle:Time-context/doc
De Wikisisar
< Modèle:Time-context
Révision datée du 21 octobre 2017 à 20:59 par TDLaouer (discussion | contributions) (1 révision importée)
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|This is a documentation subpage for Modèle:Time-context. 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:Time-context | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
This template should not be substituted. |
Usage
For use in asking when an event happened.
- This template will categorise tagged articles into Category:Wikipedia articles needing context and Category:Wikipedia introduction cleanup.
- The text of the messagebox may be customized by specifying parameters 1= (instead of section or article) and 2= (instead of that may not be current but does not specify the time period.).
- This template is a self-reference.
Example
{{{{#if: |subst:}}Time-context{{#if:section ||section}}{{#if:that I thought ended in April 2010 ||that I thought ended in April 2010}}{{#if:date=mai 2024 ||date=mai 2024}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}
gives:
This section is about an event or subject that I thought ended in April 2010. |
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Modèle:Time-context/doc}}|1}} | {{ safesubst:#if:|{{{1}}}|Modèle:Time-context/doc}}
}}|Wikipedia:Template messages||{{#ifexpr:{{#if:Modèle|0|1}}+{{#ifeq:yes|yes|0|1}}
|{{#if: |{{#ifexist:Category:Wikipedia articles needing context from ||}} |[[Category:{{#if: ||Wikipedia articles needing context}}]]}}{{#if:All Wikipedia articles needing context |}}}}}}{{#ifeq:{{ safesubst:#if: | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Modèle:Time-context/doc}}|1}} | {{ safesubst:#if:|{{{1}}}|Modèle:Time-context/doc}}
}}|Wikipedia:Template messages||{{#ifexpr:{{#if:Modèle|0|1}}+{{#ifeq:yes|yes|0|1}}
|{{#if: |{{#ifexist:Category:Wikipedia introduction cleanup from ||}} |[[Category:{{#if: ||Wikipedia introduction cleanup}}]]}}{{#if:All pages needing cleanup |}}}}}}
See also
- {{Clarify timeframe}}
- {{When}}
{{#ifeq:Modèle|Template|* This template is a self-reference.
- This template should not be substituted.}}
Catégories :
- Documentation subpages without corresponding pages
- Pages with incorrectly substituted templates
- Pages using small with an empty input parameter
- Articles using small message boxes
- Wikipedia articles needing context from
- Articles with invalid date parameter in template
- All Wikipedia articles needing context
- Wikipedia introduction cleanup from
- All pages needing cleanup