Template:A note/doc

From MediaWiki
Revision as of 17:29, 18 November 2013 by Steel1943 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{#ifeq:a note/doc |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:A note/doc
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Usage

A demonstration of default output, for an actual note about this template:

16px {{safesubst:#if:|{{{1}}}|Note}}: The "A" in the name of this template doesn't stand for anything, it's the English article "a". {{note}} already existed as part of the old way of doing citations.

Pass an argument for a custom start; the trailing colon is automatically added. {{{{#if: |subst:}}A note{{#if:Custom note ||Custom note}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} produces:

16px {{safesubst:#if:Custom note|Custom note|Note}}:

See also


Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox