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"
Jump to navigation
Jump to search
(swap {{{issue}}} and {{{text}}} to make non-included template clearer) |
m (rename to imagestyle) |
||
(5 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-{{ | + | |class = ambox-{{ambox/type|{{{type}}}}} {{{class|}}} |
− | + | |style = {{#if:{{{bordercolor|}}}|border-left: 10px solid {{{bordercolor}}};}} {{{style|}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |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
{{{text}}} |
(view - edit - history - purge) Documentation
Taken from that other wiki.
Usage:
{{ambox |type=type (see template:ambox/type for a list of valid types) |text=some message |smalltext=some optional smaller message |fix=more text (optional) |image=none | an image ID from template:ambox/core | [[File:some image]] }}
See the template source for less-frequently used parameters, mostly copied from Wikipedia.</noinclude>