Template:RQD: Difference between revisions

From TestWiki
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
{{#switch:{{lc:{{{1<noinclude>|Done</noinclude>}}}}}
{{#if:Status=Done|{{done}} by [[User:{{{by}}}|{{{by}}}]]|<span style="white-space:nowrap;">[[File:Symbol declined.svg|20px]]&nbsp;'''Declined''' by [[User:{{{by}}}|{{{by}}}}]]}}
|done={{done}} by [[User:{{{by}}}|{{{by}}}]]
|no=<span style="white-space:nowrap;">[[File:Symbol declined.svg|20px]]&nbsp;'''Declined''' by [[User:{{{by}}}|{{{by}}}]]
|#default='''Wrong status'''
}}<noinclude>
----
Example:
:<nowiki>{{RQD|Done|by=Example}}</nowiki> → {{RQD|Done|by=Example}}
:<nowiki>{{RQD|No|by=Example}}</nowiki> → {{RQD|No|by=Example}}
:<nowiki>{{RQD|XXX|by=Example}}</nowiki> → {{RQD|XXX|by=Example}}
</noinclude>

Revision as of 12:44, 2 April 2020

 Done by [[User:{{{by}}}|{{{by}}}]]


Example:

{{RQD|Done|by=Example}} →  Done by Example
{{RQD|No|by=Example}} →  Declined by Example
{{RQD|XXX|by=Example}} → Wrong status