Template:Test/D: Difference between revisions

From The Reed and Rite
mNo edit summary
Tag: Reverted
m Replaced content with "<includeonly> INSERT YOUR TEMPLATE CODE HERE </includeonly><noinclude> == Description == This page is for testing out new templates or for making alterations to live templates without damaging them. If you'd like to use this page, please claim it."
Tags: Replaced Manual revert
Line 1: Line 1:
<includeonly>{{notice|color=#FFCCCC|width=80%|id=editlock
<includeonly>
|header=<span style="font-size: 115%;">This page has been locked to prevent further edits.</span><!--
INSERT YOUR TEMPLATE CODE HERE
-->{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{book|}}}|<br>It will not be unlocked until work has been completed through the following book(s):}}<!--
</includeonly><noinclude>
-->{{#if:{{{text|}}}|{{{text}}}{{#if:{{{1|}}}{{{book|}}}|}}}}<!--
-->{{#if:{{{1|}}}{{{book|}}}|<br>''[[{{b|{{{1|{{{book}}}}}}}}|{{b|{{{1|{{{book}}}}}}|text=y}}]]''}}<!--
-->{{#if:{{{2|}}}|{{#if:{{{3|}}}||}} <br>''[[{{b|{{{2}}}}}|{{b|{{{2}}}|text=y}}]]''}}<!--
-->{{#if:{{{3|}}}|{{#if:{{{4|}}}||}} <br>''[[{{b|{{{3}}}}}|{{b|{{{3}}}|text=y}}]]''}}<!--
-->{{#if:{{{4|}}}|{{#if:{{{5|}}}||}} <br>''[[{{b|{{{4}}}}}|{{b|{{{4}}}|text=y}}]]''}}<!--
-->{{#if:{{{5|}}}|{{#if:{{{6|}}}||}} <br>''[[{{b|{{{5}}}}}|{{b|{{{5}}}|text=y}}]]''}}<!--
-->{{#if:{{{6|}}}|{{#if:{{{7|}}}||}} <br>''[[{{b|{{{6}}}}}|{{b|{{{6}}}|text=y}}]]''}}<!--
-->{{#if:{{{7|}}}|<br>''[[{{b|{{{7}}}}}|{{b|{{{7}}}|text=y}}]]''}}<!--
-->|text=For more information, please see [[:Main Page#Our Objective|Our Objectives]].
}}<!--
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Locked Articles]]}}{{#ifeq:{{NAMESPACE}}|{{ns:100}}|[[Category:Locked Articles]]}}</includeonly><noinclude>
== Description ==
== Description ==
This template is reserved for use by administrators. It should be used to indicate a page has been locked to prevent further edits. Using it automatically adds the page to [[:Category:Locked Articles]].
This page is for testing out new templates or for making alterations to live templates without damaging them. If you'd like to use this page, please [[:Template:Test#Usage|claim it]].
 
The standard reason to lock a page is to prevent unintended spoilers on later books until the wiki has been filled out with content from earlier books. This is to help build the [[:Special:TimeMachine|Time Machine]] properly.
 
{{test/D|bot|e1}}
== Usage ==
To use, insert <code><nowiki>{{editlock}}</nowiki></code> at the beginning of a page, before the infobox, if present.
 
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
|-
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Tag Only</span><br><div style="text-align: left;"><span style="font-weight: normal;">Passing only the tag will add the Edit Lock notice to that page.</span></div>
|-
! width=20%|You Type
!You Get
|-
| style="text-align: center; background-color: white;" |<pre>{{editlock}}</pre>
| style="background-color: white;" |{{test/D}}
|-
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Specify Book</span><br><div style="text-align: left;"><span style="font-weight: normal;">If you wish to specify through what book content needs to be complete through for the page to be unlocked, simply pass that book's abbreviation from [[:Template:B]].</span></div>
|-
! width=20%|You Type
!You Get
|-
| style="text-align: center; background-color: white;" |<pre>{{editlock|tbot}}</pre>
| style="background-color: white;" |{{editlock|e2}}
|-
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">SpecifyTwo or More Books</span><br><div style="text-align: left;"><span style="font-weight: normal;">If you wish to specify two or more books, simply pass a parameter for each book using that book's abbreviation from [[:Template:B]]. It is preferred to specify only the immediately preceding book instead of all preceding books.<br><br><span style="font-size: 90%;">'''Note:''' This template is limited to a maximum of seven book abbreviations.</span></span></div>
|-
! width=20%|You Type
!You Get
|-
| style="text-align: center; background-color: white;" |<pre>{{editlock|e2|e3}}</pre>
| style="background-color: white;" |{{editlock|e2|e3}}
|}
 
== Articles Using Template ==
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=100|limit=100}}
 
 
[[Category:Notices]]

Revision as of 17:06, 6 May 2025

Description

This page is for testing out new templates or for making alterations to live templates without damaging them. If you'd like to use this page, please claim it.