Difference between revisions of "Template:Note"

From HPC Wiki
Jump to navigation Jump to search
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="thumb t{{{float|right}}}"><div class="thumbinner" style="width:{{{width|350}}};">{{Youtube|{{{1|I3yKmjMmo6M}}}|width={{{width|500}}}}}<div class="thumbcaption">{{{2|<noinclude>Caption goes here</noinclude>}}}</div></div></div><noinclude>
+
{| class="notice notice-note noprint" style="background: #f2fff2; border: solid 1px #bfffbf; padding: 6pt; margin: 12pt 0.1em; width: -0.5em;"  
{{Doc begin}} Template embeds a YouTube video thumbnail.
+
|
== Syntax ==
+
'''Note:'''
Basic:
+
{{{1|{{{note}}}}}}
<nowiki>{{youtube tn|YouTube id}}</nowiki>
+
|}<noinclude>
 +
Use: <pre>{{NOTE|note|PC2-wiki}}</pre>
  
Caption:
+
{{{Daten3<includeonly>|{{{3|}}}</includeonly>}}}
<nowiki>{{youtube tn|YouTube id|Caption}}</nowiki>
+
'''Note:'''
 
+
{{{1|}}}
With all definable characters:
 
<nowiki>{{youtube tn|YouTube id|Caption|width=value|float=alignment}}</nowiki>
 
 
 
;YouTube Video Id: The YouTube video id of the video to include.
 
;Width: Width of the video, in pixels. Height is automatically calculated. Default is 350px.
 
;Float: Horizontal direction video floats. Default is right.
 
 
 
== See also ==
 
* {{tl|Youtube}}
 
 
 
[[Category:Formatting templates|Youtube]]
 
</noinclude>
 

Latest revision as of 10:52, 2 November 2020

Note: {{{note}}}

Use:

{{NOTE|note|PC2-wiki}}

{{{Daten3}}} Note: