Minesweeper Template: Difference between revisions

From Unknown Variable
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Top of article template:
=== Minesweeper Infobox ===
<pre>{{Infobox Minesweeper|t=TITLE|a=AUTHOR|aa=ALGORITHMAUTHOR|p=PUBLISHDATE|w=WEEKNUMBER|l=WEBLINK}}</pre>
<pre>{{Infobox Minesweeper|t=TITLE|a=AUTHOR|aa=ALGORITHMAUTHOR|p=PUBLISHDATE|w=WEEKNUMBER|l=WEBLINK|next=Next_Author_Puzzle|prev=Previous_Author_Puzzle}}</pre>
<pre>{{Infobox Minesweeper|t=|a=|aa=|p=|w=|l=|next=|prev=}}</pre>


Example puzzle:
=== Puzzle Tags ===
<pre>
<pre>
<table><tr>{{msc|v=b|s=y}}{{msc|v=q|s=y}}{{msc|v=2|s=}}{{msc|v=q|s=y}}{{msc|v=q|s=y}}{{msc|v=q|s=y}}</tr>
<table><tr>{{msc|v=b|s=y}}{{msc|v=q|s=y}}{{msc|v=2|s=}}{{msc|v=q|s=y}}{{msc|v=q|s=y}}{{msc|v=q|s=y}}</tr>
Line 24: Line 25:
<br />
<br />


Collapsing box:
===Collapsing box===
<pre>
<pre>
<div class="toccolours mw-collapsible mw-collapsed" style="width:500px; overflow:auto;">
<div class="toccolours mw-collapsible mw-collapsed" style="width:500px; overflow:auto;">
Line 38: Line 39:
  --Content
  --Content
</div></div>
</div></div>
===Spoiler Tag===


<pre>
<pre>

Latest revision as of 07:58, 17 October 2025

Minesweeper Infobox

{{Infobox Minesweeper|t=TITLE|a=AUTHOR|aa=ALGORITHMAUTHOR|p=PUBLISHDATE|w=WEEKNUMBER|l=WEBLINK|next=Next_Author_Puzzle|prev=Previous_Author_Puzzle}}
{{Infobox Minesweeper|t=|a=|aa=|p=|w=|l=|next=|prev=}}

Puzzle Tags

<table><tr>{{msc|v=b|s=y}}{{msc|v=q|s=y}}{{msc|v=2|s=}}{{msc|v=q|s=y}}{{msc|v=q|s=y}}{{msc|v=q|s=y}}</tr>
<tr>{{msc|v=b|s=y}}{{msc|v=b|s=y}}{{msc|v=b|s=y}}{{msc|v=q|s=y}}{{msc|v=q|s=y}}{{msc|v=b|s=y}}</tr>
<tr>{{msc|v=2|s=y}}{{msc|v=4|s=y}}{{msc|v=q|s=y}}{{msc|v=2|s=y}}{{msc|v=q|s=y}}{{msc|v=q|s=y}}</tr>
<tr>{{msc|v=3|s=}}{{msc|v=3|s=}}{{msc|v=b|s=y}}{{msc|v=q|s=y}}{{msc|v=1|s=y}}{{msc|v=q|s=y}}</tr>
<tr>{{msc|v=b|s=y}}{{msc|v=b|s=y}}{{msc|v=q|s=y}}{{msc|v=2|s=y}}{{msc|v=b|s=y}}{{msc|v=q|s=}}</tr>
<tr>{{msc|v=3|s=y}}{{msc|v=q|s=y}}{{msc|v=2|s=y}}{{msc|v=3|s=y}}{{msc|v=q|s=y}}{{msc|v=b|s=y}}</tr>
<tr>{{msc|v=q|s=y}}{{msc|v=1|s=}}{{msc|v=q|s=y}}{{msc|v=2|s=y}}{{msc|v=b|s=y}}{{msc|v=q|s=y}}</tr>
<tr>{{msc|v=q|s=y}}{{msc|v=q|s=y}}{{msc|v=q|s=y}}{{msc|v=b|s=y}}{{msc|v=2|s=}}{{msc|v=1|s=}}</tr></table>

Table wrapper needed.
tr needed for each row
Each cell is an msc "Minesweeper Cell" with a value v of:

  • 0-8 for normal clue numbers
  • b for bomb
  • q for question mark
  • blue, red for that color square
  • If other symbols are wanted, they can be made by you or Aki. The file format is ms[IDENTIFIER].png and should keep the same 251px size, but does get resized down to the selected size. (Why 251? I did 256 for my crop square, and software dropped the unused pixels down to what was actually used.)

and a spoiler s set to anything not blank to gain a spoiler tag.

Collapsing box

<div class="toccolours mw-collapsible mw-collapsed" style="width:500px; overflow:auto;">
<div style="font-weight:bold;line-height:1.6;">Copy Paste for Discord:</div>
<div class="mw-collapsible-content">
 --Content
</div></div>
Copy Paste for Discord:
--Content

Spoiler Tag

{{spoiler|block=y|content}}
content