Difference between revisions of "Template:Mbox"

From FIThydrowiki
Jump to navigation Jump to search
what>Davidgothberg
(A first beta version of {{tmbox}} is available, so enabled call to tmbox.)
what>Davidgothberg
(The if-statements do not work, have done extensive testing in my userspace. But no worries, all our mboxes now can take empty parameters so lets use that.)
Line 1: Line 1:
{{  
+
{{
 
   {{namespace detect  
 
   {{namespace detect  
 
   | demospace = {{{demospace|}}}
 
   | demospace = {{{demospace|}}}
Line 8: Line 8:
 
   | other    = ombox
 
   | other    = ombox
 
   }}
 
   }}
<!-- These if-cases should perhaps be removed since all current mboxes can take empty parameters. This code also means we are feeding several empty numbered parameters but that doesn't matter since the mboxes don't use numbered parameters.  -->
+
| type       = {{{type|}}}
| {{#if:{{{type|}}}| type={{{type|}}} }}
+
| image     = {{{image|}}}
| {{#if:{{{image|}}}| image={{{image|}}} }}
+
| imageright = {{{imageright|}}}
| {{#if:{{{imageright|}}}| imageright={{{imageright|}}} }}
+
| style     = {{{style|}}}
| {{#if:{{{style|}}}| style={{{style|}}} }}
+
| textstyle = {{{textstyle|}}}
| {{#if:{{{textstyle|}}}| textstyle={{{textstyle|}}} }}
+
| text       = {{{text|}}}
| {{#if:{{{text|}}}| text={{{text|}}} }}
 
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 08:53, 30 May 2008

{{

 Template:Namespace detect

| type = | image = | imageright = | style = | textstyle = | text =

}}

Lua error in package.lua at line 80: module 'Module:Arguments' not found.