1行目: |
1行目: |
− | <noinclude>{{heavily used template}}</noinclude><div class="hproduct"> | + | <noinclude>{{heavily used template}}</noinclude><div class="hproduct commons-file-information-table"> |
− | <table class="toccolours vevent mw-content-{{Dir|{{int:lang}}}}" style="width: 100%; direction: {{Dir|{{int:lang}}}};" cellpadding="4"> | + | <table class="fileinfotpl-type-information toccolours vevent mw-content-{{Dir|{{int:lang}}}}" style="width: 100%; direction: {{Dir|{{int:lang}}}};" cellpadding="4"> |
| | | |
| <!-- Description --> | | <!-- Description --> |
| <tr style="vertical-align: top"> | | <tr style="vertical-align: top"> |
− | <td id="fileinfotpl_desc" class="fileinfo-paramfield">{{int:wm-license-information-description}}<span class="summary fn" style="display:none">{{PAGENAME}}</span><!-- required for hCalendar and hProduct microformat; though hMedia would be more appropriate --></td> | + | <td {{ #if: {{{description|{{{Description|}}} }}} | id="fileinfotpl_desc" }} class="fileinfo-paramfield">{{int:wm-license-information-description}}<span class="summary fn" style="display:none">{{PAGENAME}}</span><!-- required for hCalendar and hProduct microformat; though hMedia would be more appropriate --></td> |
| <td class="description"> | | <td class="description"> |
| {{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }} | | {{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }} |
21行目: |
21行目: |
| <!-- Source --> | | <!-- Source --> |
| <tr style="vertical-align: top"> | | <tr style="vertical-align: top"> |
− | <td id="fileinfotpl_src" class="fileinfo-paramfield">{{int:wm-license-information-source}}</td> | + | <td {{ #if: {{{source|{{{Source|}}} }}} | id="fileinfotpl_src" }} class="fileinfo-paramfield">{{int:wm-license-information-source}}</td> |
| <td>{{ #if: {{{source|{{{Source|}}} }}} | {{Parse source|{{{source|{{{Source|}}} }}} }} | {{Source missing}} }}</td> | | <td>{{ #if: {{{source|{{{Source|}}} }}} | {{Parse source|{{{source|{{{Source|}}} }}} }} | {{Source missing}} }}</td> |
| </tr> | | </tr> |
27行目: |
27行目: |
| <!-- Author --> | | <!-- Author --> |
| <tr style="vertical-align: top"> | | <tr style="vertical-align: top"> |
− | <td id="fileinfotpl_aut" class="fileinfo-paramfield">{{int:wm-license-information-author}}</td> | + | <td {{#switch: {{{author|{{{Author|}}} }}} |- |-- |= |#default= id="fileinfotpl_aut" }} class="fileinfo-paramfield">{{int:wm-license-information-author}}</td> |
| <td>{{ #if: {{{author|{{{Author|}}} }}} | {{Information/author processing|author={{{author|{{{Author|}}} }}}}} | {{Author missing}} }}</td> | | <td>{{ #if: {{{author|{{{Author|}}} }}} | {{Information/author processing|author={{{author|{{{Author|}}} }}}}} | {{Author missing}} }}</td> |
| </tr> | | </tr> |
61行目: |
61行目: |
| </div><!-- | | </div><!-- |
| Parameter maintenance | | Parameter maintenance |
− | -->{{#switch:{{NAMESPACENUMBER}}|6|10= | + | -->{{#invoke:TemplatePar|check |
− | {{#invoke:TemplatePar|check | |
| |opt= | | |opt= |
| description= Description= | | description= Description= |
73行目: |
72行目: |
| other_fields_1= Other_fields_1= other fields 1= Other fields 1= | | other_fields_1= Other_fields_1= other fields 1= Other fields 1= |
| demo= | | demo= |
− | 1=<!--tracked below separately-->
| |
| |cat= Pages using Information template with incorrect parameter | | |cat= Pages using Information template with incorrect parameter |
| + | |errNS= 6 10 |
| |template= [[Template:Information]] | | |template= [[Template:Information]] |
− | }}
| |
− | {{#if:{{{1|}}}|<span style="color:red">Syntax error in [[Template:Information]]: “{{{1}}}”</span>[[Category:Pages using Information template with syntax errors]]}}
| |
| }}<noinclude> | | }}<noinclude> |
| | | |