Template talk:Note: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>UNiversal
No edit summary
>UNiversal
mNo edit summary
Line 1: Line 1:
{{#if: {{{1}}} | <div class="note note-{{#switch:{{{2}}}
{{#if: {{{1|}}} | <div class="note note-{{#switch:{{{2}}}
  |gotcha=error
  |gotcha=error
  |=info
  |=info
  |#default={{{2|}}}
  |#default={{{2|}}}
}}">{{{1}}}</div> | [[File:Pad.png|24px|Note|link=]]&nbsp; }}<noinclude>
}}">{{{1}}}</div> | [[File:Pad.png|24px|Note|link=]]&nbsp; }}
<noinclude>
{{Documentation}}
[[Category:Templates]]
</noinclude>
 
==Note to Ned Scott==
 
If I got this to work it would do 100% of the wrapping too and start at same indent on left when wrapping, but clearly skills required.
The idea comes from here https://www.mediawiki.org/wiki/Template:Note but clearly I cant even copy and paste or thers some css going on, either way I dont understand it.
 
If you can figure it out it would be great.--uNiversal 04:01, 28 March 2013 (EDT)

Revision as of 08:01, 28 March 2013

Note 

[edit] Template documentation

Used on pages that contain a Note to comment on a particular block, section or instruction set.

Usage

{{Note|Sample text in here to note or comment about some important part}}

Results in:

Note: Sample text in here to note or comment about some important part


Note to Ned Scott

If I got this to work it would do 100% of the wrapping too and start at same indent on left when wrapping, but clearly skills required. The idea comes from here https://www.mediawiki.org/wiki/Template:Note but clearly I cant even copy and paste or thers some css going on, either way I dont understand it.

If you can figure it out it would be great.--uNiversal 04:01, 28 March 2013 (EDT)