This wiki is still in active development, many areas of the site are unstable or broken.

In the meantime, consider adding content to pages you like!

Template:Spoiler: Difference between revisions

From NBITTRPG Wiki
Created page with "<includeonly><!-- Base code written for Terraria Wiki: https://terraria.wiki.gg/wiki/Template:Spoiler NOTE: This template needs a JavaScript function in MediaWiki:Common.js or MediaWiki:Vector.js to work, as well as styling in MediaWiki:Common.css or MediaWiki:Vector.css for the related classes -->{{#vardefine:element|{{#if:{{{block|}}}|div|span}}}}<!-- --><{{#var:element}} class="spoiler-content {{{class|}}}" id="{{{id|}}}" style="{{{css|{{{style|}}}}}}"><{{#var:el..."
 
mNo edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><templatestyles src="Template:Spoiler/styles.css" /><{{#ifeq:{{{2|}}}|inline|span|div}} class="spoiler {{{3|}}}"><span>{{{1|}}}</span></{{#ifeq:{{{2|}}}|inline|span|div}}></includeonly><noinclude>{{documentation}}</noinclude>
 
Base code written for Terraria Wiki: https://terraria.wiki.gg/wiki/Template:Spoiler
 
NOTE: This template needs a JavaScript function in MediaWiki:Common.js or MediaWiki:Vector.js to work, as well as styling in MediaWiki:Common.css or MediaWiki:Vector.css for the related classes
 
-->{{#vardefine:element|{{#if:{{{block|}}}|div|span}}}}<!--
 
--><{{#var:element}} class="spoiler-content {{{class|}}}" id="{{{id|}}}" style="{{{css|{{{style|}}}}}}"><{{#var:element}}>{{{1|}}}</{{#var:element}}></{{#var:element}}><!--
-->[[Category:Pages with spoilers]]<!--
--></includeonly><noinclude>
{{doc}}
[[Category:Formatting templates]]
</noinclude>

Latest revision as of 10:30, 7 September 2026