Difference between revisions of "Template:Spoiler"

From OMORI Wiki
Jump to navigation Jump to search
(Added section parameter)
(Added route parameter)
Line 1: Line 1:
{{ambox | image = OmoriSuccumb.png | imagewidth = 56px | type = images
{{ambox | image = {{#switch: {{{2}}} | alt | alternative | hiki | hikki | hikkikomori = SunnyStressed.png | #default = OmoriSuccumb.png}} | imagewidth = 56px | type = images
| contents = This {{{1|article}}} contains spoilers for the main story of '''''OMORI'''''.
| contents = WARNING: This {{#switch: {{{1}}} | section = section | #default = article}} contains spoilers for the {{#switch: {{{2}}} | alt | alternative | hiki | hikki | hikkikomori = alternative routes | #default = main story}} of '''''OMORI'''''.
}}
}}
<noinclude>
<noinclude>
<nowiki>
<nowiki>
Used for marking pages and sections as major spoilers.
Used for marking pages and sections as major spoilers.</nowiki><br><nowiki>
Use {{Spoiler}} at the headings of pages or {{Spoiler|section}} to mark individual sections as seen below.
Use {{Spoiler}} at the headings of pages or {{Spoiler|section}} to mark individual sections.</nowiki><br><nowiki>
</nowiki>
You may also mark spoilers for the alternate route with {{Spoiler||alt}}.</nowiki><br><nowiki>
Listed below are some examples.</nowiki><br><br>
<nowiki>{{Spoiler|section}}</nowiki>
{{Spoiler|section}}
{{Spoiler|section}}
<nowiki>{{Spoiler|section|alternative}}</nowiki>
{{Spoiler|section|alternative}}
<nowiki>{{Spoiler||alt}}</nowiki>
{{Spoiler||alt}}
</noinclude>
</noinclude>

Revision as of 04:36, 8 June 2021

Used for marking pages and sections as major spoilers.
Use {{Spoiler}} at the headings of pages or {{Spoiler|section}} to mark individual sections.
You may also mark spoilers for the alternate route with {{Spoiler||alt}}.
Listed below are some examples.

{{Spoiler|section}}

{{Spoiler|section|alternative}}

{{Spoiler||alt}}