Sandbox: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
m (RE test strings.)
m (Text replacement - "gg(hh)(ii)jj" to "[$1, $1234, {$1}234, ${1}234, \{$1}234, \{$1\}234,($1)234]")
 
(70 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>'''''{{PAGENAME}}''' page.''
<noinclude>'''''{{PAGENAME}}''' page.''
{{sandbox|:This is the RoB-general-sandbox where you can play and try out wiki editing safely.
<span class="subpages" style="font-size:0.95em;">[[special:PrefixIndex/{{NAMESPACE}}:Sandbox|Sandbox Sup-Pages]]&nbsp;<span style="color:gray; font-size:1.25em;">&#9658;&nbsp;</span></span>{{sandbox|:This is the RoB-general-sandbox where you can play and try out wiki editing safely.
:There is also a more dedicated [[template:template_sandbox|template-sandbox]], for template debugging when needed.}}
:There is also a more dedicated [[template:template_sandbox|template-sandbox]], for template debugging when needed.}}
<!--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 (above part can/should be ditched for testing purposes) --
--><includeonly
>Parm <i>1</i> is: <b>{{{1|<empty>}}}</b>, Parm <i>tmp</i> is: <b>{{{tmp|<empty>}}}</b>.</includeonly


-- RE test strings --
><noinclude>Content B ...
|123=456|
line 2{{Template_sandbox|penalty=Penalty edit|treatedwith=TreatedWith A, TreatedWith B|reward=Reward edit|cause=Cause edit|Other field=Other field edit}}Content A ...
|  123  =   456  |
line 2<!--
|abc=def|
|   abc  =   def  |
|abc123=def456|
|  abc123  =  def456  |


-- General Test Example Setup --
| treatedwith = TreatedWith
--><includeonly>
| cause = Cause
:Generated table case.
| penalty = Penalty
*Parm <i>1</i> is: <b>{{{1|<empty>}}}</b>, Parm <i>tmp</i> is: <b>{{{tmp|<empty>}}}</b>.
| reward = Reward
*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>.


{{#if: {{{1|}}}
--></noinclude><!-- (regex test string: [aabbccddeeff,bb,ccddee,dd,][hh, 34, {hh}234, hh234, \{hh}234, \{hh\}234,(hh)234]kkllmmnnooppqqrrssttuuvvwwxxyyzz -->
  | {{{!}} class="wikitable" style="text-align:center"
 
! 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}}
 
:note - Graph_QM.png
:plain: {{#info:[[File:Graph_QM.png]]|note}}
:240x: {{#info:[[File:Graph_QM.png|240px]]|note}}
:360x: {{#info:[[File:Graph_QM.png|360px]]|note}}
 
<!--
Seen/used at 94 pages. (two variations: Skills & Attributes(this) and Armour Class(...)
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>

Latest revision as of 10:42, 17 November 2024

Sandbox page.

Sandbox Sup-Pages ► 

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.

Content B ... line 2

Sandbox
Placeholder other.png

Treated with TreatedWith A, TreatedWith B
Cause Cause edit
Penalties Penalty edit
Rewards Reward edit
Go to ... page

Content A ...

line 2