Sandbox: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
(Reset)
m (Generated Quality-table test case.)
Line 4: Line 4:
<!--COMMENT Feel free to temporary remove this page-header when needed. Just restore it again after your done. --></noinclude
<!--COMMENT Feel free to temporary remove this page-header when needed. Just restore it again after your done. --></noinclude


><!-- General Test Example Setup --><includeonly
><!-- General Test Example Setup --><includeonly>
>Parm <i>1</i> is: <b>{{{1|<empty>}}}</b>, Parm <i>tmp</i> is: <b>{{{tmp|<empty>}}}</b>.</includeonly
:Generated table case.
*Parm <i>1</i> is: <b>{{{1|<empty>}}}</b>, Parm <i>tmp</i> is: <b>{{{tmp|<empty>}}}</b>.
*Parm <i>2</i> is: <b>{{{2|<empty>}}}</b>.
*Parm <i>3</i> is: <b>{{{3|<empty>}}}</b>.
*Parm <i>4</i> is: <b>{{{4|<empty>}}}</b>.
*Parm <i>5</i> is: <b>{{{5|<empty>}}}</b>.


><noinclude
{{#if: {{{1|}}}
>:1) {{:{{PAGENAME}}}}
  | {{{!}} class="wikitable" style="text-align:center"
:2) {{:{{PAGENAME}}|Foo|tmp=bar}}</noinclude>
 
! Quality {{!!}}        [[{{#explode:{{{1}}}|,|0}}]]
{{#if: {{{2|}}}      |! [[{{#explode:{{{2}}}|,|0}}]]
  {{#if: {{{3|}}}    |! [[{{#explode:{{{3}}}|,|0}}]]
    {{#if: {{{4|}}}  |! [[{{#explode:{{{4}}}|,|0}}]]
      {{#if: {{{5|}}} |! [[{{#explode:{{{5}}}|,|0}}]]
}} }} }} }}
 
{{!}}-
{{!}} 10 {{!!}}              +{{#explode:{{{1}}}|,|1}}
{{#if: {{{2|}}}      |{{!}} +{{#explode:{{{2}}}|,|1}}
  {{#if: {{{3|}}}    |{{!}} +{{#explode:{{{3}}}|,|1}}
    {{#if: {{{4|}}}  |{{!}} +{{#explode:{{{4}}}|,|1}}
      {{#if: {{{5|}}} |{{!}} +{{#explode:{{{5}}}|,|1}}
}} }} }} }}
 
{{!}}-
{{!}} 40 {{!!}}              +{{#expr:{{#explode:{{{1}}}|,|1}}*2}}
{{#if: {{{2|}}}      |{{!}} +{{#expr:{{#explode:{{{2}}}|,|1}}*2}}
  {{#if: {{{3|}}}    |{{!}} +{{#expr:{{#explode:{{{3}}}|,|1}}*2}}
    {{#if: {{{4|}}}  |{{!}} +{{#expr:{{#explode:{{{4}}}|,|1}}*2}}
      {{#if: {{{5|}}} |{{!}} +{{#expr:{{#explode:{{{5}}}|,|1}}*2}}
}} }} }} }}
 
{{!}}-
{{!}} 90 {{!!}}              +{{#expr:{{#explode:{{{1}}}|,|1}}*3}}
{{#if: {{{2|}}}      |{{!}} +{{#expr:{{#explode:{{{2}}}|,|1}}*3}}
  {{#if: {{{3|}}}    |{{!}} +{{#expr:{{#explode:{{{3}}}|,|1}}*3}}
    {{#if: {{{4|}}}  |{{!}} +{{#expr:{{#explode:{{{4}}}|,|1}}*3}}
      {{#if: {{{5|}}} |{{!}} +{{#expr:{{#explode:{{{5}}}|,|1}}*3}}
}} }} }} }}
 
{{!}}}
 
|<no input case>... usage help/link?
 
}}
</includeonly
 
><noinclude>
 
:Manual table case.
{| class="wikitable" style="text-align:center"
|-
! Quality || [[Will]]|| [[Unarmed Combat]] || [[Masonry]] || [[Lore]]
|-
| 10 || +1 || +2 || +2 || +3
|-
| 40 || +2 || +4 || +4 || +6
|-
| 90 || +3 || +6 || +6 || +9
|}
 
*1
{{:{{PAGENAME}}}}
 
*2
{{:{{PAGENAME}}|will,1|unarmed combat,0}}
 
*3
{{:{{PAGENAME}}|Will,1|Unarmed Combat,2|Masonry,2|Lore,3}}
 
 
<!--
General issue: Input name capitalization => related page link. (Unarmed [C]ombat)
Leave as is for now. (Page exist test?, or check against list perhaps. would only detect, not correct)
Some additional graphical table re-formating?
-->
 
</noinclude>

Revision as of 03:00, 21 October 2020

Sandbox page.

This is the RoB-general-sandbox where you can play and try out wiki editing safely.
There is also a more dedicated template-sandbox, for template debugging when needed.


Manual table case.
Quality Will Unarmed Combat Masonry Lore
10 +1 +2 +2 +3
40 +2 +4 +4 +6
90 +3 +6 +6 +9
  • 1
Generated table case.
  • Parm 1 is: <empty>, Parm tmp is: <empty>.
  • Parm 2 is: <empty>.
  • Parm 3 is: <empty>.
  • Parm 4 is: <empty>.
  • Parm 5 is: <empty>.

<no input case>... usage help/link?


  • 2
Generated table case.
  • Parm 1 is: will,1, Parm tmp is: <empty>.
  • Parm 2 is: unarmed combat,0.
  • Parm 3 is: <empty>.
  • Parm 4 is: <empty>.
  • Parm 5 is: <empty>.
Quality will unarmed combat
10 +1 +0
40 +2 +0
90 +3 +0


  • 3
Generated table case.
  • Parm 1 is: Will,1, Parm tmp is: <empty>.
  • Parm 2 is: Unarmed Combat,2.
  • Parm 3 is: Masonry,2.
  • Parm 4 is: Lore,3.
  • Parm 5 is: <empty>.
Quality Will Unarmed Combat Masonry Lore
10 +1 +2 +2 +3
40 +2 +4 +4 +6
90 +3 +6 +6 +9