User:Driftmaster130/spoiler: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
No edit summary
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" 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={{{1|#fff}}} colspan=4 align=center|Spoiler: {{{2|click to show/hide}}}
|-
|-
|{{{3|spoiler content}}}
|{{{3|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|title=(insert title here)|color=(insert colour of spoiler box 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>

Revision as of 18:09, May 15, 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|title=(insert title here)|color=(insert colour of spoiler box here)|content=(what goes inside box, after spoiler is opened)}}. Not inputting anything into the fields will result in the basic box seen above.