Template:Test/D: Difference between revisions
mNo edit summary |
mNo edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{notice|color=#FFCCCC|align=left | ||
|header=This page is locked from edits 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]]. | |||
}}</includeonly><noinclude> | |||
== Description == | == Description == | ||
This page | This template should be used to indicate a page or section may contain spoilers. Using it automatically adds the page to [[:Category:Articles with Spoilers]]. | ||
{{test/D|tqg}} | |||
== Usage == | |||
To use, insert <code><nowiki>{{spoiler}}</nowiki></code> at the beginning of the a page, after the infobox (if present), or beneath the relevant section heading. | |||
{| 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 spoiler notice to that page or section.</span></div> | |||
|- | |||
! width=20%|You Type | |||
!You Get | |||
|- | |||
| style="text-align: center; background-color: white;" |<pre>{{spoiler}}</pre> | |||
| style="background-color: white;" |{{notice|width=83%|color=#FFCCCC|header=This page or section contains spoilers.|text=Information contained herein may spoil plot points.}} | |||
|- | |||
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Spoilers Warning for One Book</span><br><div style="text-align: left;"><span style="font-weight: normal;">If you wish to specify what book the spoiler warning is regarding, 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>{{spoiler|tbot}}</pre> | |||
| style="background-color: white;" |{{notice|width=83%|color=#FFCCCC|header=This page or section contains spoilers for ''[[The Beast of Ten]]''.|text=Information contained herein may spoil plot points.<br> Proceed with caution if you have not read this book.}} | |||
|- | |||
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Spoilers Warning for Two or More Books</span><br><div style="text-align: left;"><span style="font-weight: normal;">If you wish warn about spoilers from two or more books, simply pass a parameter for each book using that book's abbreviation from [[:Template:B]].<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>{{spoiler|tbot|tq}}</pre> | |||
| style="background-color: white;" |{{notice|width=83%|color=#FFCCCC|header=This page or section contains spoilers for ''[[The Beast of Ten]]'' and ''[[The Q]]''.|text=Information contained herein may spoil plot points.<br> Proceed with caution if you have not read these books.}} | |||
|} | |||
== 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}} | |||
[[Category:Notices]] | |||
Revision as of 21:33, 28 April 2025
Description
This template should be used to indicate a page or section may contain spoilers. Using it automatically adds the page to Category:Articles with Spoilers.
Usage
To use, insert {{spoiler}} at the beginning of the a page, after the infobox (if present), or beneath the relevant section heading.
| Tag Only Passing only the tag will add the spoiler notice to that page or section.
| |
|---|---|
| You Type | You Get |
{{spoiler}}
|
|
| Spoilers Warning for One Book If you wish to specify what book the spoiler warning is regarding, simply pass that book's abbreviation from Template:B.
| |
| You Type | You Get |
{{spoiler|tbot}}
|
|
| Spoilers Warning for Two or More Books If you wish warn about spoilers from two or more books, simply pass a parameter for each book using that book's abbreviation from Template:B.
Note: This template is limited to a maximum of seven book abbreviations. | |
| You Type | You Get |
{{spoiler|tbot|tq}}
|
|