Difference between revisions of "User:Jvprat/Sandbox"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Show the proposal for the new Features Page contents)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox Port|User:Jvprat/TestPortFeatures}}
<dpl>
{{Infobox Port|:Nintendo Wii}}
category=Project Services
{{Infobox Port|Template:PortFeatures}}
mode=userformat
=switch tests=
format=,\n,,
Use the "switch" argument to select which argument to show:
include={Infobox Project Service Information} Summary
*<nowiki>{{Switch|yes=yay|no=nay|switch=yes}}</nowiki> shows "{{Switch|yes=yay|no=nay|switch=yes}}"="yay"
</dpl>
*<nowiki>{{Switch|yes=yay|no=nay|switch=no}}</nowiki> shows "{{Switch|yes=yay|no=nay|switch=no}}"="nay"
If the specified option is unknown, the "switch" value will be shown:
*<nowiki>{{Switch|yes=yay|no=nay|switch=err}}</nowiki> shows "{{Switch|yes=yay|no=nay|switch=err}}"="err"
The "default" argument will be used when the "switch" value doesn't match any of the options or that's empty:
*<nowiki>{{Switch|yes=yay|no=nay|default=maybe|switch=err}}</nowiki> shows "{{Switch|yes=yay|no=nay|default=maybe|switch=err}}"="maybe"
The "default" argument is ignored when it's empty:
*<nowiki>{{Switch|yes=yay|no=nay|default=|switch=err}}</nowiki> shows "{{Switch|yes=yay|no=nay|default=|switch=err}}"="err"
 
 
{{IsEmpty||empty=EMPTY|notempty=NOTEMPTY}}

Latest revision as of 17:42, 21 September 2009

<dpl> category=Project Services mode=userformat format=,\n,, include={Infobox Project Service Information} Summary </dpl>