Sandbox: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
m ("File:..." entry in wanted-pages list debug.)
(Reset.)
Tag: Manual revert
(44 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


--> "File:..." entry in wanted-pages list debug --
><noinclude>Content B ...
#{{#ifexist: File:{{PAGENAME}}.1|True|False}}
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 ...
#[[File:{{PAGENAME}}.2]]
line 2<!--
#[[File:{{PAGENAME}}.3|link=File:{{PAGENAME}}.4]]
----
<!--  


-- > RE test strings --
| treatedwith = TreatedWith
I123=456I
| cause = Cause
I  123  =  456  I
| penalty = Penalty
Iabc=defI
| reward = Reward
I  abc  =   def  I
Iabc123=def456I
I  abc123  =   def456  I


I123X456I
--></noinclude>
I  123  X  456  I
IabcXdefI
I  abc  X  def  I
Iabc123Xdef456I
I  abc123  X  def456  I
 
-- General Test Example Setup --
--><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>.
 
{{#if: {{{1|}}}
  | {{{!}} 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>

Revision as of 12:01, 23 September 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