Template:Test: Difference between revisions

mNo edit summary
m Removed claim on Page "B". Testing complete.
Tag: Manual revert
 
(78 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<noinclude>
{{#if: {{{clear|}}} | <div style="clear: both;"></div> }}
== Description ==
<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%}};
This page contains various subpages for testing out new templates or for making improvements to existing templates without altering the live version.
  {{#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}}};
  {{#if: {{{color|}}} | background-color: {{{color}}}; {{#if: {{{border|}}} | border: {{{border}}}; }} | border: 1px solid black; }}
">
  <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:{{{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>
</div>
</includeonly><noinclude>
This page is for testing out new templates or for making alterations to live templates without damaging them.


{{test
'''PLEASE DO NOT USE THIS PAGE FOR TESTING. USE ONE OF THE SUBPAGES LISTED BELOW.'''
|b=This is a test
 
|1=this is also a test
== Usage ==
|color=#bdcca1
Below is a [[:Template:Test#Subpages|list of subpages]] available for testing. To ensure no interference during your testing process, you must claim a subpage. This warns other users not to use that page.
|align=right
 
}}{{character
To claim a page, change <code>[Unclaimed]</code> to <code><nowiki>[Claimed —~~~~]</nowiki></code>, this will add your timestamped signature. Additionally, on the claimed subpage, please add the {{t|Claim}} notice to the top of the page.
|name=Beth Brower
 
|image=Beth Brower-2.jpg
When you are finished with your testing, copy your template to its new home and reset the subpage back to its original state. On this page, change <code><nowiki>[Claimed —~~~~]</nowiki></code> back to <code>[Unclaimed]</code>.
|caption=Our Undaunted Author
 
|profession=Author, Owner of Cat
If all subpages are in use, please create a new subpage by appending <code>/X</code> to this page's url, replacing "<code>X</code>" with the next letter in the sequence established below. Once the new subpage is created, please add it to the list below.
|titles=''The Right Honorable Beth''
 
== Subpages ==
To call a template on a subpage, begin your call with <code><nowiki>{{test/X</nowiki></code>, replacing "<code>X</code>" with the appropriate subpage. Note that the subpage's letter must be capitalized to call correctly.
{{columns|count=2|
* [[Template:Test/A|Page A]] [Claimed —[[User:TheRoman|TheRoman]] ([[User talk:TheRoman|talk]]) 19:24, 11 April 2025 (UTC)]
* [[Template:Test/B|Page B]] [Unclaimed]
* [[Template:Test/C|Page C]] [Unclaimed]
* [[Template:Test/D|Page D]] [Unclaimed]
* [[Template:Test/E|Page E]] [Unclaimed]
* [[Template:Test/F|Page F]] [Unclaimed]
}}
}}


[[Category:Templates]]
[[Category:Templates]]