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

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

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

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

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

Workpages are often created as temporary places to store stuff that may eventually become part of an article or other page. These are generally created as subpages of the corresponding Talk: page to avoid any possibility that a casual reader may stumble upon them. {{workpage}} goes further, prominently tagging the workpage as a workpage. This also categorizes to Category:Workpages.

Usage

Abstract usage of the template:

{{Workpage}}

{{Workpage|name}}

The single, positional parameter is the name of a page into which the material of the workpage may or may not someday be incorporated. Do not link to an article in this fashion. This parameter is optional and defaults to "an article".

Example

Code Result
{{Workpage|Old Man and the Sea}} {{#switch:
 {{#if: 
{{{demospace}}} main other
   }} 
 }}
main = other #default =

}}