Changes

Jump to navigation Jump to search

Template:Note/en

63 bytes added, 6 years ago
Updating to match new version of source page
<onlyinclude>{{#switch:
| =
{{#if: {{#if:{{{1|}}}|{{{1}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <templatestyles src="Note/styles.css" /><div role="note" class="note note-{{#switch:{{{2|}}}
|gotcha=error
|=info
|#default={{{2|}}}
}}" style="background-position{{#if:{{dir|{{pagelang}}inline|right|left}} 7px top 50%; {{dir|{{pagelang}}|padding-right: 40px; paddingnote-left: 0.5em;|padding-right: 0.5em; padding-left: 40px;inline}}">{{{1}}}</div>
| [[File:Bulbgraph.png|18px|Note|link=]]&nbsp;'''Note:''' }}
| #default=
{{ {{TNTN|Note}} |1={{#ifinvoke:{{{1Template translation|}}}renderTranslatedTemplate|<nowiki></nowiki>{{{1|}}}}} |2template={{{2Template:Note|}}} |demonoshift=<noinclude>demo</noinclude> 1}}
}}</onlyinclude>
{{ {{TNTN|documentation}} |content=
== Usage ==
<pre>
{{note}} Loose test
{{tip}} Loose test
 
* Text {{note|Foo|inline=1}}
</pre>
{{note|Foo}}
{{tip}} Loose test
 
* Text {{note|Foo|inline=1}}
<templatedata>
"label": "Type",
"description": "'reminder', 'error', 'gotcha' or nothing. Will affect formatting.",
"type": "stringline" }, "inline": { "label": "Inline formatting", "description": "Show the template without line breaks before and after it", "type": "line"
}
},
Anonymous user

Navigation menu