Template:Test/D: Difference between revisions
mNo edit summary Tag: Reverted |
mNo edit summary Tag: Reverted |
||
| Line 13: | Line 13: | ||
}}<!-- | }}<!-- | ||
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Locked Articles]]}}{{#ifeq:{{NAMESPACE}}|{{ns:100}}|[[Category:Locked Articles]]}}</includeonly><noinclude> | -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Locked Articles]]}}{{#ifeq:{{NAMESPACE}}|{{ns:100}}|[[Category:Locked Articles]]}}</includeonly><noinclude> | ||
== 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]]. | |||
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}} | {{test/D|bot|e1}} | ||
== Usage == | == Usage == | ||
| Line 22: | Line 24: | ||
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable" | {| 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 | ! 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 | ! width=20%|You Type | ||
!You Get | !You Get | ||
|- | |- | ||
| style="text-align: center; background-color: white;" |<pre>{{ | | style="text-align: center; background-color: white;" |<pre>{{editlock}}</pre> | ||
| style="background-color: white;" |{{ | | style="background-color: white;" |{{test/D}} | ||
|- | |- | ||
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;"> | ! 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 | ! width=20%|You Type | ||
!You Get | !You Get | ||
|- | |- | ||
| style="text-align: center; background-color: white;" |<pre>{{ | | style="text-align: center; background-color: white;" |<pre>{{editlock|tbot}}</pre> | ||
| style="background-color: white;" |{{ | | style="background-color: white;" |{{editlock|e2}} | ||
|- | |- | ||
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;"> | ! 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 | ! width=20%|You Type | ||
!You Get | !You Get | ||
|- | |- | ||
| style="text-align: center; background-color: white;" |<pre>{{ | | style="text-align: center; background-color: white;" |<pre>{{editlock|e2|e3}}</pre> | ||
| style="background-color: white;" |{{ | | style="background-color: white;" |{{editlock|e2|e3}} | ||
|} | |} | ||
| Line 50: | Line 52: | ||
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}} | {{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=0|limit=100}} | ||
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=100|limit=100}} | |||
[[Category:Notices]] | [[Category:Notices]] | ||
Revision as of 19:14, 29 April 2025
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.
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 Time Machine properly.
Usage
To use, insert {{editlock}} at the beginning of a page, before the infobox, if present.
| Tag Only Passing only the tag will add the Edit Lock notice to that page.
| |
|---|---|
| You Type | You Get |
{{editlock}}
|
|
| Specify Book 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.
| |
| You Type | You Get |
{{editlock|tbot}}
|
|
| SpecifyTwo or More Books 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.
Note: This template is limited to a maximum of seven book abbreviations. | |
| You Type | You Get |
{{editlock|e2|e3}}
|
|
Articles Using Template