Template:Test: Difference between revisions

From The Reed and Rite
mNo edit summary
mNo edit summary
Line 2: Line 2:
{{#if: {{{clear|}}} | <div style="clear: both;"></div> }}
{{#if: {{{clear|}}} | <div style="clear: both;"></div> }}
<div {{#if:{{{id|}}}|id="{{{id}}}"}} class="notice hide-for-print {{{class|curved}}} dismissible-notice" style="width: {{#if:{{{width|}}}{{{width}}}|{{{width}}}|50%}}; margin: {{#switch:{{{align|center}}}|left=0 auto 0 0|right=0 0 0 auto|#default=auto}}; padding: 0.5em; text-align: center; font-size: {{{font-size|1em}}}; {{{style}}};
<div {{#if:{{{id|}}}|id="{{{id}}}"}} class="notice hide-for-print {{{class|curved}}} dismissible-notice" style="width: {{#if:{{{width|}}}{{{width}}}|{{{width}}}|50%}}; margin: {{#switch:{{{align|center}}}|left=0 auto 0 0|right=0 0 0 auto|#default=auto}}; padding: 0.5em; text-align: center; font-size: {{{font-size|1em}}}; {{{style}}};
   {{#if: {{{color|}}} | background-color: {{{color}}}; {{#if: {{{border|}}} | border: {{{border}}}; }} | border: 1px solid black; }}
   {{#if: {{{color|}}} | background-color: {{{color}}}; {{#if: {{{border|}}} | border: {{{border}}}; }} | border: 1px solid black; }};
  margin: 0.3em; /* Add margin around the notice */
">
">
   <div style="position: relative;">
   <div style="position: relative;">

Revision as of 05:14, 23 March 2025

This page is for testing out new templates or for making alterations to live templates without damaging them.


×
This is a test
this is also a test
Beth Brower
Our Undaunted Author
Our Undaunted Author
Our Undaunted Author
ProfessionAuthor, Owner of Cat
TitlesThe Right Honorable Beth