Difference between revisions of "User:Ericb/Sandbox"

From MHWiki
m (project done)
(experiment with template, in sandbox this time)
Line 1: Line 1:
 
Next project(s):
 
Next project(s):
* convert [[Crafting]] to a sortable table: done
+
* is it possible to add optional subgroup to [[Template:Mouse]]?
 
* what else needs doing?
 
* what else needs doing?
 +
 +
It looks like this wiki lacks Extension:ParserFunctions, which means no <nowiki>{{#if:test|if text|if empty}}</nowiki>.  But I think I can work around it with my own template, using double template nesting.  To test that...
 +
 +
What happens if I use a template:
 +
*with no argument: {{User:Ericb/Use}}
 +
*with no named argument: {{User:Ericb/Use|discard}}
 +
*with named argument empty: {{User:Ericb/Use|use=}}
 +
*with named argument first: {{User:Ericb/Use|use=hello|discard}}
 +
*with named argument second: {{User:Ericb/Use|discard|use=hello}}
 +
*with named argument twice: {{User:Ericb/Use|use=first|use=second}}

Revision as of 03:19, 24 October 2011

Next project(s):

  • is it possible to add optional subgroup to Template:Mouse?
  • what else needs doing?

It looks like this wiki lacks Extension:ParserFunctions, which means no {{#if:test|if text|if empty}}. But I think I can work around it with my own template, using double template nesting. To test that...

What happens if I use a template:

  • with no argument:
  • with no named argument:
  • with named argument empty:
  • with named argument first: hello
  • with named argument second: hello
  • with named argument twice: second