Template:Information#Syntax description

{{#switch: {{PROTECTIONLEVEL:upload}}

|sysop|templateeditor|extendedconfirmed={{pp-upload|small=yes}}

}}{{#switch: {{PROTECTIONLEVEL:move}}

|sysop|templateeditor|extendedconfirmed={{pp-move|small=yes}}

}}{{#switch: {{PROTECTIONLEVEL:edit}}

|sysop={{pp-protected|small=yes}}

|templateeditor={{pp-template|small=yes}}

|extendedconfirmed={{Pp-30-500|small=yes}}

|autoconfirmed={{pp-protected|small=yes}}

|

}}

class="file-information"

|+ File information

scope="row" {{#if:{{{Description|{{{description
}}}}}|id="fileinfotpl_desc"}} |Description

| {{{Location|}}}

{{#if: {{{Description|{{{description|}}}}}}

| {{{Description|{{{description}}}}}}

| {{Description missing|category=}}

}}

|-

! scope="row" {{#if:{{{Source|{{{source|}}}}}}|id="fileinfotpl_src"}} | Source

|

{{#if:{{{Source|{{{source|}}}}}}

| {{{Source|{{{source}}}}}}

| {{#ifeq:{{NAMESPACE}}|File|Category:Files with no machine-readable source}} No source specified. Please edit this file description and provide a source.

}}

|-

! scope="row" {{#if:{{{Date|{{{date|}}}}}}|id="fileinfotpl_date"}} | Date

|

{{{Date|{{{date|}}}}}}

|-

! scope="row" {{#if:{{{Author|{{{author|}}}}}}|id="fileinfotpl_aut"}} | Author

|

{{#if: {{{Author|{{{author|}}}}}}

| {{{Author|{{{author}}}}}}

| {{Description missing|author information|category=}}{{#ifeq:{{NAMESPACE}}|File|Category:Files lacking an author}}

}}

|-

! scope="row" {{#if:{{{Permission|{{{permission|}}}}}}|id="fileinfotpl_perm"}} | Permission
(Reusing this file)

|

{{#if:{{{Permission|{{{permission|}}}}}}

| {{{Permission|{{{permission}}}}}}

| See below.

}}

{{#switch: {{{Other_versions| {{{other_versions| {{{other versions|}}} }}} }}}

| =

| - =

| none =

| #default =

{{!}}-

! scope="row" id="fileinfotpl_ver" {{!}} Other versions

{{!}} {{{Other_versions| {{{other_versions| {{{other versions|}}} }}} }}}

}}

{{#switch: {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}}

| =

| - =

| none =

| #default =

{{!}}-

! scope="row" id="fileinfotpl_add" {{!}} Additional information

{{!}} {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}}

}}

|}

{{documentation}}