Template:Test: Difference between revisions

From The Reed and Rite
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#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}}} {{#ifeq:{{{dismiss|no}}}|no||dismissible-notice}}" style="width: {{#if:{{{width|}}}{{{width}}}|{{{width}}}|50%}};
<div {{#if:{{{id|}}}|id="{{{id}}}"}} class="notice hide-for-print {{{class|curved}}} {{#if:{{{dismiss|}}}|{{#ifeq:{{{dismiss}}}|no||dismissible-notice}}|dismissible-notice}}" style="width: {{#if:{{{width|}}}{{{width}}}|{{{width}}}|50%}};
   {{#switch:{{{align|center}}}|left=margin: 0.3em 0.3em 0.3em 0;|right=margin: 0.3em 0 0.3em auto;|#default=margin: 0.3em auto;}};
   {{#switch:{{{align|center}}}|left=margin: 0.3em 0.3em 0.3em 0;|right=margin: 0.3em 0 0.3em auto;|#default=margin: 0.3em auto;}};
   padding: 0.5em; text-align: center; font-size: {{{font-size|1em}}}; {{{style}}};
   padding: 0.5em; text-align: center; font-size: {{{font-size|1em}}}; {{{style}}};
Line 7: Line 7:
">
">
   <div style="position: relative;">
   <div style="position: relative;">
     {{#ifeq:{{{dismiss|no}}}|no||<div class="dismiss-button" style="position: absolute; top: -12px; right: -3px; cursor: pointer; padding: 5px;">×</div>}}
     {{#if:{{{dismiss|}}}|{{#ifeq:{{{dismiss}}}|no||<div class="dismiss-button" style="position: absolute; top: -12px; right: -3px; cursor: pointer; padding: 5px;">×</div>}}| <div class="dismiss-button" style="position: absolute; top: -12px; right: -3px; cursor: pointer; padding: 5px;">×</div>}}
     {{#if:{{{b|}}}|<div class="notice-main-text" style="font-weight:bold;">{{{b}}}</div>}}
     {{#if:{{{b|}}}|<div class="notice-main-text" style="font-weight:bold;">{{{b}}}</div>}}
     <div class="{{#if:{{{b|}}}|hide-for-multinotice|notice-main-text}}" style="white-space: normal;">{{{1}}}</div>
     <div class="{{#if:{{{b|}}}|hide-for-multinotice|notice-main-text}}" style="white-space: normal;">{{{1}}}</div>

Revision as of 19:26, 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