Template:POTD protected/doc
Appearance
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
| icon | This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Template |User |template template page |{{#if:Template |template page|article}}}}}}}}. |
}}{{#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: