User:Driftmaster130/spoiler: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
m (ah)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|class="mw-collapsible" style="border:1px solid gray; width:100%; font-family:Helvetica; font-color:{{{fontcolor|#000}}}; text-align:left"
{|class="mw-collapsible mw-collapsed" style="border:1px solid gray; width:100%; font-family:Helvetica; font-color:{{{fontcolor|#000}}}; text-align:left"
!bgcolor={{{1|#fff}}} colspan=4 align=center|Spoiler:{{{2|click to show/hide}}}
!bgcolor={{{color|#fff}}} colspan=4 align=center|Spoiler: {{{title|click to show/hide}}}
|-
|-
|{{{3|spoiler content}}}
|{{{content|spoiler content}}}
|}
|}


Collapsible "spoiler" template for use in userspace. Feel free to use by inputting <nowiki><code>User:driftmaster130/spoiler}}.</code></nowiki>
<noinclude>Collapsible "spoiler" template for use in userspace. Please do not add to articles or any other namespace. Feel free to use by inputting <code><nowiki>{{User:driftmaster130/spoiler}}</nowiki></code> (basic version).
For specifics: <nowiki>{{user:driftmaster130/spoiler|title|color (default is white)|content inside}}</nowiki>


 
To customize: <code><nowiki>{{User:driftmaster130/spoiler|color=(insert colour of spoiler box here)|title=(insert title here)|content=(what goes inside box, after spoiler is opened)}}</nowiki></code>. Not inputting anything into the fields will result in the basic box seen above.
<noinclude>
past version which was ripped off of the basic template code:
{| class="mw-collapsible mw-collapsed navtemplate"
!style=background:#{{{1|white}}}colspan=5|Spoiler: {{{2|click to show/hide}}}
|-
|bgcolor=#FFFFFF align=left|{{{3}}}
|}
</noinclude>
</noinclude>

Latest revision as of 14:22, May 21, 2016

Spoiler: click to show/hide
spoiler content

Collapsible "spoiler" template for use in userspace. Please do not add to articles or any other namespace. Feel free to use by inputting {{User:driftmaster130/spoiler}} (basic version).

To customize: {{User:driftmaster130/spoiler|color=(insert colour of spoiler box here)|title=(insert title here)|content=(what goes inside box, after spoiler is opened)}}. Not inputting anything into the fields will result in the basic box seen above.