Template:Notice/doc: Difference between revisions
Content added Content deleted
m (2.0em, style corrections) |
m (→Talk pages: disabled styling) |
||
Line 25: | Line 25: | ||
{{para||heading}}/{{para||header}} also works, as well as setting the talkpage-only parameter {{para|small|yes}}, which alters the template's appearance thus: |
{{para||heading}}/{{para||header}} also works, as well as setting the talkpage-only parameter {{para|small|yes}}, which alters the template's appearance thus: |
||
{{Notice|demospace=talk |small=yes |header=Header |style=text-align:center;margin-bottom:2.0em; |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}} |
{{Notice|demospace=talk |small=yes |header=Header |style=text-align:center;<!--margin-bottom:2.0em;--> |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}} |
||
: <code><nowiki>{{Notice |small=yes |header=Header |style=text-align:center; |Lorem ipsum </nowiki>''(etc)''}}</code> produces ...... |
: <code><nowiki>{{Notice |small=yes |header=Header |style=text-align:center; |Lorem ipsum </nowiki>''(etc)''}}</code> produces ...... |
||
{{clear}} |
{{clear}} |
||
Line 31: | Line 31: | ||
Setting the {{para|image}} parameter changes the image shown on the lefthand side of the template. |
Setting the {{para|image}} parameter changes the image shown on the lefthand side of the template. |
||
: <code><nowiki>{{Notice |image=Stop hand nuvola.svg |heading=Heading |Lorem ipsum </nowiki>''(etc)''}}</code> produces: |
: <code><nowiki>{{Notice |image=Stop hand nuvola.svg |heading=Heading |Lorem ipsum </nowiki>''(etc)''}}</code> produces: |
||
{{Notice|demospace=talk|style=margin-bottom:2.0em; |image=Stop hand nuvola.svg |heading=Heading |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}} |
{{Notice|demospace=talk<!--|style=margin-bottom:2.0em;--> |image=Stop hand nuvola.svg |heading=Heading |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}} |
||
(Note the effect of omitting {{para|style|text-align:center;}} here) |
(Note the effect of omitting {{para|style|text-align:center;}} here) |
||