Difference between revisions of "Template:A note/doc"

From MediaWiki
Jump to: navigation, search
m (Usage: changed section level)
 
m (1 revision: A note support copy from Wikipedia)
 

Latest revision as of 17:35, 19 July 2014

{{#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]]
                  |
                 }}
        }}
    | 
   }}

[edit] 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}}:

[edit] See also


Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox