Difference between revisions of "Template:Tip"

From Official Kodi Wiki
Jump to: navigation, search
Line 4: Line 4:
 
=== Method 1 ===
 
=== Method 1 ===
 
The following displays the tip icon, the word 'Tip' followed by whatever text, images, etc. you like:
 
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 tip. And whatever else goes there.
+
 
 +
This is a paragraph with the <nowiki>{{tip}}</nowiki> big iline tip. And whatever else goes there.
  
 
will render as:
 
will render as:
  
This is a paragraph with the {{tip}} big tip. And whatever else goes there.
+
This is a paragraph with the {{tip}} big inline tip. And whatever else goes there.
  
 
=== Method 2 ===
 
=== Method 2 ===
 
The following will render the tip into its own block:
 
The following will render the tip into its own block:
This is a paragraph with the <nowiki>{{tip|big tip}}</nowiki>. And whatever else goes there.
+
 
 +
This is a paragraph with the <nowiki>{{tip|big tip in its own block}}</nowiki>. And whatever else goes there.
  
 
will render as:
 
will render as:
  
This is a paragraph with the {{tip|big tip}}. And whatever else goes there.
+
This is a paragraph with the {{tip|big tip in its own block}}. And whatever else goes there.
  
 
</noinclude>
 
</noinclude>

Revision as of 13:53, 2 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.