Difference between revisions of "Template:Tip"

From Forge Community Wiki
(create Tip template)
 
(adjust the style of default tip)
 
(3 intermediate revisions by the same user not shown)
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{{#if:{{{title|}}}||BLANK}}={{{title}}}
 +
|background-content-color{{#if:{{{background-content-color|}}}||BLANK}}={{{background-content-color}}}
 +
|border-color={{{border-color|#9862b6}}}
 +
|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}}}}}}
 +
}}

Latest revision as of 21:45, 14 February 2021

{{{1}}}