Jump to content

Template:Notice/doc: Difference between revisions

m
→‎Talk pages: disabled styling
m (2.0em, style corrections)
m (→‎Talk pages: disabled styling)
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:
{{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>&nbsp;produces&nbsp;......
{{clear}}
Line 31:
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:
{{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)
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.