Jump to content

Template:POTD protected/doc

From Wikihoc

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#if:|
         |{{#ifexist:Template:POTD protected
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  | 
                 }}
        }}
    | 
   }}

This template displays the Picture of the day in a format like the one shown on the Main Page, but without the additional wrapping and styling.

Usage

To use this template, add wikitext <syntaxhighlight lang="wikitext" inline="">{{{{safesubst:#ifeq:doc|doc

    | {{safesubst:#ifeq:Template|Template | |Template:}}{{safesubst:#ifeq:doc|doc
         | POTD protected
         | {{safesubst:#switch:doc
            |doc |sandbox |testcases = POTD protected
            | POTD protected/doc
   }}   }} }}}}</syntaxhighlight> to the page.

See also

Subpages

Subpages of this template are used on the Main Page and can be protected via cascading protection: