Mal:Fmboks: Forskjell mellom sideversjoner

Fra wikisida.no
Hopp til navigering Hopp til søk
{{Beskyttet side|liten=ja}}
prøver lua
Linje 1: Linje 1:
<table id="{{{id|}}}" class="plainlinks fmbox
<includeonly>{{#invoke:Message box|fmbox
{{#switch:{{{type|}}}
|image={{{bilde|{{{image|}}}}}}
| warning    = fmbox-warning
|imageright={{{bildehøyre|{{{imageright|}}}}}}
| editnotice = fmbox-editnotice
|style={{{stil|{{{style|}}}}}}
| system          <!-- system = default -->
|textstyle={{{tekststil|{{{textstyle|}}}}}}
| #default  = fmbox-system
|text={{{tekst|{{{text|}}}}}}
}} {{{class|}}}" style="clear: both; margin: 0.2em 0; border: 1px solid #aaa; background: #f9f9f9; width: 100%;
|small={{{liten|{{{small|}}}}}}
{{#switch:{{{type|}}}
|smallimage={{{litebilde|{{{smallimage|}}}}}}
| warning    = background: #FFDBDB; border: 1px solid #BB7070;
|smallimageright={{{litebildehøyre|{{{smallimageright|}}}}}}
| editnotice = background: transparent;
|smalltext={{{litentekst|{{{smalltext|}}}}}}
| system          <!-- system = default -->
|category={{{kategori|{{{category|}}}}}}
| #default  = background: #f9f9f9;
|date={{{dato|{{{date|}}}}}}
}} {{{style|}}}">
}}</includeonly><noinclude>
<tr>
 
{{#ifeq:{{{image|}}}|none
| <!-- No image. -->
| <td class="mbox-image">
  {{#if:{{{image|}}}
  | {{{image}}}
  | {{#switch:{{{type|}}}
    | warning    = [[Image:Cmbox deletion.png|40x40px]]
    | editnotice = [[Image:Imbox notice.png|40x40px]]
    | system          <!-- system = default -->
    | #default  = [[Image:Imbox notice.png|40x40px]]
    }}
  }}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="mbox-imageright"> {{{imageright}}} </td>
}}
</tr>
</table><!-- Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
|   <!-- No type fed, is also valid input -->
| warning
| editnotice
| system    =   <!-- Do nothing, valid "type" -->
| #default  = [[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<noinclude>
{{Beskyttet side|liten=ja}}
{{Beskyttet side|liten=ja}}
{{documentation}}
{{Dokumentasjon}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Sideversjonen fra 5. jul. 2014 kl. 07:26

Lua-feil: bad argument #1 to "get" (not a valid title).