Sandbox: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
m (Odd offset fix. (bypass tright-class margin setting))
Tag: Reverted
(Reset)
Tag: Manual revert
Line 1: Line 1:
<includeonly><!--
<noinclude>'''''{{PAGENAME}}''' page.''
<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.}}
<!--COMMENT Feel free to temporary remove this page-header when needed. Just restore it again after your done. --></noinclude><!--


-- Issues:
-- General Test Example Setup (above part can/should be ditched for testing purposes) --
-- This template is currently using some images that are not included at RoB wiki. (check if those images are needed/useful)
--><includeonly
>Parm <i>1</i> is: <b>{{{1|<empty>}}}</b>, Parm <i>tmp</i> is: <b>{{{tmp|<empty>}}}</b>.</includeonly


--><!--The table wrapper below allows AI4-templated images to be viewed in mobile browsers-->
><noinclude>Content B ...
{| role="presentation"<!-- ISSUE: MW table def-line seems to break if it has line-breaks in it. (re-check)
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 ...
--> cellpadding="0"<!--
line 2<!--
--> style="<!--
 
--> border-spacing: 0;<!--
| treatedwith = TreatedWith
--> margin: 0;<!--
| cause = Cause
--> {{#switch: {{{align|}}}
| penalty = Penalty
| none =
| reward = Reward
| left = clear:left; float:left;
 
| center
--></noinclude>
| centre = margin-left:auto; margin-right:auto; border: none;
| right
| #default = clear:right; float:right;
}}<!--
--> "
|-<!--Annotated image 4 template code starts below here-->
|<div
class="
thumb
{{#switch: {{{align|}}}
| none=tnone
| left = tleft
| center
| centre = center
| right
| #default = tright
}}
"
{{#switch: {{{align|}}}
|centre
|center = style="
margin: 1em auto;
margin-top: 0px;
margin-bottom:0px;
"
| #default = style="margin: 0;"
}}
>
<div
class="thumbinner"
style="
width:{{#expr:{{{width|300}}}+2}}px;
{{#if:{{{frameless|}}}
| border: 0px;
background-color: #fff;
}}
"
>
{{#if:{{{header|}}}
| <div
style="
clear: both;
font-weight: bold;
font-size: 106.4%;
text-align: {{{header_align|center}}};
background-color: {{{header_background|transparent}}};
margin-bottom:3px;
"
>
{{{header}}}
</div>
}}
<!--Start image wrapper-->
<div
style="
position:relative;
width: {{{width|300}}}px;
height: {{#expr:{{{height}}}+2}}px;
overflow: hidden;
border: {{#if:{{{frameless|}}}|0px|solid #ccc 1px}};
background-color: {{{image-bg-color|white}}};
"
>
<!--Start annotated image-->
<div
style="
left: {{{image-left|0}}}px;
top: {{{image-top|0}}}px;
width: {{{image-width|300}}}px;
position:absolute
"
><!--
--> [[Image:{{{image}}} | {{{image-width|300}}}px | alt={{{alt|}}} | {{#ifeq:{{{nolink|}}}|yes|link=|link={{{link|File:{{{image}}} }}} }} ]]
</div><!-- end image -->
<!--Start annotations-->
<div
style="
text-align: {{{annot-text-align|center}}};
{{#if:{{{annot-font-size|}}}
| font-size: {{{annot-font-size|}}}px;
line-height: {{{annot-line-height|110%}}}
| line-height:110%;
}}
"
>
<div
style="
background-color: {{{annot-background-color|transparent}}};
color: {{{annot-color|black}}}
"
>
{{{annotations}}}
</div>
<!--annotations has syntax: {{annotations|fromLeft|fromTop|text}}-->
</div><!-- end annotations -->
</div><!-- end image wrapper -->
{{#if:{{{caption|}}}
| <div class="thumbcaption"
style="clear:left"
><!-- disabled: "The image above contains clickable links" icon stuff.
{{#ifeq:{{{icon|}}}|none
|
| <div
style="
float:left;
margin-right:0.5em;
"
>
[[File:interactive icon.svg | 18px | link= | The image above contains clickable links | alt=The image above contains clickable links]]
</div>
}}
-->{{{caption}}}<!--
{{#ifeq: {{{nolink|}}} | yes
| &nbsp;[[Image:Desc-20.png | 15px | link=File:{{{image}}} ]]
}}-->
</div>}}
</div><!-- end thumbinner -->
</div><!-- end thumb -->
|}<!-- end table wrapper for mobile browsers --></includeonly><!--
--><noinclude>
----
<div style="display:flex; flex-direction:row;align-items: flex-start;">
:AI-4(600)-(sandbox2)
{{:{{PAGENAME}}
| float = none
| image = Clay workflow.png
| width = 119
| height = 153
| image-width = 600
| image-left = -240
| image-top = -201
| border = 1
| caption = caption
| nolink = yes
}}
:AI-1(600)
{{Annotated_image
| float = none
| image = Clay workflow.png
| width = 119
| height = 153
| image-width = 600
| image-left = -240
| image-top = -201
| border = 1
| caption = caption
}}
:AI-4(600)-(Org)
{{Annotated_image_4
| float = none
| image = Clay workflow.png
| width = 119
| height = 153
| image-width = 600
| image-left = -240
| image-top = -201
| border = 1
| caption = caption
}}
:AI-4(600)-(sandbox)
:....
:....
:....
:....
{{:{{PAGENAME}}
| float = none
| image = Clay workflow.png
| width = 119
| height = 153
| image-width = 600
| image-left = -240
| image-top = -201
| border = 1
| caption = caption
| nolink = yes
}}
<!-- disable tests ... --
:pct(600)
{{:{{PAGENAME}}
| pct = 1
| float = none
| image = Clay workflow.png
| width = 0.1983
| height = 0.255
| image-width = 600
| image-left = −0.4
| image-top = −0.335
| border = 1
| caption = caption
}}
:pct(300)
{{:{{PAGENAME}}
| pct = 1
| float = none
| image = Clay workflow.png
| width = 0.1983
| height = 0.255
| image-width = 300
| image-left = −0.4
| image-top = −0.335
| border = 1
}}
-->
</div>
----
</noinclude>

Revision as of 09:40, 13 July 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