Template talk:Note: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>UNiversal
mNo edit summary
>UNiversal
mNo edit summary
Line 1: Line 1:
<pre>
{{#if: {{{1|}}} | <div class="note note-{{#switch:{{{2}}}
{{#if: {{{1|}}} | <div class="note note-{{#switch:{{{2}}}
  |gotcha=error
  |gotcha=error
Line 8: Line 9:
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>
</pre>


==Note to Ned Scott==
==Note to Ned Scott==
The code is in between pre for preview


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

Revision as of 08:03, 28 March 2013

{{#if: {{{1|}}} | <div class="note note-{{#switch:{{{2}}}
 |gotcha=error
 |=info
 |#default={{{2|}}}
}}">{{{1}}}</div> | [[File:Pad.png|24px|Note|link=]]  }}
<noinclude>
{{Documentation}}
[[Category:Templates]]
</noinclude>

Note to Ned Scott

The code is in between pre for preview

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)