Difference between revisions of "Template:Tip"

From Official Kodi Wiki
Jump to: navigation, search
Line 1: Line 1:
{{#if: {{{1|}}}|<span style="padding: 1px 2px 1px 2px; border: solid 1px #ffeaa5;"><table cellspacing="0" cellpadding="0" border="1" style="background: transparent;"><tr><td nowrap="nowrap" valign="top">}}<span style="position: relative; top: -2px;">[[File:Light bulb icon tips.png|18px|Tip|link=]]</span> '''Tip''':{{#if: {{{1|}}}|</td><td valign="top" style="padding-left:0.5em;">{{{1|}}}</td></tr></table></span>}}<noinclude>
+
{{#if: {{{1|}}}|<span style="padding: 1px 2px 1px 2px; border: solid 1px #ffeaa5;"><table cellspacing="0" cellpadding="0" border="0" style="background: transparent;"><tr><td nowrap="nowrap" valign="top">}}<span style="position: relative; top: -2px;">[[File:Light bulb icon tips.png|18px|Tip|link=]]</span> '''Tip''':{{#if: {{{1|}}}|</td><td valign="top" style="padding-left:0.5em;">{{{1|}}}</td></tr></table></span>}}<noinclude>
 
== Usage ==
 
== Usage ==
  

Revision as of 20:38, 15 June 2019

Tip Tip:

1 Usage

1.1 Method 1

The following displays the tip icon, the word 'Tip' followed by whatever text, images, etc. you like:

This is a paragraph with the {{tip}} big iline tip. And whatever else goes there.

will render as:

This is a paragraph with the Tip Tip: big inline tip. And whatever else goes there.

1.2 Method 2

The following will render the tip into its own block:

This is a paragraph with the {{tip|big tip in its own block}}. And whatever else goes there.

will render as:

This is a paragraph with the
Tip Tip: big tip in its own block
. And whatever else goes there.