Template:Documentation subpage

From Architect Wiki

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   
        }}{{#ifeq:documentation subpage |doc
    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:Documentation subpage
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

This template is used to provide attribution to Wikipedia, as described on Wikipedia:Reusing Wikipedia content.

Usage

{{En-WP attribution notice|page name}}

The page name should be the name of the Wikipedia page that is being attributed. If no page name is specified, the name of the current page on the local wiki is used.

{{#if:{{#ifeq:Documentation subpage|sandbox|1}}{{#invoke:String|match|Documentation subpage|/sandbox/styles.css$|plain=false|nomatch=}}|| }}