"फलकम्:Proofreadpage index template" इत्यस्य संस्करणे भेदः

fixed the switch case of progress
No edit summary
अङ्कनम् : 2017 स्रोत संपादन
पङ्क्तिः १:
<includeonly><!--
-->{{#ifexist:{{ns:107}}:{{PAGENAME}}|<!--
{| width="100%"
-->{{Index talk remarks}}<!--
|- valign="top"
-->}}<!--
|
--><indicator name="purge file">[[File:View-refresh.svg|20px|link={{fullurl:commons:File:{{PAGENAME}}|action=purge}}]]</indicator><!--
{|
--><indicator name="book2scroll">[[File:Library-logo-blue-outline.png|18px|link={{fullurl:toollabs:book2scroll/index.html|lang=en&file={{{n|{{PAGENAMEE}}}}}&startpage={{{p|1}}}}}]]</indicator><!--
|-
--><indicator name="transclusion checker">[[File:Crystal_man.png|20px|link={{fullurl:toollabs:checker/|db=enwikisource_p&title={{FULLPAGENAMEE}}}}|alt=Transclusion_Status_Detection_Tool]]</indicator><!--
|<div style="float:left;">
-->
{{#if:{{{Image|{{{चित्रम्|}}}}}}|{{#iferror: {{#expr: 1 + {{{Image|{{{चित्रम्}}}}}} }} | {{{Image|{{{चित्रम्}}}}}} | [[Image:{{PAGENAMEE}}|page={{{Image|{{{चित्रम्}}}}}}|frameless]]}}}}
<table style="display:table; border-spacing:1px 1px; box-sizing:border-box; width:100%;">
<tr>
<td style="padding:0; vertical-align:top;"><!--
--><table style="display:inline-table; border-collapse:collapse; border-spacing:0 0; box-sizing:border-box; width:100%;">
<tr>
<td style="padding:0; vertical-align:top;">
<div style="float:left; margin:0.50em 0.25em 0.50em 0;">
<p style="margin-top:0; margin-bottom:0;">{{#if:{{{Image|}}}|{{#iferror: {{#expr: 1 + {{{Image}}} }} | {{{Image|[[File:Placeholder book.svg|frameless|link=Special:Upload]]}}} | [[File:{{PAGENAMEE}}|page={{{Image}}}|frameless|class=ws-cover]]}} }}</p>
</div>
<table id="prp-indexTable" class="plainlinks" style="border-collapse:separate; border-spacing:2px 2px; box-sizing:border-box; empty-cells:show;"><!--
{|
 
|-
Title-->
| '''शीर्षिका'''
<tr>
| {{{Title|{{{शीर्षिका}}}}}}
<th scope="row" style="padding-right:0.50em; text-align:right; vertical-align:top;">{{int:wm-license-book-title}}</th>
|- {{HideIfEmpty|{{{Author|{{{ग्रन्थकर्ता|}}}}}}}}
<td id="ws-title" style="vertical-align:top;">{{{Title}}}{{#if:{{{Volume|}}}|, {{{Volume}}} }}</td>
| '''ग्रन्थकर्ता'''
</tr><!--
| {{{Author|{{{ग्रन्थकर्ता}}}}}}
 
|- {{HideIfEmpty|{{{Translator|{{{अनुवादकः|}}}}}}}}
Author
| '''अनुवादकः'''
 
| {{{Translator|{{{अनुवादकः}}}}}}
-->{{#if:{{{Author|}}}|
|- {{HideIfEmpty|{{{Editor|{{{सम्पादकः|}}}}}}}}
<tr>
| '''सम्पादकः'''
<th scope="row" style="padding-right:0.50em; text-align:right; vertical-align:top;">{{int:wm-license-information-author}}</th>
| {{{Editor|{{{सम्पादकः}}}}}}
<td id="ws-author" style="vertical-align:top;">{{{ग्रन्थकर्ता}}}</td>
|- {{HideIfEmpty|{{{Year|{{{वर्षम्|}}}}}}}}
</tr>
| '''वर्षम्'''
}}<!--
| {{{Year|{{{वर्षम्}}}}}}
 
|- {{HideIfEmpty|{{{Publisher|{{{प्रकाशकः|}}}}}}}}
Translator
| '''प्रकशकः&nbsp;&nbsp;'''
 
| {{{Publisher|{{{प्रकाशकः}}}}}}
-->{{#if:{{{Translator|}}}|
|- {{HideIfEmpty|{{{Address|{{{पत्रसंज्ञा|}}}}}}
<tr>
| '''पत्रसंज्ञा'''
<th scope="row" style="padding-right:0.50em; text-align:right; vertical-align:top;">{{int:wm-license-book-translator}}</th>
| {{{Address|{{{पत्रसंज्ञा|}}}}}}
<td id="ws-translator" style="vertical-align:top;">{{{अनुवादकः}}}</td>
|-valign="top"
</tr>
| '''स्रोतः'''
}}<!--
| {{#switch:{{{Source|{{{स्रोतः|}}}}}}|djvu=[[:File:{{PAGENAMEE}}|djvu]]|pdf=[[:File:{{PAGENAMEE}}|pdf]]|{{{Source|{{{स्रोतः|}}}}}} }}
 
|- {{HideIfEmpty|{{{Progress|}}}}}
Editor
| '''प्रवर्धमानम्&nbsp;'''
 
|{{#switch:{{{प्रवर्तमानम्|}}}
-->{{#if:{{{Editor|}}}|
|T=[[Category:अनुक्रमणिका पुष्टितम्]][[:Category:अनुक्रमणिका पुष्टितम्|समाप्तम्]]
<tr>
|V=[[Category:अनुक्रमणिका परिष्कृतम्]][[:Category:अनुक्रमणिका परिष्कृतम्|पुष्टीकरणीयम्]]
<th scope="row" style="padding-right:0.50em; text-align:right; vertical-align:top;">{{int:wm-license-book-editor}}</th>
|C=[[Category:अनुक्रमणिका Not-Proofread]][[:Category:अनुक्रमणिका Not-Proofread|To be proofread]]
<td id="ws-editor" style="vertical-align:top;">{{{Editor}}}</td>
|MS=[[category:अनुक्रमणिका - Ready for Match and Split]][[:category:अनुक्रमणिका - Ready for Match and Split|Ready for Match & Split]]
</tr>
|OCR=[[category:अनुक्रमणिका - Text Layer Requested]][[:category:अनुक्रमणिका - Text Layer Requested|Needs an OCR text layer]]
}}<!--
|X=[[category:अनुक्रमणिका - Excerpt or Mixture]][[:category:अनुक्रमणिका - Excerpt or Mixture|Excerpt or Mixture]]
 
|L=[[category:अनुक्रमणिका - File to fix]]<font style="color: #FF0000; ">[[:category:अनुक्रमणिका - File to fix|Source file must be fixed before proofreading]]</font>
Illustrator
|default [[Category:अनुक्रमणिका - Unknown progress]]}}
 
|-valign="top" {{HideIfEmpty|{{{Volumes|{{{दलानि|}}}}}}
-->{{#if:{{{Illustrator|}}}|
| '''दलानि'''
<tr>
|}
<th scope="row" style="padding-right:0.50em; text-align:right; vertical-align:top;">{{int:wm-license-book-illustrator}}</th>
|-valign="top"
<td id="ws-illustrator" style="vertical-align:top;">{{{Illustrator}}}</td>
| '''पुटानि'''
</tr>
<div style="text-align:justify;">
}}<!--
{{{Pages|{{{पुटानि|}}}}}}
 
</div>
Year
|}
 
| {{#if:{{{Remarks|{{{टीका|}}}}}}|width="30%"}} |
-->{{#if:{{{Year|}}}|
<div id="remarks"/>
<tr>
{{{Remarks|{{{टीका|}}}}}}
<th scope="row" style="padding-right:0.50em; text-align:right; vertical-align:top;">Year</th>
</div>
<td id="ws-year" style="vertical-align:top;">{{{Year}}}</td>
|}
</tr>
{{DEFAULTSORT:{{{Key|{{PAGENAME}}}}}}}
}}<!--
[[category:आनुक्रमणिका]]</includeonly><noinclude>
 
Publisher
 
-->{{#if:{{{Publisher|}}}|
<tr>
<th scope="row" style="padding-right:0.50em; text-align:right; vertical-align:top;">{{int:wm-license-book-publisher}}</th>
<td id="ws-publisher" style="vertical-align:top;">{{{Publisher}}}</td>
</tr>
}}<!--
 
Address / Location
 
-->{{#if:{{{Address|}}}|
<tr>
<th scope="row" style="padding-right:0.50em; text-align:right; vertical-align:top;">Location</th>
<td id="ws-place" style="vertical-align:top;">{{{Address}}}</td>
</tr>
}}<!--
 
Source
 
-->{{#if:{{{Source|}}}|
<tr>
<th scope="row" style="padding-right:0.50em; text-align:right; vertical-align:top;">{{int:wm-license-information-source}}</th>
<td id="ws-source" style="vertical-align:top;">{{#ifexist:media:{{PAGENAMEE}}|[[:File:{{PAGENAMEE}}{{!}}{{{Source}}}]]
|{{{Source}}} }}</td>
</tr>
}}<!--
 
Progress
 
-->{{#if:{{{Progress|}}}|
<tr>
<th scope="row" style="padding-right:0.50em; text-align:right; vertical-align:top;">Progress</th>
<td style="vertical-align:top;">{{#switch:{{{Progress|}}}
|T=[[Category:Index Validated]][[:Category:Index Validated{{!}}Done—All pages of the work proper are validated]]
|V=[[Category:Index Proofread]][[:Category:Index Proofread{{!}}Proofread—All pages of the work proper are proofread, but not all are validated]]
|C=[[Category:Index Not-Proofread]][[:Category:Index Not-Proofread{{!}}To be proofread]]
|MS=[[Category:Index - Ready for Match and Split]][[:Category:Index - Ready for Match and Split{{!}}Ready for Match and Split]]
|OCR=[[Category:Index - Text Layer Requested]][[:Category:Index - Text Layer Requested{{!}}Source file needs an OCR text layer]]
|L=[[Category:Index - File to fix]][[:Category:Index - File to fix{{!}}<span class="error">Source file must be fixed before proofreading</span>]]
|X=[[Category:Index - File to check]][[:Category:Index - File to check{{!}}<span class="error">Create a pagelist for the source file before commencing proofreading (to verify file is correct)</span>]]
|#default=[[Category:Index - Unknown progress]]}}</td>
</tr>
}}<!--
 
Volumes
 
-->{{#if:{{{Volumes|}}}|
<tr>
<th scope="row" style="padding-right:0.50em; text-align:right; vertical-align:top;">Volumes</th>
<td style="vertical-align:top;">
{{{Volumes}}}
</td>
</tr>
}}
</table>
</td>
</tr><!--
 
Pages field
 
-->
<tr>
<td style="vertical-align:top;"><div class="mw-collapsible" style="margin-right:0.75em;">
<p><b>Pages</b>&#160;&#160;&#160;(<span style="font-size:83%;">key&#160;to&#160;[[Help:Page Status{{!}}Page&#160;Status]]</span>)&#160;&#160;&#160;</p>
<div class="index-pagelist mw-collapsible-content" style="text-align:justify;">
{{{Pages|}}}
</div></div>
</td>
</tr>
</table>
</td><!--
 
Remarks
 
-->{{#if:{{{Remarks|}}}|
*[[de:MediaWiki:Proofreadpage index template]]
<td style="padding:0 0.25em 0 0.25em; vertical-align:top; width:30%;">
*[[el:Πρότυπο:Index]]
{{{Remarks}}}
*[[en:MediaWiki:Proofreadpage index template]]
|<td style="display:none; padding:0; vertical-align:top;">
*[[fr:MediaWiki:Proofreadpage index template]]
}}</td>
*[[hy:MediaWiki:Proofreadpage index template]]
</tr>
*[[it:MediaWiki:Proofreadpage index template]]
</table>
*[[la:MediaWiki:Proofreadpage index template]]
{{DEFAULTSORT:{{{Key|{{PAGENAME}}}}}}}</includeonly>
*[[nl:Template:Index]]
*[[ru:Шаблон:Index]]
*[[zh:Template:Index]]
</noinclude>
"https://sa.wikisource.org/wiki/फलकम्:Proofreadpage_index_template" इत्यस्माद् प्रतिप्राप्तम्