Help:Spoilers: Difference between revisions

Jump to navigation Jump to search
Updating
No edit summary
(Updating)
Line 5: Line 5:
The Portal series is heavily story-based, as such any information regarding the story may be damaging to the experience of new players or players of whom have not completed the game.  To reduce the exposure of Spoilers to players, there are guidelines and practices we have in regards to spoilers.
The Portal series is heavily story-based, as such any information regarding the story may be damaging to the experience of new players or players of whom have not completed the game.  To reduce the exposure of Spoilers to players, there are guidelines and practices we have in regards to spoilers.


== {{tl|Spoiler text}} ==
== {{tl|Spoiler}} ==
{{Spoiler text|The Spoiler text template designates a block of text as a spoiler and spoilers marked using this template will be hidden from view if a user turns spoilers on.}}
[[File:Wiki logo.png|thumb|right|{{Spoiler|This image has a caption wrapped by the template, therefore ''censoring'' both image and caption if spoilers are set to off.}}]]
{{Spoiler|The Spoiler template designates a block of text as a spoiler and spoilers marked using this template will be hidden from view if a user turns spoilers of.}} Whereas this text will not be affected, for it is not marked with the template. {{Spoiler|This piece of text contains an image: [[File:Wiki logo.png|24px]]; which will be ''censored'' with the text.}}


=== How to use it ===
=== How to use it ===
Pass the text to be marked as-spoiler as the first parameter of the template.  The above example was generated by:
Pass the text to be marked as-spoiler as the first parameter of the template.  The above example was generated by:
<pre>{{Spoiler text|The Spoiler text template designates a block of text as a spoiler and spoilers marked using this template will be hidden from view if a user turns spoilers on.}}</pre>
<pre>
[[File:Wiki logo.png|thumb|right|{{Spoiler|This image has a caption wrapped by the template, therefore ''censoring'' both image and caption if spoilers are set to off.}}]]
{{Spoiler|The Spoiler template designates a block of text as a spoiler and spoilers marked using this template will be hidden from view if a user turns spoilers of.}} Whereas this text will not be affected, for it is not marked with the template. {{Spoiler|This piece of text contains an image: [[File:Wiki logo.png|24px]]; which will be ''censored'' with the text.}}
</pre>


=== When to use it ===
=== When to use it ===
This template should be used for every piece of text that contains spoilers.
This template should be used for every piece of information that contains spoilers.  To hide an image, simply define it within the first parameter or have it's caption contain this template.


== Around the Wiki community ==
== Around the Wiki community ==

Navigation menu