v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Ambox"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (alternative class= names)
m (rename to imagestyle)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}
 
{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}
  |type = {{{type|}}}
+
  |type = {{ambox/type|{{{type}}}}}
 
  |image = {{{image|}}}
 
  |image = {{{image|}}}
 +
|imagestyle = {{{imagestyle|}}}
 
  |smallimage = {{#if:{{{smallimage|}}}|{{{smallimage}}}|{{{image|}}}}}
 
  |smallimage = {{#if:{{{smallimage|}}}|{{{smallimage}}}|{{{image|}}}}}
 
  |imageright = {{{imageright|}}}
 
  |imageright = {{{imageright|}}}
 
  |smallimageright = {{#if:{{{smallimageright|}}}|{{{smallimageright}}}|{{{imageright|}}}}}
 
  |smallimageright = {{#if:{{{smallimageright|}}}|{{{smallimageright}}}|{{{imageright|}}}}}
  |class = ambox-{{#switch:{{lc:{{{type|}}}}}
+
  |class = ambox-{{ambox/type|{{{type}}}}} {{{class|}}}
  |speedy|xred = speedy
+
|style = {{#if:{{{bordercolor|}}}|border-left: 10px solid {{{bordercolor}}};}} {{{style|}}}
  |delete|red = delete
 
  |content|orange|warn|warning = content
 
  |style|yellow = style
 
  |move|purple = move
 
  |protection|grey = protection
 
  |notice|blue|#default = notice
 
}} {{{class|}}}
 
|style = {{{style|}}}
 
 
  |textstyle  = {{{textstyle|}}}
 
  |textstyle  = {{{textstyle|}}}
 
  |smalltext  = {{{smalltext|}}}
 
  |smalltext  = {{{smalltext|}}}
Line 34: Line 27:
 
  }}
 
  }}
 
  |info = {{{info|}}}
 
  |info = {{{info|}}}
}}
+
}}<noinclude>
 +
{{documentation}}
 +
</noinclude>

Latest revision as of 05:35, 28 February 2021