"साचा:Information" च्या विविध आवृत्यांमधील फरक

Content deleted Content added
Making Permission field optional and swithing from HTML/wiki table mix to HTML tables, as discussed in Template_talk:Information#Edit_request. Also adding other_fields_1 field
ओळ १:
<noinclude>{{heavily used template}}</noinclude><div{| class="hproducttoccolours vevent" style="width: 100%; direction: {{Dir|{{int:Lang}}}};" cellpadding="2">
<td id="fileinfotpl_src"! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%;" font-weight:boldid=">fileinfotpl_desc" |{{int:wm-license-information-sourcedescription}}</td>
<table class="toccolours vevent" style="width: 100%; direction: {{Dir|{{int:lang}} }};" cellpadding="4">
|<span class="summary" style="display:none">{{PAGENAME}}</span>
 
<td><span class="description">{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }}</span></td>
<!-- Description -->
<tr|- stylevalign="vertical-align: top">
<td id="fileinfotpl_desc"! style="background: #ccf; text-align: right; padding-right: 0.4em; widthwhite-space: 15%;nowrap" font-weight:boldid=">fileinfotpl_date" | {{int:wm-license-information-descriptiondate}}</td>
|
<td><span class="description">{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }}</span></td>
{{ISOdate|{{{date|{{{Date|}}}}}}}}
</tr>
|- valign="top"
 
<td id="fileinfotpl_aut"! style="background: #ccf; text-align: right; padding-right: 0.4em;" width:id="fileinfotpl_src" 15%;| font-weight:bold">{{int:wm-license-information-authorsource}}</td>
<!-- Other fields 1 -->
|
{{{other_fields_1|{{{Other_fields_1|{{{other fields 1|{{{Other fields 1|}}} }}} }}} }}}
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{Parse source|{{{source|{{{Source|}}} }}}}} | {{Source missing}} }}</td>
 
|- valign="top"
<!-- Date -->
<td id="fileinfotpl_date"! style="background: #ccf; text-align: right; padding-right: 0.4em;" width:id="fileinfotpl_aut" 15%;| font-weight:bold">{{int:wm-license-information-dateauthor}}</td>
<tr style="vertical-align: top">
|
<td id="fileinfotpl_date" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-date}}</td>
<td>{{ISOdate| #if: {{{dateauthor|{{{DateAuthor|}}}}}} | {{{author|{{{Author|}}}}}} | {{Author missing}} }}</td>
|- valign="top"
</tr>
<td id="fileinfotpl_perm"! style="background: #ccf; text-align: right; padding-right: 0.4em;" width:id="fileinfotpl_perm" 15%;| font-weight:bold">{{int:wm-license-information-permission}}<br /><small>([[{{int:wm-license-information-permission-reusing-link}}|{{int:wm-license-information-permission-reusing-text}}]])</small></td>
 
|
<!-- Source -->
{{ #if: {{{permission|{{{Permission|}}}}}} | {{#switch: {{lc:{{{permission|{{{Permission|}}}}}}}}
<tr style="vertical-align: top">
|
<td id="fileinfotpl_src" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-source}}</td>
| yes
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{{source|{{{Source|}}} }}} | {{Source missing}} }}</td>
| see below
</tr>
| see below. = {{int:wm-license-information-permission-see-below}}
 
| #default = {{{permission|{{{Permission|}}} }}}
<!-- Author -->
}} | {{int:wm-license-information-permission-see-below}} }}{{#switch: {{lc:{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}}}
<tr style="vertical-align: top">
<td id="fileinfotpl_aut" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-author}}</td>
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{{author|{{{Author|}}} }}} | {{Author missing}} }}</td>
</tr>
 
<!-- Permission -->
{{#if:{{{permission|{{{Permission|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
<tr style="vertical-align: top">
<td id="fileinfotpl_perm" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-permission}}<br /><small>([[{{int:wm-license-information-permission-reusing-link}}|{{int:wm-license-information-permission-reusing-text}}]])</small></td>
<td>
{{{permission|{{{Permission|}}} }}}
</td>
</tr>
}}
 
<!-- Other versions -->
{{#switch: {{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}}
| =
| - =
| no =
| none =
| #default = <tdtr idvalign="fileinfotpl_vertop"><th style="background: #ccf; text-align: right; padding-right: 0.4em;" width: 15%; font-weight:boldid="fileinfotpl_ver">{{int:wm-license-information-other-versions}}</th><td>
| #default =
{{#switch: {{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}{{{demo|<noinclude/td>1</noincludetr>}}}
<tr style="vertical-align: top">
{{{other_fields_1other_fields|{{{Other_fields_1Other_fields|{{{other fields 1|{{{Other fields 1|}}} }}} }}} }}}
<td id="fileinfotpl_ver" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-other-versions}}</td>
-->|}<noinclude>
<td>
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}
</td>
</tr>
}}
 
{{documentation}}
<!-- Other fields -->
{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}} }}} }}} }}}
 
[[Category:Infobox templates| ]]
</table>
[[Category:Autotranslated templates|Information]]
</div><!--
[[Category:Templates generating hCalendars|Information]]
--><noinclude>
{{documentation}}
</noinclude>
"https://mr.wikipedia.org/wiki/साचा:Information" पासून हुडकले