Template:Tip: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>UNiversal
m (Template:Tip)
 
No edit summary
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div>[[File:Lightbulb.png|40px|link=|TIP]]{{{1}}}</div>
{{#if: {{{1|}}}|<div style="margin: 8px 0px 8px 0px"><span style="padding: 3px 1px 2px 1px; border-width: 1px 0px 1px 0px; border-style: solid; border-color: #286a23; display:inline-block">}}<span style="position: relative; top: -2px;">[[File:Light bulb icon tips.png|18px|Tip|link=]]</span> '''Tip''': {{#if: {{{1|}}}|{{{1|}}}</span></div>}}<noinclude>
<noinclude>
== Usage ==
{{Documentation}}
 
[[Category:Templates]]
=== 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 <nowiki>{{tip}}</nowiki> big inline tip. And whatever else goes there.
 
will render as:
 
This is a paragraph with the {{tip}} big inline tip. And whatever else goes there.
 
=== Method 2 ===
The following will render the tip into its own block:
 
This is a paragraph with the <nowiki>{{tip|big tip in its own block}}</nowiki>. And whatever else goes there.
 
will render as:
 
This is a paragraph with the {{tip|big tip in its own block}}. And whatever else goes there.
 
</noinclude>
</noinclude>

Latest revision as of 21:33, 15 June 2019

Tip Tip:

Usage

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 inline 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.

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.