Template:Test: Difference between revisions

From The Reed and Rite
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>
<includeonly><div {{#if:{{{id|}}}|id="{{{id}}}"}} class="notice hide-for-print {{{class|curved}}}" 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 2em 0.5em 0.5em; text-align: center; font-size: {{{font-size|1em}}}; line-height: 1.4; {{#if:{{{border|}}}|border: {{{border|1px solid black}}};}} {{{style}}}; position: relative;"><span class="notice-close" style="position: absolute; top: 0.2em; right: 0.5em; cursor: pointer; font-weight: bold; font-size: 1.2em; line-height: 1;" onclick="this.parentElement.style.display='none';">×</span>{{#if:{{{b|}}}|<div class="notice-main-text" style="font-weight: bold; margin: 0; padding: 0;">{{{b}}}</div>}}<div class="{{#if:{{{b|}}}|hide-for-multinotice|notice-main-text}}" style="white-space: normal; margin: 0; padding: 0;">{{{1}}}</div></div></includeonly>
<div {{#if:{{{id|}}}|id="{{{id}}}"}} class="notice hide-for-print {{{class|curved}}}"  
    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:{{{border|}}}|border: {{{border|1px solid black}}};}};  
            position: relative;">
  <span class="notice-close">×</span>
  {{#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>
</includeonly>
<noinclude>
<noinclude>
This page is for testing out new templates or for making alterations to live templates without damaging them.
This page is for testing out new templates or for making alterations to live templates without damaging them.


{{test|style=background-color:#bdcca1;|b=This is a test|1=this is also a test}}
{{test|style=background-color:#bdcca1;|b=This is a test|1=this is also a test}}

Revision as of 02:44, 21 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