Difference between revisions of "User:Evon R'al/Sandbox"

From EVE University Wiki
Jump to: navigation, search
m (Add problem with {{{ShipArticle}}.)
m (Remove ShipArticle problem.)
Line 398: Line 398:
 
{{Code|<nowiki>:<math>\text{Life Expectancy (in cycles)} = \text{Structure Hitpoints} / \text{Volatility} / \text{Volatility Damage}</math></nowiki>}}
 
{{Code|<nowiki>:<math>\text{Life Expectancy (in cycles)} = \text{Structure Hitpoints} / \text{Volatility} / \text{Volatility Damage}</math></nowiki>}}
 
:<math>\text{Life Expectancy (in cycles)} = \text{Structure Hitpoints} / \text{Volatility} / \text{Volatility Damage}</math>
 
:<math>\text{Life Expectancy (in cycles)} = \text{Structure Hitpoints} / \text{Volatility} / \text{Volatility Damage}</math>
 
== ShipArticle problem ==
 
Starting point.
 
<pre>{{ShipArticle}}</pre>
 
A solution for the bit of code in the image area has been identified and tested.
 
{{ShipArticle}}
 
 
From here I start adding parameters one by one.
 
<pre>{{ShipArticle
 
| shipid=
 
}}
 
</pre>
 
This looks OK.
 
{{ShipArticle
 
| shipid=
 
}}
 
 
<pre>{{ShipArticle
 
| shipid=
 
| shipimg=
 
}}
 
</pre>
 
This still looks OK.
 
{{ShipArticle
 
| shipid=
 
| shipimg=
 
}}
 
 
<pre>{{ShipArticle
 
| shipid=
 
| shipimg=
 
| shipname=
 
}}
 
</pre>
 
So what the ...peeeep... happened to the "ship name" in the header and the breadcrumbs??
 
 
And more importantly, why?
 
 
Looks to me like the variable default option <nowiki>{{{shipname|Unknown}}}</nowiki> stopped functioning.
 
{{ShipArticle
 
| shipid=
 
| shipimg=
 
| shipname=
 
}}
 

Revision as of 13:18, 3 December 2022

Template being worked on

Original:
text before No template being worked on text after.
Line after.

Draft:
text before text after.
Line after.

Qvar dar'zanar

There is a problem here. Using either ' or ʹ. They appear to look the same but they are not. The ʹ is not on my keyboard and I have not found a alt code yet so I had to copy/paste it.

Test

  • Tiny-E-UNI Emblem.png Tiny-E-UNI Emblem.png reduced to 32px
  • E-UNI Emblem.png E-UNI Emblem.png reduced to 32px



?size=256&.jpg

render?&.jpg

render?size=256&.jpg


Does this, testtooltip text stay inline?

Does this, testtooltip text stay inline?


Basic:

Does this,

Redeemer
Redeemer.jpg
CornerT2s.png
Redeemer
Black Ops Armageddon Class
Icon highlights.pngHigh Amount of High Slots
Icon highlights.pngHigh Amount of Low Slots
Icon hi slot.png8 (0/6) Icon mid slot.png4 Icon low slot.png7
Icon powergrid.png17,000 MW Icon cpu.png505 tf
Icon velocity.png117 m/sec
Icon capacity.png800 m³

stay inline?

Inside a div:

Does this, Redeemer
Redeemer.jpg
CornerT2s.png
Redeemer
Black Ops Armageddon Class
Icon highlights.pngHigh Amount of High Slots
Icon highlights.pngHigh Amount of Low Slots
Icon hi slot.png8 (0/6) Icon mid slot.png4 Icon low slot.png7
Icon powergrid.png17,000 MW Icon cpu.png505 tf
Icon velocity.png117 m/sec
Icon capacity.png800 m³
stay inline?

Inside a table:

Does this, Redeemer
Redeemer.jpg
CornerT2s.png
Redeemer
Black Ops Armageddon Class
Icon highlights.pngHigh Amount of High Slots
Icon highlights.pngHigh Amount of Low Slots
Icon hi slot.png8 (0/6) Icon mid slot.png4 Icon low slot.png7
Icon powergrid.png17,000 MW Icon cpu.png505 tf
Icon velocity.png117 m/sec
Icon capacity.png800 m³
stay inline?
Does this, Redeemer
Redeemer.jpg
CornerT2s.png
Redeemer
Black Ops Armageddon Class
Icon highlights.pngHigh Amount of High Slots
Icon highlights.pngHigh Amount of Low Slots
Icon hi slot.png8 (0/6) Icon mid slot.png4 Icon low slot.png7
Icon powergrid.png17,000 MW Icon cpu.png505 tf
Icon velocity.png117 m/sec
Icon capacity.png800 m³
stay inline?

Inside a span:

Does

this, Redeemer
Redeemer.jpg
CornerT2s.png
Redeemer
Black Ops Armageddon Class
Icon highlights.pngHigh Amount of High Slots
Icon highlights.pngHigh Amount of Low Slots
Icon hi slot.png8 (0/6) Icon mid slot.png4 Icon low slot.png7
Icon powergrid.png17,000 MW Icon cpu.png505 tf
Icon velocity.png117 m/sec
Icon capacity.png800 m³
stay

inline?

Inside the Co template:

Does this, Redeemer
Redeemer.jpg
CornerT2s.png
Redeemer
Black Ops Armageddon Class
Icon highlights.pngHigh Amount of High Slots
Icon highlights.pngHigh Amount of Low Slots
Icon hi slot.png8 (0/6) Icon mid slot.png4 Icon low slot.png7
Icon powergrid.png17,000 MW Icon cpu.png505 tf
Icon velocity.png117 m/sec
Icon capacity.png800 m³
stay inline?

Inside p:

Does this, Redeemer

Redeemer.jpg
CornerT2s.png
Redeemer
Black Ops Armageddon Class
Icon highlights.pngHigh Amount of High Slots
Icon highlights.pngHigh Amount of Low Slots
Icon hi slot.png8 (0/6) Icon mid slot.png4 Icon low slot.png7
Icon powergrid.png17,000 MW Icon cpu.png505 tf
Icon velocity.png117 m/sec
Icon capacity.png800 m³

stay inline?

<div style=' margin: 0.25em 0.5em; border:2px dotted The {{Ship}} template does a transclusion of the ship page with a mode parameter. If the mode parameter is anything else then box, then {{ShipBoxTooltip}} is called. Which, in turn, calls {{Tooltip}}. {{Ship}} is also used when there are variations of a ship. It is used in the source of the parameter variations. Here the results appear to be correct (See e.g. Harpy)
When the sentence with the ship template is inside another element there is no problem. Hmm does not do so well inside <p>.; padding: 10px;

'>



subst and not

date= {{#time: F Y}} - date= November 2024 (The present)
date= {{subst:#time: F Y}} - date= June 2021 (At time of saving the edit)

Red Giant Wormholes table

Original:

WH Red Giant.jpg Effects Class 1 Class 2 Class 3 Class 4 Class 5 Class 6
Heat Damage +15% +22% +29% +36% +43% +50%
Overheat Effect Bonus +30% +44% +58% +72% +86% +100%

"Cleaned up"

WH Red Giant.jpg Effects Class 1 Class 2 Class 3 Class 4 Class 5 Class 6
Heat Damage +15% +22% +29% +36% +43% +50%
Overheat Effect Bonus 30% 44% 58% 72% 86% 100%

atron, atrons

Indent behavior

Test 1
Test 2
Test 3
Test 4
Test 5
Test 6
Test 7

Test 8


template Co

This text is red
This text is also red
Here the background is red


NAMESPACE test

  • {{ #if: {{NAMESPACE}} | page | article }} or section - page or section


Note box

While running this mission inside Minmatar Republic space.

Message when jumping back to the agents solar system

question mark Hand over contraband?
Minmatar Republic has discovered the contraband which you are transporting. If you decline to hand it over, your ship will be destroyed. Do not be alarmed, while we are waiting for for your response, one of our number will target, warp scramble and stasis web you – for your safety ….

Handing over the slaves incurred a 60.000 ISK fine and -0.1 standing loss towards Minmatar Republic.

Surprisingly the slaves where still in the cargo hold when reporting back to the agent so the mission could be completed.


CSS testing

  • Line one
  • line two
  • line three


  • line one


"Complicated" table

Ship class Ship type Base Range Max Skills Range Fuel per ly Fuel bay (m3) Fuel bay (units)
Capital Dreadnought 3.5 ly 7 ly 3000 units 8 000 266 666
Carrier 3 000 100 000
FAX
Super Capital Supercarrier 3.0 ly 6 ly 3000 units 5 000 166 666
Titan 60 000 2 000 000
Jump Freighter Anshar 5.0 ly 10 ly 9400 units 12 000 400 000
Nomad 8200 units
Ark 8800 units
Rhea 10000 units
Black Ops Battleship 4.0 ly 8 ly 700 units 2 150 71 666
Capital Industrial Ship Rorqual 5 ly 10 ly 4000 units 10 000 333 333


"Complicated" table reformatted and with some "fancy" CSS

Ship class Ship type Range (ly) Fuel per ly
(units)
Fuel bay
Base Max Skills (m3) (units)
Capital Dreadnought 3.5 7 3 000 8 000 266 666
Carrier 3 000 100 000
FAX
Super Capital Supercarrier 3.0 6 3 000 5 000 166 666
Titan 60 000 2 000 000
Jump Freighter Anshar 5.0 10 9 400 12 000 400 000
Nomad 8 200
Ark 8 800
Rhea 10 000
Black Ops Battleship 4.0 8 700 2 150 71 666
Capital Industrial Ship Rorqual 5 10 4 000 10 000 333 333

Math

MathML

<math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>a</mi><msup><mi>x</mi><mn>2</mn></msup> <mo>+</mo> <mi>b</mi><mi>x</mi> <mo>+</mo> <mi>c</mi> <mo>=</mo> <mn>0</mn> </math>

[math] \lt mi\gt a\lt /mi\gt \lt msup\gt \lt mi\gt x\lt /mi\gt \lt mn\gt 2\lt /mn\gt \lt /msup\gt \lt mo\gt +\lt /mo\gt \lt mi\gt b\lt /mi\gt \lt mi\gt x\lt /mi\gt \lt mo\gt +\lt /mo\gt \lt mi\gt c\lt /mi\gt \lt mo\gt =\lt /mo\gt \lt mn\gt 0\lt /mn\gt [/math] Does not work

TeX

<math> x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} </math>

[math] x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} [/math]


<math display=block>\int_0^\pi \sin x\,dx.</math>

[math]\int_0^\pi \sin x\,dx.[/math]


<math display=block>\sum_{n=1}^\infty 1/n^2 = \pi^2/6</math>

[math]\sum_{n=1}^\infty 1/n^2 = \pi^2/6[/math]


Crystal damage

:<code>Life Expectancy (in cycles) = Structure Hitpoints / Volatility / Volatility Damage</code>
Life Expectancy (in cycles) = Structure Hitpoints / Volatility / Volatility Damage
:<math>\text{Life Expectancy (in cycles)} = \text{Structure Hitpoints} / \text{Volatility} / \text{Volatility Damage}</math>
[math]\text{Life Expectancy (in cycles)} = \text{Structure Hitpoints} / \text{Volatility} / \text{Volatility Damage}[/math]