Template:Note: Difference between revisions

Jump to navigation Jump to search
m
Switch to the {{forum link}} template for all forum links.
m (Typo, missing period)
m (Switch to the {{forum link}} template for all forum links.)
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| cellspacing="0" style="border: 1px solid #1992ff; border-left-width: 10px; width: {{{width|90%}}}; background-color: #e0f2ff; padding: 2px; margin: 1em auto;"
{| cellspacing="0" style="border: 1px solid #1992ff; border-left-width: 10px; width: {{{width|90%}}}; background-color: #e0f2ff; padding: {{{padding|2px}}}; margin: {{{margin|1em auto}}};"
| style="padding-left: 5px"| '''<span class="smallcaps" style="font-variant:small-caps;">{{LangSwitch
| style="padding-left: 5px"| '''<span class="smallcaps" style="font-variant:small-caps;">{{LangSwitch
| ca = Nota
  | de = Bemerkung
  | de = Bemerkung
  | en = Note
  | en = Note
| es = Porfavor notar:
  | fr = Note
  | fr = Note
  | it = Nota
  | it = Nota
| ru = Примечание
| th = นี่!
}}</span>'''&ensp; {{{1|Add message}}}
}}</span>'''&ensp; {{{1|Add message}}}
|}<noinclude>{{Informative template |1=
|}<noinclude>{{Informative template |1=
Line 12: Line 16:


== Usage ==
== Usage ==
  {{obr}}'''note'''{{!}}message{{!}}''width=''{{cbr}}
  {{obr}}'''note'''
{{!}} message
{{!}} ''width''  =
{{!}} ''padding'' =
{{!}} ''margin''  =
{{cbr}}


; width : Width of the messagebox, preferably as a percentage of the width of the page content. Defaults to 90%.
; width : Width of the messagebox, preferably as a percentage of the width of the page content. This defaults to {{param||90%}}.
 
; padding: The padding CSS setting for the message box.  This defaults to {{param||2px}}.
 
; margin:  The margin CSS setting for the message box.  This defaults to {{param||1em auto}}.


== Example ==
== Example ==
Line 25: Line 38:
== Known issues ==
== Known issues ==
Adding external links must be done like below. Specifically note the '''1{{=}}'''.
Adding external links must be done like below. Specifically note the '''1{{=}}'''.
<pre style="white-space: pre-wrap;"><nowiki>{{note|1=For instruction on how to add screenshots to a forum post, see [http://forum.flightgear.org/viewtopic.php?f=19&t=8873 this forum sticky].}}</nowiki></pre>
{{obr}}note{{!}}1{{=}}For instruction on how to add screenshots to a forum post, see {{obr}}forum link{{!}}t=8873{{!}}text{{=}}this forum sticky{{cbr}}.{{cbr}}


{{note|1=For instruction on how to add screenshots to a forum post, see [http://forum.flightgear.org/viewtopic.php?f=19&t=8873 this forum sticky].}}
{{note|1=For instruction on how to add screenshots to a forum post, see {{forum link|t=8873|text=this forum sticky}}.}}


== Related templates ==
== Related templates ==

Navigation menu