Difference between revisions of "Template:Note"

From UFRC
Jump to navigation Jump to search
(Created page with "<languages/> <onlyinclude>{{#if: {{#if:{{{1|{{{text|}}}}}}|{{{1|{{{text|}}}}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <templatestyles src="Note/styles.css"...")
 
(Undo revision 27711 by Israel.herrera (talk))
Tag: Undo
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
 
 
<onlyinclude>{{#if: {{#if:{{{1|{{{text|}}}}}}|{{{1|{{{text|}}}}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <templatestyles src="Note/styles.css" /><div role="note" class="note note-{{#switch: {{{2|{{{type|}}}}}}
 
<onlyinclude>{{#if: {{#if:{{{1|{{{text|}}}}}}|{{{1|{{{text|}}}}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <templatestyles src="Note/styles.css" /><div role="note" class="note note-{{#switch: {{{2|{{{type|}}}}}}
 
     |gotcha=error
 
     |gotcha=error
Line 5: Line 4:
 
     |#default={{{2|{{{type|}}}}}}
 
     |#default={{{2|{{{type|}}}}}}
 
     }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div>
 
     }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div>
   | [[File:OOjs UI icon lightbulb-20 fc3.svg|18px|<translate><!--T:1--> Note</translate>|link=]]&nbsp;'''<translate><!--T:2--> Note:</translate>''' }}<!--
+
   | [[File:OOjs UI icon lightbulb-20 fc3.svg|18px|Note|link=]]&nbsp;'''Note:''' }}<!--
 
--></onlyinclude>
 
--></onlyinclude>
 
{{documentation|content=
 
{{documentation|content=
<translate>
+
 
== Usage == <!--T:3-->
+
== Usage ==  
</translate>
 
 
<pre>
 
<pre>
 
{{Note|Foo}}
 
{{Note|Foo}}
Line 17: Line 15:
 
{{Note|Foo|warn}}
 
{{Note|Foo|warn}}
 
{{Note|Foo|error}}
 
{{Note|Foo|error}}
{{Note}} <translate nowrap><!--T:6--> Loose test</translate>
+
{{Note}} Loose test
  
 
* Text {{Note|Foo|inline=1}}
 
* Text {{Note|Foo|inline=1}}
Line 26: Line 24:
 
{{Note|Foo|warn}}
 
{{Note|Foo|warn}}
 
{{Note|Foo|error}}
 
{{Note|Foo|error}}
{{Note}} <translate><!--T:4--> Loose test</translate>
+
{{Note}} Loose test
  
 
* Text {{Note|Foo|inline=1}}
 
* Text {{Note|Foo|inline=1}}
Line 35: Line 33:
  
 
}}
 
}}
[[Category:Templates{{#translation:}}|{{PAGENAME}}]]
+
[[Category:Templates|{{PAGENAME}}]]

Latest revision as of 14:08, 30 March 2023

{{{text}}}