Difference between revisions of "UserWiki:1plumb"

From Blaseball Wiki

 
(42 intermediate revisions by the same user not shown)
Line 1: Line 1:
why does this only take one click when the one in the table takes two clicks
+
<includeonly><!--
  
<div class="mw-collapsible mw-collapsed">
+
-->{{#vardefine:events-list-item|style="display:grid; grid-template-columns:25px 30px auto fit-content(25px) fit-content(50px); min-height:34px; align-items:center; padding: 0 10px 0 20px; font-family:&quot;Lora&quot;,&quot;Courier New&quot;,monospace, serif; font-size:18px; position:relative; gap:2px; list-style-type:none; box-sizing:border-box; font-weight:400; line-height:1.5; text-align:left; margin-bottom: 5px;"}}<!--
{| class="mw-collapsible mw-collapsed"
+
 
|- class="mw-customtoggle-myDivision"
+
-->{{#vardefine:events-list-season|style="{{#ifexpr: {{#len:{{{season|{{{1|}}} }}}}} > 2 |font-size:14px; |font-size:16px; }}color:#181a21; background:#fefefe; width:webkit-fit-content; width:-mox-fit-content; width:fit-content; min-width:22px; padding: 0 3px; height:22px; display:flex; justify-content:center; align-items:center; font-family:&quot;Open Sans&quot;,&quot;Helvetica Neue&quot;,sans-serif; font-weight:700; border-radius:5px;"}}<!--
|Toggle Link
+
 
|-
+
-->{{#vardefine:events-list-date|style="{{#ifexpr: {{#len:{{{date|{{{2|}}} }}}}} > 2 |font-size:14px; |font-size:16px; }}width:webkit-fit-content; width:-mox-fit-content; width:fit-content; min-width:22px; padding: 0 3px; height:22px; display:flex; justify-content:center; align-items:center; font-family:&quot;Open Sans&quot;,&quot;Helvetica Neue&quot;,sans-serif; font-weight:700; border-radius:5px;"}}<!--
| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision" |Toggled text
+
 
| <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision">test2</div>
+
-->{{#vardefine:events-list-row|style="{{#if:{{{bg|}}}|background-color: #181a21; }}padding: 10px; border-radius: 5px; line-height: 1.2em; width: 100%; position: relative; display: flex; flex-direction: row; align-items: center; {{#switch:{{{category|{{{3|}}} }}}|-1|redacted=border-left:5px solid hsla(0,0%,39.6%,.6509803921568628);|1|changes=border-left:5px solid #6b0046|2|abilities|special=border-left:5px solid #9448a9|3|outcomes=border-left:5px solid #af7624;|4|narrative=border-left:5px solid #3872b7;|win=border-left:5px solid #237a32;|loss=border-left:5px solid #a13838;|0|plays|game#default=border-left:5px solid #3872b7;}}"}}<!--
|- class="mw-customtoggle-myDivision"
+
 
|Additional toggle link
+
--><li {{#var:events-list-item}}><div {{#var:events-list-season}}>{{{season|{{{1|}}} }}}</div><div {{#var:events-list-date}}>{{{date|{{{2|}}} }}}</div><div {{#var:events-list-row}}>{{#switch:{{{category|{{{3|}}} }}}|-1|redacted={{Spoiler|{{{content|{{{4|}}} }}}}}|#default={{{content|{{{4|}}} }}}}}</div></li></includeonly>
|}
+
<noinclude>
</div>
+
 
 +
 
 +
 
 +
<ul>
 +
{{UserWiki:1plumb|18|121|plays|Uncle Plasma IX and Uncle Plasma II are stronger together.}}
 +
{{UserWiki:1plumb|9|X|changes|blah|bg=a}}
 +
{{UserWiki:1plumb|season=8|date=111|category=win|content=test}}
 +
{{UserWiki:1plumb|season=8|date=96|category=win|content=test|bg=1}}
 +
</ul>
 +
 
 +
#181a21; - dark mode
 +
#E9EBEB; - light mode
 +
 
 +
{{UserWiki:1plumb|18|121|plays|Uncle Plasma IX and Uncle Plasma II are stronger together.}}
 +
{{UserWiki:1plumb|9|X|changes|blah|bg=a}}
 +
{{UserWiki:1plumb|season=8|date=111|category=win|content=test}}
 +
{{UserWiki:1plumb|season=8|date=96|category=win|content=test|bg=1}}
 +
 
 +
{{#vardefine:events-list-column|style="display: flex; flex-direction: column;"}}
 +
{{#vardefine:events-list-column-minor|style="margin-left: 10px; font-size: 14px; padding-top: 5px;"}}
 +
{{UserWiki:1plumb|season=8|date=96|category=-1|content=<div {{#var:events-list-column}}><div>test oh god this is going to be a long process</div><div {{#var:events-list-column-minor}}>{{ModGain|0}}</div></div>|bg=1}}
 +
 
 +
<ul>
 +
{{UserWiki:1plumb|season=23|date=EL|category=changes|content=<div {{#var:events-list-column}}><div>FIRE AND SMOKE</div><div>AN EGG</div><div>HATCHING</div><div>[[Niq Nyong'o|NIQ NYONG'O]] RETURNS</div></div>|bg=1}}
 +
{{UserWiki:1plumb|season=23|date=EL|category=changes|content=<div {{#var:events-list-column}}><div>Niq Nyong'o exited the Hall of Flame</div></div>}}
 +
{{UserWiki:1plumb|season=23|date=EL|category=changes|content=<div {{#var:events-list-column}}><div>The Pies added a player to their roster</div><div {{#var:events-list-column-minor}}>{{Teamemoji|pies}} {{PositiveChange}} [[Niq Nyong'o]], Rotation {{PositionIcon|1}}</div></div>|bg=1}}
 +
</ul>
 +
 
 +
{{#vardefine:events-sunbar-1|style="background: rgba(0, 0, 0, 0) linear-gradient(90deg, rgb(251, 205, 98) 0%, rgb(212, 76, 20) 100%) repeat scroll 0% 0%; width: 100%; display: flex; overflow: hidden; height: 1rem; line-height: 0; font-size: .75rem; border-radius: .25rem;"}}<!--
 +
-->{{#vardefine:events-sunbar-2|style="background: rgba(0, 0, 0, 0) linear-gradient(90deg, rgb(16, 69, 127) 0%, rgb(35, 121, 166) 100%) repeat scroll 0% 0%; width: 51.0923%; display: flex; overflow: hidden; flex-direction: column; justify-content: center; color: #fefefe; text-align: center; white-space: nowrap; background-color: #007bff; transition: width .6s ease;"}}
  
test
+
{{UserWiki:1plumb|season=22|date=EL|category=changes|content=<div style="width: 100%;"><div {{#var:events-list-column}}>Sun(Sun) Recharged.</div><div style="display: flex; flex-direction: row; align-items: center; width: 100%;"><span style="width: 50px; height: 50px;"><div style="box-sizing: border-box; margin-top:9px; margin-left:10px;">[[File:tgb sun squared.png|32px|link=Sun(Sun)]]</div></span><div {{#var:events-sunbar-1}}><div {{#var:events-sunbar-2}}></div></div></div></div>|bg=1}}
<span class="mw-customtoggle-interteamRoster" role="checkbox">Show interteam moves (fax, voicemail, etc.)</span>
 
{| class="wikitable sortable alternating-rows mw-collapsible mw-collapsed"
 
!Date
 
! colspan="2" |Removed
 
! colspan="3" |Added
 
! colspan="2" |Cause
 
|- class="mw-customtoggle-interteamRoster"
 
| colspan="8" |Show interteam moves (fax, voicemail, etc.)
 
|-
 
|[[Season 1|01]] EL
 
|[[Winnie Hess]]
 
|{{PositionIcon|Rotation}}
 
|[[PolkaDot Patterson]]
 
|{{Teamemoji|Breath Mints}}
 
|{{PositionIcon|Rotation}}
 
|Blessing ({{Teamemoji|Crabs}})
 
|Steal Best Hitter
 
|-
 
| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-interteamRoster" |[[Season 4|04]] EL<span style="font-size:0">00</span>
 
| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-interteamRoster" |[[Oliver Notarobot]]
 
| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-interteamRoster" |{{PositionIcon|Rotation}}
 
| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-interteamRoster" |[[Joshua Watson]]
 
| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-interteamRoster" |{{Teamemoji|Crabs}}
 
| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-interteamRoster" |{{PositionIcon|Lineup}}
 
| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-interteamRoster" |Blessing ({{Teamemoji|Crabs}})
 
| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-interteamRoster" |The Best Defense
 
|-
 
| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-interteamRoster" |[[Season 4|04]] EL<span style="font-size:0">01</span>
 
| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-interteamRoster" |[[Finn James]]
 
| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-interteamRoster" |{{PositionIcon|Lineup}}
 
| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-interteamRoster" |[[Tillman Henderson]]
 
| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-interteamRoster" |{{Teamemoji|Crabs}}
 
| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-interteamRoster" |{{PositionIcon|Rotation}}
 
| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-interteamRoster" |Blessing ({{Teamemoji|Crabs}})
 
| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-interteamRoster" |Mutual Aid
 
|-
 
|[[Season 5|05]] EL<span style="font-size:0">00</span>
 
|[[Joshua Watson]]
 
|{{PositionIcon|Rotation}}
 
|[[Axel Trololol]]
 
|{{Teamemoji|Firefighters}}
 
|{{PositionIcon|Rotation}}
 
|Blessing ({{Teamemoji|Crabs}})
 
|The Plan? Pitch from the Plate
 
|-
 
|[[Season 5|05]] EL<span style="font-size:0">01</span>
 
|[[Nagomi Mcdaniel]]
 
|{{PositionIcon|Lineup}}
 
|[[Holden Stanton]]
 
|{{Teamemoji|Jazz Hands}}
 
|{{PositionIcon|Lineup}}
 
|Blessing ({{Teamemoji|Jazz Hands}})
 
|Seduction
 
|-
 
|[[Season 10|10]] EL<span style="font-size:0">00</span>
 
|[[Nagomi Mcdaniel]]
 
|{{PositionIcon|Lineup}}
 
|[[Evelton McBlase II]]
 
|{{Teamemoji|Fridays}}
 
|{{PositionIcon|Lineup}}
 
|Blessing ({{Teamemoji|Fridays}})
 
|People's Champion
 
|-
 
|[[Season 10|10]] EL<span style="font-size:0">01</span>
 
|[[Sutton Dreamy]]
 
|{{PositionIcon|Lineup}}
 
|[[Baldwin Breadwinner]]
 
|{{Teamemoji|Fridays}}
 
|{{PositionIcon|Lineup}}
 
|Blessing ({{Teamemoji|Fridays}})
 
|People's Champion
 
|-
 
|[[Season 10|10]] EL<span style="font-size:0">02</span>
 
|[[Montgomery Bullock]]
 
|{{PositionIcon|Rotation}}
 
|[[Bevan Underbuck]]
 
|{{Teamemoji|Fridays}}
 
|{{PositionIcon|Rotation}}
 
|Blessing ({{Teamemoji|Fridays}})
 
|People's Champion
 
|- class="expand-child" style="font-size:85%"
 
|
 
| colspan="7" |An error in the election created [[Bontgomery Mullock]], sent to the [[Lovers]]
 
|- class="mw-collapsible mw-collapsed"
 
| id="mw-customcollapsible-interteamRoster" |[[Season 12|12]] EL<span style="font-size:0">03</span>
 
| id="mw-customcollapsible-interteamRoster" |[[Bevan Underbuck]]
 
| id="mw-customcollapsible-interteamRoster" |{{PositionIcon|Rotation}}
 
| id="mw-customcollapsible-interteamRoster" |[[Jacoby Podcast]]
 
| id="mw-customcollapsible-interteamRoster" |{{Teamemoji|Crabs}}
 
| id="mw-customcollapsible-interteamRoster" |{{PositionIcon|Shadows}}
 
| id="mw-customcollapsible-interteamRoster" |Will ({{Teamemoji|Crabs}})
 
| id="mw-customcollapsible-interteamRoster" |Foreshadow
 
|-
 
|[[Season 15|15]] 104<span style="font-size:0">00</span>
 
|[[Alyssa Harrell]]
 
|{{PositionIcon|Lineup}}
 
| -
 
|{{Teamemoji|Crabs}}
 
|{{PositionIcon|Lineup}}
 
|Redaction
 
|
 
|-
 
|[[Season 15|15]] 104<span style="font-size:0">01</span>
 
|[[Nagomi Mcdaniel]]
 
|{{PositionIcon|Lineup}}
 
| -
 
|{{Teamemoji|Crabs}}
 
|{{PositionIcon|Lineup}}
 
|Redaction
 
|
 
|- class="mw-collapsible mw-collapsed" id="mw-customcollapsible-interteamRoster"
 
|[[Season 15|15]] EL<span style="font-size:0">00</span>
 
|[[Squid Galvanic]]
 
|{{PositionIcon|Lineup}}
 
| -
 
|{{Teamemoji|Crabs}}
 
|{{PositionIcon|Shadows}}
 
|Will ({{Teamemoji|Crabs}})
 
|Move
 
|-
 
|[[Season 15|15]] EL<span style="font-size:0">01</span>
 
|[[York Silk]]
 
|{{PositionIcon|Lineup}}
 
|[[Fish Summer]]
 
|{{Teamemoji|Moist Talkers}}
 
|{{PositionIcon|Lineup}}
 
|Will ({{Teamemoji|Moist Talkers}})
 
|Plunder
 
|-
 
|[[Season 15|15]] EL<span style="font-size:0">02</span>
 
|[[Brock Forbes]]
 
|{{PositionIcon|Rotation}}
 
|[[Parker Parra]]
 
|{{Teamemoji|Flowers}}
 
|{{PositionIcon|Rotation}}
 
|Will ({{Teamemoji|Flowers}})
 
|Equivalent Exchange
 
|-
 
|[[Season 15|15]] EL<span style="font-size:0">03</span>
 
|[[Jacoby Podcast]]
 
|{{PositionIcon|Rotation}}
 
|[[Luis Acevedo]]
 
|{{Teamemoji|Worms}}
 
|{{PositionIcon|Rotation}}
 
|Will ({{Teamemoji|Worms}})
 
|Equivalent Exchange
 
|-
 
|[[Season 15|15]] EL<span style="font-size:0">04</span>
 
| -
 
|{{PositionIcon|Lineup}}
 
|[[Parker Meng]]
 
|{{Teamemoji|Dale}}
 
|{{PositionIcon|Rotation}}
 
|Blessing ({{Teamemoji|Crabs}})
 
|Fringe Benefit
 
|- id="mw-customcollapsible-interteamRoster"
 
| class="mw-collapsible mw-collapsed"|[[Season 18|18]] 42
 
| class="mw-collapsible mw-collapsed"|[[Jon Halifax]]
 
| class="mw-collapsible mw-collapsed"|{{PositionIcon|Rotation}}
 
| class="mw-collapsible mw-collapsed"|[[Parker Meng]]
 
| class="mw-collapsible mw-collapsed"|{{Teamemoji|Crabs}}
 
| class="mw-collapsible mw-collapsed"|{{PositionIcon|Shadows}}
 
| class="mw-collapsible mw-collapsed"|Fax Machine
 
| class="mw-collapsible mw-collapsed"|
 
|}
 
  
 
<!--
 
<!--
 +
rgba(30,30,30,.6392156862745098);
 +
 +
.Events-List-Item{ display:grid; grid-template-columns:25px 30px auto fit-content(25px) fit-content(50px); min-height:34px; align-items:center; padding: 0 10px 0 20px; font-family:"Lora","Courier New",monospace, serif; font-size:18px; position:relative; gap:2px; list-style-type:none; box-sizing:border-box; font-weight:400; line-height:1.5; text-align:left; }
 +
 +
.Events-List-Item:not(:last-child){ margin-bottom:5px; }
 +
 +
.theme-dark .Events-List-Season{ color:#000; background:#fff; }
  
A few notes for recordkeeping the player roster. Mostly done for posterity, if this ever gets turned into a template in the future these are some features I'm trying to keep in mind.
+
.Events-List-Category, .Events-List-Date, .Events-List-Date-Long, .Events-List-Season{ width:webkit-fit-content; width:-mox-fit-content; width:fit-content; min-width:22px; padding: 0 3px; height:22px; display:flex; justify-content:center; align-items:center; font-size:16px; }
  
---
+
.Events-List-Date, .Events-List-Date-Long, .Events-List-Season{ font-family:"Open Sans","Helvetica Neue",sans-serif; font-weight:700; border-radius:5px; }
  
Roster changes are done in the order they show up in the feed. When multiple changes happen on the same day, append:
+
.Events-List-Date-Long{ font-size:14px; }
    <span style="font-size:0">XX</span>
 
to the date (first column) in order to force that order. If the table is sorted from newest to oldest, this ensures that same-day events get flipped as well. XX being a number in ascending order (00, 01, 02, 03, etc. - we've had our first case of more than ten roster changes in a season now, so we're doing leading zeroes).
 
  
---
+
.theme-dark .Events-List-Item:nth-child(2n+1) .Events-List-Background-Standard, .theme-dark .Events-List-Item:nth-child(2n+1) .Events-List-Links-Shown{ background:rgba(30,30,30,.6392156862745098); }
  
If you want to addendum a roster change with some note or context, use the following row beneath the roster change:
+
.Events-List-Desc { padding: 10px; border-radius: 5px; line-height: 1.2em; width: 100%; position: relative; }
    |- class="expand-child" style="font-size:85%"
 
    |
 
    | colspan="7" |Write your note here!
 
    |-
 
This will attach to the previous row as if they were a single row regardless of how the table is sorted.
 
  
---
+
.Events-List-Row { display: flex; flex-direction: row; align-items: center; line-height:1.2em; }
  
Wiki Admins have said that tracking roster shuffles (reverb, fax, voicemail, roster shuffling blessings) is unnecessary but the crabs have been very low frequency on that and because this table tracks whether a player is in the lineup/rotation/shadows it makes for a more consistent view of the team history. This would be very noisy for some teams' seasons though, including ours sometime in the future. There might be ways to toggle partial collapsible elements with an additional button that will make these elements hidden, with custom toggle IDs. Will return to this.
+
.Events-List-Minor { margin-left: 10px; font-size: 14px; padding-top: 5px; }
 +
<pre>
 +
{{#if:{{{bg|}}}|background-color: #21262e; }}
  
 +
{{#switch:{{{category}}}|-1|redacted=&#123;&#123;Spoiler{{!}}|#default=}}{{#switch:{{{category}}}|-1|redacted=&#125;&#125;|#default=}}
 +
 +
{{#vardefine:events-list-item|style="display:grid; grid-template-columns:25px 30px auto fit-content(25px) fit-content(50px); min-height:34px; align-items:center; padding: 0 10px 0 20px; font-family:&quot;Lora&quot;,&quot;Courier New&quot;,monospace, serif; font-size:18px; position:relative; gap:2px; list-style-type:none; box-sizing:border-box; font-weight:400; line-height:1.5; text-align:left;"}}
 +
 +
{{#vardefine:events-list-season|style="color:#000; background:#fff; width:webkit-fit-content; width:-mox-fit-content; width:fit-content; min-width:22px; padding: 0 3px; height:22px; display:flex; justify-content:center; align-items:center; font-size:16px; font-family:&quot;Open Sans&quot;,&quot;Helvetica Neue&quot;,sans-serif; font-weight:700; border-radius:5px;"}}
 +
 +
{{#vardefine:events-list-date|style="width:webkit-fit-content; width:-mox-fit-content; width:fit-content; min-width:22px; padding: 0 3px; height:22px; display:flex; justify-content:center; align-items:center; font-size:16px; font-family:&quot;Open Sans&quot;,&quot;Helvetica Neue&quot;,sans-serif; font-weight:700; border-radius:5px;"}}
 +
 +
{{#vardefine:events-list-row|style="padding: 10px; border-radius: 5px; line-height: 1.2em; width: 100%; position: relative; display: flex; flex-direction: row; align-items: center; border-left:5px solid #6b0046;"}}
 +
 +
<ul>
 +
<li {{#var:events-list-item}}>
 +
<div {{#var:events-list-season}}>8</div>
 +
<div {{#var:events-list-date}}>96</div>
 +
<div {{#var:events-list-row}}>
 +
<div {{#var:events-list-column}}>
 +
<div>test oh god this is going to be a long process</div>
 +
<div {{#var:events-list-column-minor}}>{{ModGain|0}}</div>
 +
</div>
 +
</div>
 +
</li>
 +
</ul>
 +
</pre>
 
-->
 
-->

Latest revision as of 22:29, 3 December 2021



  • 18
    121
    Uncle Plasma IX and Uncle Plasma II are stronger together.
  • 9
    X
    blah
  • 8
    111
    test
  • 8
    96
    test
#181a21; - dark mode
#E9EBEB; - light mode
  • 18
    121
    Uncle Plasma IX and Uncle Plasma II are stronger together.
  • 9
    X
    blah
  • 8
    111
    test
  • 8
    96
    test


  • 8
    96
    test oh god this is going to be a long process
    +  0

    • 23
      EL
      FIRE AND SMOKE
      AN EGG
      HATCHING
      NIQ NYONG'O RETURNS
    • 23
      EL
      Niq Nyong'o exited the Hall of Flame
    • 23
      EL
      The Pies added a player to their roster
      🥧 + Niq Nyong'o, Rotation


  • 22
    EL
    Sun(Sun) Recharged.
    Tgb sun squared.png