Difference between revisions of "UserWiki:1plumb"

From Blaseball Wiki

 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly><!--
{{#vardefine:_season|{{#if:{{{season|}}}|{{{season}}}|{{PAGENAME}}}}}}
 
<infobox>
 
  <title source="title"><default>{{TeamEmojiSelector|{{BASEPAGENAME}}}} [[{{BASEPAGENAME}}]]</default></title>
 
 
 
  <group layout="horizontal">
 
<header>{{#var:_season}}</header>
 
<data source="previous"><label>← Previous</label><default>N/A</default></data>
 
<data source="next"><label>Next →</label><default>N/A</default></data>
 
  </group>
 
 
 
  <group>
 
    <header>Results</header>
 
    <data source="postseason"><label>Postseason</label></data>
 
    <data source="record"><label>Overall Record</label></data>
 
    <data source="wins"><label>Wins</label></data>
 
    <data source="partytime"><label>Partytime</label></data>
 
    <data source="favor"><label>Divine Favor</label></data>
 
    <data source="div_place"><label>Division</label>
 
      <format>{{{div_place}}} {{#if: {{{division|}}} | in {{{division}}} {{{league}}}}}</format></data>
 
    <data source="league_place"><label>League</label>
 
      <format>{{{league_place}}} {{#if: {{{league|}}} | in {{{league}}}}} League</format></data>
 
    <data source="ilb_place"><label>ILB Placement</label>{{{ilb_place}}} overall</data>
 
    <data source="stats"><label>Stats</label></data>
 
  </group>
 
  
  <panel>
+
-->{{#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;"}}<!--
    <section>
 
      <label>Stats</label>
 
      <data source="season"><label>Season</label><default>1</default></data> <!--
 
      Team Icons
 
      Stadium Icons
 
     
 
      -->
 
    </section>
 
  
    <section>
+
-->{{#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;"}}<!--
      <label>Changes</label>
 
      <data source="changes"><default>None</default></data>
 
    </section>
 
  
    <section>
+
-->{{#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;"}}<!--
      <label>Earlsiesta</label>
 
      <data source="earlsiestatab"><label>Season2</label></data>
 
    </section>
 
   
 
    <section>
 
      <label>Latesiesta</label>
 
      <data source="latesiestatab"><label>Season2</label></data>
 
    </section>
 
   
 
    <section>
 
      <label>Election</label>
 
      <data source="electionstab"><label>Season2</label><default>2</default></data>
 
    </section>
 
  </panel>
 
</infobox>
 
</includeonly>
 
  
 +
-->{{#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;}}"}}<!--
 +
 +
--><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>
 
<noinclude>
  
{{#vardefine:s6changes|
 
<table class="wikitable">
 
  <th style="text-align:left;">Date</th>
 
  <th style="text-align:left;">Change</th>
 
  <th style="text-align:left;">Cause</th>
 
  <tr>
 
    <td style="text-align:center;">EL</td>
 
    <td>
 
    <table>
 
        <tr>
 
          <td>{{NegativeChange}}</td>
 
          <td>[[Holden Stanton]]</td>
 
          <td>{{PositionIcon|Lineup}}</td>
 
          <td>{{Teamemoji|Jazz Hands}}</td>
 
        </tr>
 
          <td>{{PositiveChange}}</td>
 
          <td>[[Nagomi McDaniel]]</td>
 
          <td>{{PositionIcon|Lineup}}</td>
 
        <tr>
 
        </tr>
 
      </table>
 
    </td>
 
    <td>
 
      <table>
 
        <tr>
 
          <td>Blessing</td>
 
          <td>({{Teamemoji|Crabs}})</td>
 
        </tr>
 
        <tr>
 
          <td>Headhunter</td>
 
        </tr>
 
      </table>
 
    </td>
 
  </tr>
 
</table>}}
 
  
{{NegativeChange}}{{PositiveChange}}
 
  
{{#var:s6changes}}
+
<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;"}}
 +
 
 +
{{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}}
 +
 
 +
<!--
 +
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; }
  
<table class="wikitable alternating-rows">
+
.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; }
  <th>Date</th>
 
  <th colspan="2">Removed</th>
 
  <th colspan="3">Added</th>
 
  <th colspan="2">Cause</th>
 
  <tr>
 
    <td>[[Season 6|06]]EL</td>
 
    <td>[[Holden Stanton]]</td>
 
    <td>{{PositionIcon|Lineup}}</td>
 
    <td>[[Nagomi McDaniel]]</td>
 
    <td>{{Teamemoji|Jazz Hands}}</td>
 
    <td>{{PositionIcon|Lineup}}</td>
 
    <td>Blessing ({{Teamemoji|Crabs}})</td>
 
    <td>Headhunter</td>
 
  </tr>
 
</table>
 
  
{| class="wikitable alternating-rows"
+
.Events-List-Date, .Events-List-Date-Long, .Events-List-Season{ font-family:"Open Sans","Helvetica Neue",sans-serif; font-weight:700; border-radius:5px; }
!Date
 
! colspan="2" |Removed
 
! colspan="3" |Added
 
! colspan="2" |Cause
 
|-
 
|[[Season 6|06]] EL
 
|[[Holden Stanton]]
 
|{{PositionIcon|Lineup}}
 
|[[Nagomi Mcdaniel]]
 
|{{Teamemoji|Jazz Hands}}
 
|{{PositionIcon|Lineup}}
 
|Blessing ({{Teamemoji|Crabs}})
 
|Headhunter
 
|}
 
  
{{UserWiki:1plumb
+
.Events-List-Date-Long{ font-size:14px; }
| title        = [[WikiPage:1plumb|🦀 Baltimore Crabs]]
 
| season      = Season 6
 
| previous    = [[Baltimore Crabs/Season 5|Season 5]]
 
| next        = [[Baltimore Crabs/Season 7|Season 7]]
 
  
| division    = Lawful
+
.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); }
| league      = Evil
 
| record      = 80-19
 
| wins        = <!-- For seasons 11+ -->
 
| favor        = 12
 
| div_place    = 1st
 
| league_place = 1st
 
| ilb_place    = 1st
 
| stats        =
 
| partytime    = <!-- Optional if irrelevant -->
 
| postseason  = ILB Champions <!-- Optional if irrelevant -->
 
  
| changes      = {{#var:s6changes}}
+
.Events-List-Desc { padding: 10px; border-radius: 5px; line-height: 1.2em; width: 100%; position: relative; }
}}
 
  
TODO: make the variables compatible with existing teamseason template so you can push edits with no issue
+
.Events-List-Row { display: flex; flex-direction: row; align-items: center; line-height:1.2em; }
  
Testing
+
.Events-List-Minor { margin-left: 10px; font-size: 14px; padding-top: 5px; }
 +
<pre>
 +
{{#if:{{{bg|}}}|background-color: #21262e; }}
  
<nowiki>
+
{{#switch:{{{category}}}|-1|redacted=&#123;&#123;Spoiler{{!}}|#default=}}{{#switch:{{{category}}}|-1|redacted=&#125;&#125;|#default=}}
<infobox>
 
  <title source="title"><default>[[{{BASEPAGENAME}}]]</default></title>
 
  <header source="season" style="text-align:center; background:#FFFFFF;">{{{season}}}</header>
 
  <data source="season"><label>Season</label><default>1</default></data>
 
</infobox>
 
  
<table class="wikitable alternating-rows"><th colspan="2">Removed</th><th colspan="3">Added</th><th colspan="2">Cause</th></table>
+
{{#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;"}}
  
{{#if:{{{header_class|}}}|class="{{{title_class}}}"}} {{#if:{{{titlecolor|}}}|style="background:{{{titlecolor}}}"}}><default>{{TeamEmojiSelector|{{BASEPAGENAME}}}}
+
{{#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;"}}
  
<default>[[{{BASEPAGENAME}}]]</default></nowiki>
+
{{#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;"}}
  
</noinclude>
+
<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