Difference between revisions of "Template:Tip"

From Forge Community Wiki
m (add missing end parentheses (i hope))
(Change how parameters are handled)
Line 1: Line 1:
{{Colored box|title={{{title|Tip}}}{{#if:{{{background-content-color|}}}|{{!}}background-content-color={{{background-content-color}}}}}{{#if:{{{style|}}}|{{!}}style={{{style}}}}}{{#if:{{{background-title-color|}}}|{{!}}background-title-color={{{background-title-color}}}}}{{#if:{{{icon|}}}|{{!}}icon={{{icon}}}}}{{#if:{{{title-color|}}}|{{!}}title-color={{{title-color}}}}}{{#if:{{{link-color|}}}|{{!}}link-color={{{link-color}}}}}{{#if:{{{link|}}}|{{!}}link={{{link}}}}}{{#if:{{{view-text|}}}|{{!}}view-text={{{view-text}}}}}{{#if:{{{content|{{{1|}}}}}}|{{!}}content={{{content|{{{1}}}}}}}}}}
+
{{Colored box
 +
|title={{{title|Tip}}}
 +
|background-content-color{{#if:{{{background-content-color|}}}||BLANK}}={{{background-content-color}}}
 +
|style{{#if:{{{style|}}}||BLANK}}={{{style}}}
 +
|background-title-color{{#if:{{{background-title-color|}}}||BLANK}}={{{background-title-color}}}
 +
|icon{{#if:{{{icon|}}}||BLANK}}={{{icon}}}
 +
|title-color{{#if:{{{title-color|}}}||BLANK}}={{{title-color}}}
 +
|link-color{{#if:{{{link-color|}}}||BLANK}}={{{link-color}}}
 +
|link{{#if:{{{link|}}}||BLANK}}={{{link}}}
 +
|view-text{{#if:{{{view-text|}}}||BLANK}}={{{view-text}}}
 +
|content={{{content|{{{1}}}}}}
 +
}}

Revision as of 16:29, 20 December 2020

Tip

{{{1}}}