Modèle:Context/doc : Différence entre versions

De Wikisisar
Aller à : navigation, rechercher
(Added template data)
 
m (1 révision importée)
 
(Aucune différence)

Version actuelle datée du 21 octobre 2017 à 20:58

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:Modèle:Context
                  | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}
{{#if:||{{#ifeq:Context/doc|Context|}}}}

Usage

Place {{{{#if: |subst:}}Context{{#if:date=mai 2024 ||date=mai 2024}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} at the top of an article of which you believe does not identify itself sufficiently to readers unfamiliar with its subject.

The word "article" may be replaced with section, list, etc. For example: {{{{#if: |subst:}}Context{{#if:section ||section}}{{#if:date=mai 2024 ||date=mai 2024}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} will produce {{#ifeq:{{{small}}}|left|}

TemplateData

<templatedata> { "params": { "1": { "label": "What does this banner apply to?", "description": "section, list, etc.", "example": "section", "type": "string", "default": "article", "suggested": true }, "date": { "label": "Month and year", "description": "The month and year that this template was placed", "example": "April 2017", "type": "date", "suggested": true } }, "description": "Banner for the top of an article (or section) of which you believe does not identify itself sufficiently to readers unfamiliar with its subject.", "format": "inline" } </templatedata>

Notes

Redirects

See also

  • {{db-context}} – when an article has so insufficient context that it is impossible to identify the subject, it may be eligible for speedy deletion under WP:A1
  • {{Context inline}} – inline template for a general context problem
  • {{Non sequitur}} – inline template for namedropping the relevance of which is unclear
  • {{Importance section}} – inline template for material of questionable relevance
  • {{Technical}} – message box template for section or article that is written in a too-technical manner

{{#ifeq:Modèle|Template|* This template is a self-reference.