Difference between revisions of "Template:Ombox"

From WPRDC Wiki
Jump to navigation Jump to search
>Davidgothberg
(Adding the "small=yes" functionality. Now using {{ombox/core}} with hard-coded small styles due to the CSS caching, but it also has the "ombox-small" class so it can be skinned.)
>ExE Boss
m (Use <onlyinclude>)
 
(25 intermediate revisions by 17 users not shown)
Line 1: Line 1:
{{#ifeq:{{{small|}}}|yes
<onlyinclude>{{#invoke:Message box|ombox}}</onlyinclude>
| {{ombox/core
{{Documentation}}
  | small = yes
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
  | type  = {{{type|}}}
  | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
  | imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}
  | style = {{{style|}}}
  | textstyle = {{{textstyle|}}}
  | text  = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }}
  }}
| {{ombox/core
  | type  = {{{type|}}}
  | image = {{{image|}}}
  | imageright = {{{imageright|}}}
  | style = {{{style|}}}
  | textstyle = {{{textstyle|}}}
  | text  = {{{text}}}
  }}
}}<noinclude>
 
{{pp-template|small=yes}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 23:24, 1 September 2021

Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.