"साँचा:Stage": अवतरणों में अंतर

छो oops
छो hack to allow zero and other percentages without percent sign
पंक्ति १:
<noinclude>
[[image:{{{1}}}.svg|9px|Development stage: {{{1}}} {{#if:{{{2|}}}|(as of {{{2}}})|}}|link=Help:Development stages]]{{#if:{{{2|}}}|<small>({{{2}}})</small>}}<noinclude><!-- Development stage: {{{1}}} should be 00%, 25%, 50%, 75%, or 100%; {{{2}}} should be a date like Jan 10, 2005 -->
This template displays a small image indicating a current stage of development.
* ''<nowiki>{{{1}}}</nowiki>'' should be 0% ([[File:00%.svg|9px|link=]]), 25% ([[File:25%.svg|9px|link=]]), 50% ([[File:50%.svg|9px|link=]]), 75% ([[File:75%.svg|9px|link=]]), or 100% ([[File:100%.svg|9px|link=]])
* ''<nowiki>{{{2}}}</nowiki>'' optionally the date development stage was last reviewed
==Usage==
See [[Help:Development stages]]
[[Category:Progress templates|{{PAGENAME}}]]</noinclude><includeonly>
[[File:{{#switch:{{{1|}}}|00|25|50|75|100={{{1}}}%|0=00%|{{{1|00%}}}}}.svg|9px|{{{1}}} developed{{#if:{{{2|}}}|&nbsp; as of {{{2}}}}}|link=Help:Development stages]]{{#if:{{{2|}}}|<small>({{{2}}})</small>}}</includeonly>