Шаблон:Spoilers — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
(новый вариант скрыть/показать)
 
 
Строка 1: Строка 1:
{| class = "expandable" style="background:; width: {{{3|65}}}%"  
+
{| class = "expandable" style="background:; width: {{{3|75}}}%"  
 
|<div id="Spoiler tag" style="background: #F99; padding: 2px; margin: 3px 0px; width: 100%; border: 1px solid #F00; text-align: center">
 
|<div id="Spoiler tag" style="background: #F99; padding: 2px; margin: 3px 0px; width: 100%; border: 1px solid #F00; text-align: center">
 
'''Осторожно, спойлеры:''' Скрытый текст содержит спойлеры, связанные с {{{2|историей ''Guild Wars 2''}}}.</div>
 
'''Осторожно, спойлеры:''' Скрытый текст содержит спойлеры, связанные с {{{2|историей ''Guild Wars 2''}}}.</div>
Строка 5: Строка 5:
 
|{{{1|content}}}
 
|{{{1|content}}}
 
|}
 
|}
{{#if:{{NAMESPACE}}||[[Category:Spoilers]]}}
+
{{#if:{{NAMESPACE}}||[[Category:Spoilers]]}}<noinclude>
<noinclude>
 
  
 
== Description ==
 
== Description ==
Строка 23: Строка 22:
  
 
; ''unnamed parameter'' 3
 
; ''unnamed parameter'' 3
: Optional. Width of the template. Defaults to 65%.
+
: Optional. Width of the template. Defaults to 75%.
  
 
== See also ==
 
== See also ==

Текущая версия на 00:25, 16 мая 2019


Description[править]

{{Spoilers|The spoiler|campaign/book spoiled|width}}

This template is used in articles which have small spoiler sections, as in, passages that may unintentionally reveal parts of the Guild Wars 2 overall plot for an user reading the article.

Parameters[править]

unnamed parameter 1
Spoiler content to be hidden.
unnamed parameter 2
Optional. Source of the spoiler. Defaults to "the story of Guild Wars 2".
unnamed parameter 3
Optional. Width of the template. Defaults to 75%.

See also[править]