Template:Workpage/doc

From FactsnViews.com
Revision as of 16:19, 23 April 2021 by WikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:Workpage
                  | [[Category:{{#switch:Template |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}} mbox}}{{#switch:
 {{#if: 
{{{demospace}}} main other
   }} 
 }}
main = other #default =

}}

{{#invoke:Navbox|navbox}}