Sandbox: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
m (...)
mNo edit summary
Line 1: Line 1:
<noinclude>'''''{{PAGENAME}}''' page.''
<includeonly
{{sandbox|:This is the RoB-general-sandbox where you can play and try out wiki editing safely.
>{{#switch: {{{1|}}}
: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
| = {{store_name}}.png|store_text
|
| open1 = <gallery>
| content1 = ...
| close1 = </gallery>
|
| #default = {{error|switch: #default}}
}}</includeonly


><!--
><noinclude>
== <span style="color:silver">Data</span> ==


--off> "File:..." entry in wanted-pages list debug --
<!-- NOTE: ... --><!--bot:XXXX:begin-->
#{{#ifexist:File:{{PAGENAME}}.1|True|False}}
{{ #subobject:| Store_date = 2015-08-28 | Store_name = Propeller Cap | Store_text = When the game soars to new heights you don't want to be the one left behind without a propeller. Get yours while supplies last.
#[[File:{{PAGENAME}}.2]]
}}{{#subobject:| Store_date = 2015-09-01 | Store_name = Protest Sign | Store_text = Show up to the next game riot in style, with this thoughtful and politically conscious message of social justice. The devs do indeed suck, and with this sign you can tell 'em, and tell 'em good.
#[[File:{{PAGENAME}}.3|link=File:{{PAGENAME}}.4]]
}}{{#subobject:| Store_date = 2015-09-03 | Store_name = Nurse Hat | Store_text = Some Hearthlings have professions, others have callings, and if this is yours, then you are hereby paged to the operating theater. Ms. Nightingale never did look spiffier than you will in this Nurse Hat.
Result:
}}<!--bot:XXXX:end--><!-- NOTE: ... -->
#Wanted pages: 1 & 4
#Wanted files: 2 & 3
----
<!--  


-- > RE test strings --
== <span style="color:silver">Code run</span> ==
I123=456I
I  123  =   456  I
Iabc=defI
I  abc  =  def  I
Iabc123=def456I
I  abc123  =   def456  I


I123X456I
<!--
I  123  X  456  I
{{:{{FULLPAGENAME}}|}}
IabcXdefI
{{:{{FULLPAGENAME}}|open1}}
I  abc  X  def  I
{{:{{FULLPAGENAME}}|content1}}
Iabc123Xdef456I
{{:{{FULLPAGENAME}}|close1}}
I  abc123  X  def456  I
-->


-- General Test Example Setup --
{{#ask: [[store_name::+]]
--><includeonly>
    |?store_date #ISO = date
:Generated table case.
    |?store_name = name
*Parm <i>1</i> is: <b>{{{1|<empty>}}}</b>, Parm <i>tmp</i> is: <b>{{{tmp|<empty>}}}</b>.
    |?store_text = text
*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|}}}
    |mainlabel=-
  | {{{!}} class="wikitable" style="text-align:center"
    |default=NoData
    |sort=store_date
    |order=asc


! Quality {{!!}}        [[{{#explode:{{{1}}}|,|0}}]]
     |format=plainlist
{{#if: {{{2|}}}      |! [[{{#explode:{{{2}}}|,|0}}]]
     |template=:Sandbox|xyz
  {{#if: {{{3|}}}    |! [[{{#explode:{{{3}}}|,|0}}]]
     |named args = yes
    {{#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?


    |intro=<gallery>
    |sep=,,,
    |outro=</gallery>
}}
}}
</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>
</noinclude>

Revision as of 11:13, 16 May 2021

Data

Code run

NoData