Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

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

From EVE University Wiki
m Add note
m Coding and testing
 
(136 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{hatnote|This article details the Level ? <Faction> of this mission. For other variants, see [[<Mission>|<Mission> (disambiguation)]].}}
{{Tocright}}
== Template being worked on ==
Original:<br>
text before original {{Ship|Redeemer|box}} text after original.<br>
Line after original.
 
Draft:<br>
text before draft {{:User:Evon R'al/Draft|Redeemer|box}} text after draft.<br>
Line after draft.
 
== Problem ==
=== Qvar dar'zanar problem ===
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.
* [[User:Qvar dar'zanar]] - [[:File:Qvar dar'zanar.jpg]]
* [[User:Qvar darʹzanar]] - [[:File:Qvar darʹzanar.jpg]]
 
=== {{T|Ship}} problem ===
Does this, {{Tooltip|test|tooltip text}} stay inline?<br>
<p>Does this, {{Tooltip|test|tooltip text}} stay inline?</p>


Various mission site locations have had mineable asteroids replaced with cosmetic asteroids. (30/03/2020)<ref>https://www.eveonline.com/news/view/patch-notes-for-march-2020-release 30/03/2020</ref>
 
Basic:<br>
Does this, {{Ship|Redeemer}} stay inline?
 
Inside a div:<br>
<div>Does this, {{Ship|Redeemer}} stay inline?</div>
 
Inside a table:<br>
{| class="wikitable" style="width: 50%;"
|+ Does this, {{Ship|Redeemer}} stay inline?
|-
| Does this, {{Ship|Redeemer}} stay inline?
|}
 
Inside a span:<br>
Does <span>this, {{Ship|Redeemer}} stay</span> inline?
 
Inside the Co template:<br>
{{Co|inherit|Does this, {{Ship|Redeemer}} stay inline?}}
 
Inside p:<br>
<p>Does this, {{Ship|Redeemer}} stay inline?</p>
 
{{Box|The {{T|Ship}} template does a transclusion of the ship page with a mode parameter. If the mode parameter is anything else then box, then {{T|ShipBoxTooltip}} is called. Which, in turn, calls {{T|Tooltip}}. {{T|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]])<br>
When the sentence with the ship template is inside another element there is no problem. Hmm does not do so well inside <nowiki><p></nowiki>.}}


== Test ==
== Test ==
{{Imageserver|types|82375|icon|size= 64}}
[https://www.kpn.com test]
[https://www.google.com test]
== Warp parser error ==
Original code
: <math>
\begin{align}
v & = k * e^{jt}\\
d & = \int_{0}^{t}k*e^{j⋅dx}\,dx = \frac{k*e^{jt}}{j}\\
& = \frac{v}{j}
\end{align}
</math>
adapted code
: <math>
\begin{align}
v & = k * e^{jt} \\
d & = \int_{0} ^ {t} k * e ^ { j \sdot dx \, dx = \frac { k * e  ^ {jt} } {j} } \\
& = \frac {v} {j}
\end{align}
</math>
=== subst and not ===
date= <nowiki>{{#time: F Y}}</nowiki> - date= {{#time: F Y}} (The present)<br>  
date= <nowiki>{{#time: F Y}}</nowiki> - date= {{#time: F Y}} (The present)<br>  
date= <nowiki>{{subst:#time: F Y}}</nowiki> - date= June 2021 (At time of saving the edit)
date= <nowiki>{{subst:#time: F Y}}</nowiki> - date= June 2021 (At time of saving the edit)


;Test 1
:Test 2
; Test 3 : Test 4<br>Test 5
; Test 6 : Test 7<br>
Test 8


{{Co|red|This text is red}}<br>
{{Co|red||This text is also red}}<br>
{{Co||red|Here the background is red}}


* <nowiki>{{ #if: {{NAMESPACE}} | page | article }} or section</nowiki> - {{ #if: {{NAMESPACE}} | page | article }} or section
=== MessageBox inside Note box ===
 
{{Note box|italics= no
|While running this mission inside Minmatar Republic space.
Message when jumping back to the agents solar system
{{MessageBox|[[File:Helpicon.png|20px|middle|link=|alt=]] 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 ….<!-- Some part of message missing -->
}}
Handing over the slaves incurred a 60.000 ISK fine and {{Co|red|-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.
}}
 


[[File:Logo ded.png|Logo ded.png]]
=== CSS testing ===
[[File:Icon warning.png|icon warning.png]]
{{#css:
[[File:Icon information square.png|Icon information square.png]]
  ul.checkedList, ul.uncheckedList {
    list-style: none;
    padding: 0px;
    margin: 0.3em 0 0 1.6em;
  }
  .checkedList li::before {
    content: '\2705';
    padding-right: 0.5em;
  }
  .uncheckedList li::before {
    content: '\2610';
    padding-right: 0.5em;
  }


{{MessageBox
  ul.checklist {
|On activating gate: [[File:Logo ded.png|40px|bottom|link=|alt= DED logo]] Database Information
    list-style: none;
|Text
    padding: 0px;
|collapsed= yes
    margin: 0.3em 0 0 1.6em;
  }
  ul.checklist>li.checked::before {
  content: '\2705';
  font-size: 0.9em
  }
  ul.checklist>li::before {
  content: '\2610';
  font-size: 1.4em
}}
}}
<ul class="checklist">
<li> Line one
<li class="checked"> line two
<li> line three
</ul>
<ul>
<li> line one
</ul>
=== "Complicated" table ===
{| class="wikitable"
|-
! Ship class
! Ship type
! Base Range
! Max Skills Range
! Fuel per ly
! Fuel bay (m3)
! Fuel bay (units)
|-
| rowspan="3" |Capital
| Dreadnought
| rowspan="3" |3.5 ly
| rowspan="3" |7 ly
| rowspan="3" |3000 units
| 8 000
| 266 666
|-
| Carrier
| rowspan="2" |3 000
| rowspan="2" |100 000
|-
| FAX
|-
| rowspan="2" |Super Capital
| Supercarrier
| rowspan="2" |3.0 ly
| rowspan="2" |6 ly
| rowspan="2" |3000 units
| 5 000
| 166 666
|-
| Titan
| 60 000
| 2 000 000
|-
| rowspan="4" |Jump Freighter
| Anshar
| rowspan="4" |5.0 ly
| rowspan="4" |10 ly
| 9400 units
| rowspan="4" |12 000
| rowspan="4" |400 000
|-
| Nomad
| 8200 units
|-
| Ark
| 8800 units
|-
| Rhea
| 10000  units
|-
| colspan="2" |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
{{#css:
#compare td:nth-last-child(1), #compare td:nth-last-child(2), #compare td:nth-last-child(3) { text-align: right }
#compare td:nth-last-child(4), #compare td:nth-last-child(5) { text-align: center}
#compare td:nth-child(1) { text-align: left } /* This line is needed because of the use of rowspan */
/* The #compare id is needed because without it al tables on the page would use this CSS */
}}
{| class="wikitable" id="compare"
|-
! rowspan= 2 |Ship class
! rowspan= 2 |Ship type
! colspan= 2 |Range (ly)
! rowspan= 2 |Fuel per ly<br>(units)
! colspan= 2 |Fuel bay
|-
! Base
! Max Skills
! (m3)
! (units)
|-
| rowspan="3" |Capital
| Dreadnought
| rowspan="3" |3.5
| rowspan="3" |7
| rowspan="3" |3 000
| 8 000
| 266 666
|-
| Carrier
| rowspan="2" |3 000
| rowspan="2" |100 000
|-
| FAX
|-
| rowspan="2" |Super Capital
| Supercarrier
| rowspan="2" |3.0
| rowspan="2" |6
| rowspan="2" |3 000
| 5 000
| 166 666
|-
| Titan
| 60 000
| 2 000 000
|-
| rowspan="4" |Jump Freighter
| Anshar
| rowspan="4" |5.0
| rowspan="4" |10
| 9 400
| rowspan="4" |12 000
| rowspan="4" |400 000
|-
| Nomad
| 8 200
|-
| Ark
| 8 800
|-
| Rhea
| 10 000
|-
| colspan="2" |Black Ops Battleship
| 4.0
| 8
| 700
| 2 150
| 71 666
|-
| Capital Industrial Ship
| Rorqual
| 5
| 10
| 4 000
| 10 000
| 333 333
|}
== Math ==
* [[UniWiki:Editing commands visual guide#Math]]
* [[:Wikipedia:MathML]]
* [[:Wikipedia:Wikipedia:Manual_of_Style/Mathematics]]
* [[:Wikipedia:Extension:SimpleMathJax]]
* [[Wikipedia:Help:Displaying a formula]]
* [https://docs.mathjax.org/en/latest/index.html MathJax]
=== MathML ===
{{code|<nowiki><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></nowiki>}}
<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>
Does not work
=== TeX ===
{{Code|<nowiki><math>
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
</math></nowiki>}}
<math>
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
</math>
{{Code|<nowiki><math display=block>\int_0^\pi \sin x\,dx.</math></nowiki>}}
<math display="block">\int_0^\pi \sin x\,dx.</math>


== Template being worked on ==
Analyzing template Co


<!-- {{User:Evon R'al/Sandbox template}} -->


This is a sentence with {{User:Evon R'al/Sandbox template|Blue|colored}} text.


This is a sentence with {{User:Evon R'al/Sandbox template|Blue||colored}} text.
{{Code|<nowiki><math display=block>\sum_{n=1}^\infty 1/n^2 = \pi^2/6</math></nowiki>}}
<math display="block">\sum_{n=1}^\infty 1/n^2 = \pi^2/6</math>


This is a sentence with {{Co|Blue|colored}} text.


This is a sentence with {{Co||colored}} text. {{T|Co}} inherits parent color


This is a sentence with {{Color|Blue|colored}} text.


This is a sentence with {{Color||colored}} text. {{T|Color}} has Khaki as default color
[[Crystal damage]]


== References ==
{{Code|<nowiki>:<code>Life Expectancy (in cycles) = Structure Hitpoints / Volatility / Volatility Damage</code></nowiki>}}
{{Reflist}}
:<code>Life Expectancy (in cycles) = Structure Hitpoints / Volatility / Volatility Damage</code>


<references />
{{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>