Template:Editlock: Difference between revisions
Created page with "<includeonly>{{notice|color=#FFCCCC|width=80%|id=editlock |header=<span style="font-size: 115%;">This page has been locked to prevent further edits.</span><!-- -->{{#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):}}<!-- -->{{#if:{{{text|}}}|{{{text}}}{{#if:{{{1|}}}{{{book|}}}|}}}}<!-- -->{{#if:{{{1|}}}{{{book|}}}|<br>''{{b|{{{1|{{{book}}}}}}}}|{{b|{{{1|{{{boo..." |
m Protected "Template:Editlock" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
| (24 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><div id="editlock" role="alert" aria-live="polite" class="cdx-message cdx-message--block cdx-message--info mw-editlock" style="margin-bottom: 1em; display: flex; align-items: flex-start;"><!-- | ||
--><div class="cdx-message__icon" style="flex-shrink: 0; min-width: 1.5rem; min-height: 1.5rem;"></div><!-- | |||
-->{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{book|}}}|<br>It will | --><div class="cdx-message__content" style="text-align: left; font-size: 95%;"><!-- | ||
-->{{#if:{{{text|}}}|{{{text}}}{{#if:{{{1|}}}{{{book|}}}|}}}}<!-- | --><div><!-- | ||
-->{{#if:{{{1|}}}{{{book|}}}|<br>''[[{{b|{{{1|{{{book}}}}}}}}|{{b|{{{1|{{{book}}}}}}|text=y}}]]''}}<!-- | --><span style="font-size: 115%;"><strong>This page has been locked to prevent further edits.</strong></span><!-- | ||
-->{{#if:{{{2|}}}| | -->{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{book|}}}|<!-- | ||
-->{{#if:{{{3|}}}| | --><br />It will be unlocked after work has been completed through the following:<!-- | ||
-->{{#if:{{{4|}}}| | -->}}<!-- | ||
-->{{#if:{{{5|}}}| | -->{{#if:{{{text|}}}|<br />{{{text}}}{{#if:{{{1|}}}{{{book|}}}|}}}}<!-- | ||
-->{{#if:{{{6|}}}| | -->{{#if:{{{1|}}}{{{book|}}}|<br />''[[{{b|{{{1|{{{book}}}}}}}}|{{b|{{{1|{{{book}}}}}}|text=y}}]]''}}<!-- | ||
-->{{#if:{{{7|}}}|<br>''[[{{b|{{{7}}}}}|{{b|{{{7}}}|text=y}}]]''}}<!-- | -->{{#if:{{{2|}}}|<br />''[[{{b|{{{2}}}}}|{{b|{{{2}}}|text=y}}]]''}}<!-- | ||
--> | -->{{#if:{{{3|}}}|<br />''[[{{b|{{{3}}}}}|{{b|{{{3}}}|text=y}}]]''}}<!-- | ||
-->{{#if:{{{4|}}}|<br />''[[{{b|{{{4}}}}}|{{b|{{{4}}}|text=y}}]]''}}<!-- | |||
-->{{#if:{{{5|}}}|<br />''[[{{b|{{{5}}}}}|{{b|{{{5}}}|text=y}}]]''}}<!-- | |||
-->{{#if:{{{6|}}}|<br />''[[{{b|{{{6}}}}}|{{b|{{{6}}}|text=y}}]]''}}<!-- | |||
-->{{#if:{{{7|}}}|<br />''[[{{b|{{{7}}}}}|{{b|{{{7}}}|text=y}}]]''}}<!-- | |||
--><br /><span style="font-size: 95%;"><strong>For more information, please see [[:Main Page#Our Objective|Our Objectives]].</strong></span><!-- | |||
--></div><!-- | |||
--></div><!-- | |||
--></div><!-- | |||
-->{{#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 == | == Description == | ||
| Line 20: | Line 27: | ||
== Usage == | == Usage == | ||
To use, insert <code><nowiki>{{editlock}}</nowiki></code> at the beginning of a page, before the infobox, if present. | To use, insert <code><nowiki>{{editlock}}</nowiki></code> at the beginning of a page, before the infobox, if present. | ||
:'''Note:''' You can also pass <code>align=</code> and <code>width=</code> for more granular control of visual appearance. For more details on these parameters, see [[:Template:Notice]]. | |||
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable" | {| style="width: 100%; text-align: left; margin: auto;" class="wikitable" | ||
| Line 28: | Line 36: | ||
!You Get | !You Get | ||
|- | |- | ||
| style="text-align: center | | style="text-align: center;" |<pre>{{editlock}}</pre> | ||
| | |<br>{{editlock}} | ||
|- | |- | ||
! 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> | ! 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> | ||
| Line 36: | Line 44: | ||
!You Get | !You Get | ||
|- | |- | ||
| style="text-align: center | | style="text-align: center;" |<pre>{{editlock|e1}}</pre> | ||
| | |<br>{{editlock|e1}} | ||
|- | |- | ||
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;"> | ! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Specify Two 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 | | style="text-align: center;" |<pre>{{editlock|e1|tqg}}</pre> | ||
| | |<br>{{editlock|e1|tqg}} | ||
|} | |} | ||
Latest revision as of 21:58, 4 June 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.
- Note: You can also pass
align=andwidth=for more granular control of visual appearance. For more details on these parameters, see Template:Notice.
| 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|e1}}
|
|
| Specify Two 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|e1|tqg}}
|
|
Articles Using Template
- The Unselected Journals of Emma M. Lion: Volume 2 (transclusion) (← links | edit)
- The Unselected Journals of Emma M. Lion: Volume 3 (transclusion) (← links | edit)
- The Unselected Journals of Emma M. Lion: Volume 4 (transclusion) (← links | edit)
- The Unselected Journals of Emma M. Lion: Volume 5 (transclusion) (← links | edit)
- The Unselected Journals of Emma M. Lion: Volume 6 (transclusion) (← links | edit)
- The Unselected Journals of Emma M. Lion: Volume 7 (transclusion) (← links | edit)
- The Unselected Journals of Emma M. Lion: Volume 8 (transclusion) (← links | edit)
- The Ruby Prince (transclusion) (← links | edit)
- The Wanderer's Mark (transclusion) (← links | edit)
- Niall Pierce (transclusion) (← links | edit)
- The Duke of Islington (transclusion) (← links | edit)
- Henry Devereux (transclusion) (← links | edit)
- The Personal Library of Emma M. Lion (transclusion) (← links | edit)
- Mirabel Lion (transclusion) (← links | edit)
- Henry (transclusion) (← links | edit)
- Tybalt (transclusion) (← links | edit)
- The Reprobates Ten (transclusion) (← links | edit)
- Margaret Revel (transclusion) (← links | edit)
- Capper (transclusion) (← links | edit)
- Striker (transclusion) (← links | edit)
- Quality Jones (transclusion) (← links | edit)
- Sargent (transclusion) (← links | edit)
- The Boy (transclusion) (← links | edit)
- Mastiff (transclusion) (← links | edit)
- Charlie Cross (transclusion) (← links | edit)
- Odysseus (transclusion) (← links | edit)
- Night Watchman (transclusion) (← links | edit)
- Stonecrop (transclusion) (← links | edit)
- Roland Sutherland (transclusion) (← links | edit)
- Summary:The Ruby Prince (transclusion) (← links | edit)
- Summary:The Wanderer's Mark (transclusion) (← links | edit)
- Summary:The Unselected Journals of Emma M. Lion: Volume 2 (transclusion) (← links | edit)
- Summary:The Unselected Journals of Emma M. Lion: Volume 3 (transclusion) (← links | edit)
- Summary:The Unselected Journals of Emma M. Lion: Volume 4 (transclusion) (← links | edit)
- Summary:The Unselected Journals of Emma M. Lion: Volume 5 (transclusion) (← links | edit)
- Summary:The Unselected Journals of Emma M. Lion: Volume 6 (transclusion) (← links | edit)
- Summary:The Unselected Journals of Emma M. Lion: Volume 7 (transclusion) (← links | edit)
- Summary:The Unselected Journals of Emma M. Lion: Volume 8 (transclusion) (← links | edit)