User:Manuela/colored box/doc: Difference between revisions
mNo edit summary |
m oneclick for the code examples |
||
| Line 6: | Line 6: | ||
== Example of usage == | == Example of usage == | ||
=== Code === | === Code === | ||
<code><nowiki>{{</nowiki>{{FULLPAGENAME}}|header=Header of colored box example|body=This is an example of a colored box with no shade<nowiki>}}</nowiki></code> | <code style="-webkit-user-select: all; -ms-user-select: all; -moz-user-select: all; user-select: all"><nowiki>{{</nowiki>{{FULLPAGENAME}}|header=Header of colored box example|body=This is an example of a colored box with no shade<nowiki>}}</nowiki></code> | ||
=== Result === | === Result === | ||
<div>{{ {{FULLPAGENAME}}|header=Header of colored box example|body=This is an example of a colored box with no shade}}</div> | <div>{{ {{FULLPAGENAME}}|header=Header of colored box example|body=This is an example of a colored box with no shade}}</div> | ||
=== Code === | === Code === | ||
<code><nowiki>{{</nowiki>{{FULLPAGENAME}}|header=Header of colored box example|body=This is an example of a colored box with shade=p<nowiki>|shade=p}}</nowiki></code> | <code style="-webkit-user-select: all; -ms-user-select: all; -moz-user-select: all; user-select: all"><nowiki>{{</nowiki>{{FULLPAGENAME}}|header=Header of colored box example|body=This is an example of a colored box with shade=p<nowiki>|shade=p}}</nowiki></code> | ||
=== Result === | === Result === | ||
<div>{{ {{FULLPAGENAME}}|header=Header of colored box example|body=This is an example of a colored box with shade=p|shade=p}}</div> | <div>{{ {{FULLPAGENAME}}|header=Header of colored box example|body=This is an example of a colored box with shade=p|shade=p}}</div> | ||
=== Code === | === Code === | ||
<code><nowiki>{{</nowiki>{{FULLPAGENAME}}|header=Header of colored box example|body=This is an example of a colored box with background and header color<nowiki>|backgroundcolor=#ff80ff|headercolor=#ff00ff}}</nowiki></code> | <code style="-webkit-user-select: all; -ms-user-select: all; -moz-user-select: all; user-select: all"><nowiki>{{</nowiki>{{FULLPAGENAME}}|header=Header of colored box example|body=This is an example of a colored box with background and header color<nowiki>|backgroundcolor=#ff80ff|headercolor=#ff00ff}}</nowiki></code> | ||
=== Result === | === Result === | ||
<div>{{ {{FULLPAGENAME}}|header=Header of colored box example|body=This is an example of a colored box with background and header color|backgroundcolor=#ff80ff|headercolor=#ff00ff}}</div> | <div>{{ {{FULLPAGENAME}}|header=Header of colored box example|body=This is an example of a colored box with background and header color|backgroundcolor=#ff80ff|headercolor=#ff00ff}}</div> | ||