Template:Ombox: Difference between revisions

    From Nonbinary Wiki
    m>Edokter
    (Add class parameter)
    m>Mr. Stradivarius
    (switch to Lua version)
    Line 1: Line 1:
    {{#ifeq:{{{small|}}}|yes
    {{#invoke:Message box|ombox}}<noinclude>
    | {{ombox/core
    {{documentation}}
      | small = yes
    <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
      | type  = {{{type|}}}
    </noinclude>
      | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
      | imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}
      | class = {{{class|}}}
      | style = {{{style|}}}
      | textstyle = {{{textstyle|}}}
      | text  = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }}
      }}
    | {{ombox/core
      | type  = {{{type|}}}
      | image = {{{image|}}}
      | imageright = {{{imageright|}}}
      | class = {{{class|}}}
      | style = {{{style|}}}
      | textstyle = {{{textstyle|}}}
      | text  = {{{text}}}
      }}
    }}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>

    Revision as of 12:45, 20 October 2013

    Template documentation[create]