Difference between revisions of "Testing"

From Blaseball Wiki

m
Tag: 2017 source edit
 
(83 intermediate revisions by 5 users not shown)
Line 7: Line 7:
 
It begins.
 
It begins.
  
[[IF-{{Random number|999}}.{{Random number|999|23}}]]
+
== Nested Choose Tags ==
 +
<!-- I broke IRM and need a place to check if there's some frickery afoot -->
  
<br />
+
=== test 1: nested angle brackets ===
{| class="mw-collapsible mw-collapsed sortable"
+
 
|+Charleston Shoe Thieves Season 3
+
<choose>
|+Days 1-33: {{{record}}} (Home: {{{home_record}}}; Away: {{{away_record}}})
+
<option>
! Day
+
<choose><option>1</option><option>2</option></choose>
!Opponent
+
</option>
!Score
+
<option>
!Win
+
<choose><option>3</option><option>4</option></choose>
!Loss
+
</option>
!Team Record
+
<option>5</option>
|-
+
</choose>
|1
+
 
|[[New York Millennials|NYM]]
+
=== test 2: &lt, &gt (minimal) ===
|0-5
+
 
|Cervantes (1-0)
+
<option>
|Bookbaby (0-1)
+
<choose><option>1</option><option>2</option>&lt;/choose&gt;
| 0-1
+
</option>
|-
+
<option>
 +
<choose><option>3</option><option>4</option>&lt;/choose&gt;
 +
</option>
 +
<option>5</option>
 +
</choose>
 +
 
 +
=== test 3: flailing ===
 +
 
 +
<choose>
 +
<option>&lt;choose&gt;
 +
&lt;option&gt;1&lt;/option&gt;
 +
&lt;option&gt;2&lt;/option&gt;
 +
&lt;/choose&gt;</option>
 +
<option>&lt;choose&gt;
 +
&lt;option&gt;3&lt;/option&gt;
 +
&lt;option&gt;4&lt;/option&gt;
 +
&lt;/choose&gt;</option>
 +
<option>5</option>
 +
</choose>
 +
 
 +
=== test 4: parser function? ===
 +
 
 +
it works! testing if it can run uncached
 +
 
 +
<choose uncached>
 +
<option>{{#choose: 1
 
|2
 
|2
|[[New York Millennials|NYM]]
+
}}</option>
|2-1
+
<option>{{#choose: 3
|Prestige (1-0)
 
|Fox (0-1)
 
|1-1
 
|-
 
|3
 
|[[New York Millennials|NYM]]
 
|
 
|
 
|
 
|
 
|-
 
 
|4
 
|4
|[[Kansas City Breath Mints|KCBM]]
+
}}</option>
|
+
<option>A</option>
|
+
</choose>
|
+
 
|
+
ok as far as i can tell (not super duper familiar with mediawiki format), there's no way to set cache or option weight variables with the parser function but since this might not break the page anymore i'll settle for what i can get
 +
 
 +
=== test 5: nesting parsers? ===
 +
 
 +
just seeing if this is something that can be prevented with an edit to the IRM extension call
 +
 
 +
{{#choose:{{#choose:1|2}}|{{#choose:3|4}}|5}}
 +
 
 +
== New Seasons Creator ==
 +
<!-- I couldn't find this since the move of the character templates. Will likely combine with the team seasons once everything is forward facing. -->
 +
 
 +
<inputbox>
 +
type=create
 +
preload=Template:NewSeason/preload
 +
width=25
 +
</inputbox>
 +
 
 +
== Listing of other pages that might be Tests ==
 +
 
 +
{{#dpl:cacheperiod = 600
 +
|titleregexp=.*[tT]est.*
 +
}}
 +
 
 +
<br />
 +
 
 +
== Game Record Test ==
 +
 
 +
{| style="width:90%; clear:both; margin:1.5em auto; text-align:center;"
 +
{{/GameLogHeaderSelector|mints|details=Season 6 game log}}
 
|-
 
|-
|5
+
| colspan=10 |
|[[Kansas City Breath Mints|KCBM]]
+
  {| class="mw-collapsible mw-collapsed" style="width:100%;"
|
+
  {{GameLogHeaderSelector|mints|details=Days 1-9: 2-7 (Home: 0-3 ; Away 2-4)}}
|
+
  {{GameLogColumnHeader}}{{GameLogRow|season=6|day=9|win=true|home=false|opponent=mints|weather=reverb|score=6-0|shame=false|winner=Ortiz Morse|loser=Atlas Guerra|record=2-7|gameid=abaa5132-d248-4034-8a97-ce7311a3e17d|streak=W2}}
|
+
  |-
|
+
  {{GameLogRow|season=6|day=1|win=false|home=false|opponent=magic|weather=blooddrain|score=3-4|shame=true|winner=Yeong-Ho Garcia|loser=Brock Forbes|record=0-1|gameid=83ebf7c5-1902-41f5-b2e4-4d832196f055|streak=L1}}
 +
  |}
 
|-
 
|-
|6
+
| colspan="10" |
|[[Kansas City Breath Mints|KCBM]]
+
  {| class="mw-collapsible mw-collapsed" style="width:100%;"
|
+
  {{GameLogHeaderSelector|mints|details=Days 10-18: 2-7 (Home: 0-3 ; Away 2-4)}}
|
+
  {{GameLogColumnHeader}}
|
+
  {{GameLogRow|season=6|day=9|win=true|home=false|opponent=mints|weather=reverb|score=6-0|shame=false|winner=Ortiz Morse|loser=Atlas Guerra|record=2-7|gameid=abaa5132-d248-4034-8a97-ce7311a3e17d|streak=W2}}
|
+
  |-
|-
+
  {{GameLogRow|season=6|day=1|win=false|home=false|opponent=magic|weather=blooddrain|score=3-4|shame=true|winner=Yeong-Ho Garcia|loser=Brock Forbes|record=0-1|gameid=83ebf7c5-1902-41f5-b2e4-4d832196f055|streak=L1}}
|7
+
  |}
|[[Hawaii Fridays|HIF]]
+
<!--Proverbially we build 3 33-game tables as above, or some other multiple of 3 or 9 that makes sense. weather should be the icons; substituting link for now -->
|
 
|
 
|
 
|
 
|-
 
|8
 
|[[Hawaii Fridays|HIF]]
 
|
 
|
 
|
 
|
 
|-
 
|9
 
|[[Hawaii Fridays|HIF]]
 
|
 
|
 
|
 
|
 
|+Days 34-66: {{{record}}} (Home:{{{home_record}}}, Away: {{{away_record}}})
 
!Day
 
!Opponent
 
!Score
 
!Win
 
!Loss
 
!Team Record
 
 
|}
 
|}
  
<!-- Used this code for [[Timeline]]. Commenting it out for the sake of dpl calls.
+
== Outback Steakhouse ==
<dpl>
+
Let's eat at {{OutbackSteakhouse}} it's real good I promise
  cacheperiod=600
+
 
  category=Seasons
+
<!--Does it only randomize once? let's find out -->
  nottitlematch=%Template%|Season 1
 
  ordermethod=title
 
  format=,\n<div class="mw-collapsible mw-references-wrap"><h2 style="margin:.7em 0 .2em;border-bottom:1px solid gray">[[%PAGE%]]</h2>\n<div class="mw-collapsible-content">,</div></div>,
 
  include=@@.*Notable Events.*
 
</dpl>
 
-->
 

Latest revision as of 09:12, 9 March 2021

Wiki Sandbox
This is a page used by wiki administration to test out functionality. Turn back.
WARNING: FORBIDDEN KNOWLEDGE
This page contains FORBIDDEN KNOWLEDGE: information about the game of Blaseball that has not been revealed by Blaseball itself. This knowledge may diminish the mysteriousness of the game. Proceed at your own discretion.

There is nothing here for you. This is the test realm. Begone from this place. Or else.

It begins.

Nested Choose Tags

test 1: nested angle brackets

<choose><option>1 </option> <option> 4 </option> <option>5</option> </choose>

test 2: &lt, &gt (minimal)

<option> 2

test 3: flailing

<choose> <option>3</option> <option>4</option> </choose>

test 4: parser function?

it works! testing if it can run uncached

4

ok as far as i can tell (not super duper familiar with mediawiki format), there's no way to set cache or option weight variables with the parser function but since this might not break the page anymore i'll settle for what i can get

test 5: nesting parsers?

just seeing if this is something that can be prevented with an edit to the IRM extension call

1

New Seasons Creator


Listing of other pages that might be Tests


Game Record Test

Testing/GameLogHeaderSelector
Days 1-9: 2-7 (Home: 0-3 ; Away 2-4)
Day Opponent Weather Score Shame Winning Pitcher Losing Pitcher Record Streak/Recap
9 @KCBM Reverb 6-0   Morse Guerra 2-7 W2
1 @YELL Blooddrain 3-4 Shame Garcia Forbes 0-1 L1
Days 10-18: 2-7 (Home: 0-3 ; Away 2-4)
Day Opponent Weather Score Shame Winning Pitcher Losing Pitcher Record Streak/Recap


9 @KCBM Reverb 6-0   Morse Guerra 2-7 W2
1 @YELL Blooddrain 3-4 Shame Garcia Forbes 0-1 L1

Outback Steakhouse

Let's eat at Shoutmack Backhearts it's real good I promise