Difference between revisions of "User:Evon R'al/Sandbox"
m (→Template being worked on: Clear testing grounds.) |
m (Coding and testing.) |
||
(64 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Tocright}} | {{Tocright}} | ||
== Template being worked on == | == Template being worked on == | ||
− | Original: | + | Original:<br> |
− | {{ | + | text before original {{Section link||Test}} text after original.<br> |
− | Line after | + | Line after original. |
− | Draft: | + | Draft:<br> |
− | {{User:Evon R'al/Sandbox template}} | + | <!--text before draft {{User:Evon R'al/Sandbox template||Test}} text after draft.<br> |
− | Line after | + | Line after draft. |
+ | --> | ||
+ | <onlyinclude>{{{{#if:{{{mode|}}}|{{#switch:{{{mode}}}|box=ShipBoxLarge|#default=ShipBoxTooltip}}|User:Evon R'al/Sandbox template}} <!-- Template marker : DON'T EDIT LINE --> | ||
+ | <!----------------------------------------------------------- | ||
+ | * SHIP ATTRIBUTES SECTION (last update : 2024-11-12) | ||
+ | ------------------------------------------------------------- | ||
+ | * on editing the attributes, please make sure that you don't | ||
+ | * leave/mistype any tags required. please follow the same | ||
+ | * format below and edit only the values (after the = sign). | ||
+ | -------------------------------------------------------------> | ||
+ | | shipid= 85086 | ||
+ | | shipimg= Cenotaph.jpg | ||
+ | | shipname= Cenotaph | ||
+ | | class= <!-- Attack/Combat --> Battlecruiser | ||
+ | | grouping= Pirate Faction Battlecruisers | ||
+ | | hulltype= Cenotaph Class | ||
+ | | faction= Deathless Circle | ||
+ | | variations= | ||
+ | | tech= F | ||
− | == | + | | powergrid= 1,100 MW |
− | + | | cpu= 500 tf | |
− | + | | capacitor= 3,000 GJ | |
− | + | ||
+ | | highs= 8 | ||
+ | | turrets= 3 | ||
+ | | launchers= 3 | ||
+ | | mediums= 7 | ||
+ | | lows= 3 | ||
+ | |||
+ | | mass= 13,000,000 kg | ||
+ | | volume= 216,000{{m3}} | ||
+ | |||
+ | | cargohold= 425{{m3}} | ||
+ | | extraholdtype= | ||
+ | | extrahold= | ||
+ | |||
+ | | dronebay= 100{{m3}} | ||
+ | | bandwidth= 50 Mbit/s | ||
+ | |||
+ | | quote= It feeds on me and in return, it yields knowledge, gifts, power. | ||
+ | | quote_attribution= The Deathless | ||
+ | | info= An amalgamation of Minmatar engineering, Caldari electronics and cutting edge bioinformatic technology, the Cenotaph is perfectly engineered for surprise strikes, deep behind enemy lines. <!-- source: image in ship information window changes in https://www.eveonline.com/news/view/revenant-expansion-notes --> | ||
+ | |||
+ | | bonuses= <b>Caldari Battlecruiser bonuses (per skill level):</b><br> | ||
+ | 7.5% bonus to Shield Booster amount<br> | ||
+ | <b>Minmatar Battlecruiser bonuses (per skill level):</b><br> | ||
+ | 5% bonus to ship Stasis Webifier resistance<br> | ||
+ | <b>Role Bonus:</b><br> | ||
+ | 100% bonus to Medium Projectile Turret and Heavy Assault Missile damage<br> | ||
+ | 50% bonus to Command Burst area of effect range<br> | ||
+ | 25% bonus to Medium Projectile Turret optimal range and falloff and Missile velocity<br> | ||
+ | • can fit one Medium Breacher Pod Launcher<br> | ||
+ | • can fit Covert Ops Cloaking Device<br> | ||
+ | 100% reduction in Cloaking Devices CPU requirement<br> | ||
+ | • cloak reactivation delay reduced to 15 seconds<br> | ||
+ | • immune to all cargo scanners | ||
+ | |||
+ | |||
+ | | structurehp= 6,000 HP | ||
+ | |||
+ | | armorhp= 5,000 HP | ||
+ | | armorem= 60 | ||
+ | | armortherm= 35 | ||
+ | | armorkin= 25 | ||
+ | | armorexp= 10 | ||
+ | |||
+ | | shieldhp= 8,000 HP | ||
+ | | shieldem= | ||
+ | | shieldtherm= 20 | ||
+ | | shieldkin= 40 | ||
+ | | shieldexp= 50 | ||
− | == | + | | maxvelocity= 160 m/sec |
− | + | | inertia= 0.6 | |
+ | | warpspeed= 2.70 AU/s | ||
+ | | warptime= 10.81 s | ||
− | + | | targetrange= 50 km | |
+ | | maxlockedtargets= 6 | ||
+ | | sigradius= 250 m | ||
+ | | scanres= 220 mm | ||
+ | | sensortype=LADAR | ||
+ | | sensorvalue= 25 | ||
+ | | reqskills= * {{RequiredSkill|Caldari Battlecruiser|II}} | ||
+ | ** {{RequiredSkill|Caldari Cruiser|III}} | ||
+ | *** {{RequiredSkill|Caldari Destroyer|III}} | ||
+ | **** {{RequiredSkill|Caldari Frigate|III}} | ||
+ | ***** {{RequiredSkill|Spaceship Command|I}} | ||
+ | *** {{RequiredSkill|Spaceship Command|II}} | ||
+ | ** {{RequiredSkill|Spaceship Command|III}} | ||
+ | * {{RequiredSkill|Minmatar Battlecruiser|II}} | ||
+ | ** {{RequiredSkill|Minmatar Cruiser|III}} | ||
+ | *** {{RequiredSkill|Minmatar Destroyer|III}} | ||
+ | **** {{RequiredSkill|Minmatar Frigate|III}} | ||
+ | ***** {{RequiredSkill|Spaceship Command|I}} | ||
+ | *** {{RequiredSkill|Spaceship Command|II}} | ||
+ | ** {{RequiredSkill|Spaceship Command|III}} | ||
+ | | totaltraintime= | ||
− | + | | forumlinks= | |
+ | | wikireferences= | ||
+ | | externallinks= | ||
+ | | highlights1= | ||
+ | | highlights2= | ||
+ | | highlights3= | ||
+ | | highlights4= | ||
+ | <!-- Overrides: Only to be used when automatic results are incorrect. Otherwise delete them. --> | ||
+ | | rigs_size= Medium <!-- Will be automatically when clear if class= is attack of combat battlecruiser --> | ||
+ | | rigs_calibration= 350 | ||
+ | }}</onlyinclude> <!-- Template marker : DON'T EDIT LINE --> | ||
− | + | == 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> | ||
− | |||
− | + | 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=" | + | {| 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 == | |
− | |||
− | |||
− | |||
− | |||
+ | {{Imageserver|types|82375|icon|size= 64}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | === subst and not === | |
+ | 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) | ||
− | + | === MessageBox inside Note box === | |
{{Note box|italics= no | {{Note box|italics= no | ||
|While running this mission inside Minmatar Republic space. | |While running this mission inside Minmatar Republic space. | ||
Message when jumping back to the agents solar system | Message when jumping back to the agents solar system | ||
− | {{MessageBox|[[File:Helpicon.png|20px|middle|link=|alt= | + | {{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 --> | |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 --> | ||
}} | }} | ||
Line 128: | Line 185: | ||
− | + | === CSS testing === | |
{{#css: | {{#css: | ||
ul.checkedList, ul.uncheckedList { | ul.checkedList, ul.uncheckedList { | ||
Line 170: | Line 227: | ||
− | "Complicated" table | + | === "Complicated" table === |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 319: | Line 376: | ||
| 333 333 | | 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> | ||
+ | |||
+ | |||
+ | {{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> | ||
+ | |||
+ | |||
+ | [[Crystal damage]] | ||
+ | |||
+ | {{Code|<nowiki>:<code>Life Expectancy (in cycles) = Structure Hitpoints / Volatility / Volatility Damage</code></nowiki>}} | ||
+ | :<code>Life Expectancy (in cycles) = Structure Hitpoints / Volatility / Volatility Damage</code> | ||
+ | |||
+ | {{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> |
Latest revision as of 15:31, 14 November 2024
Template being worked on
Original:
text before original § Test text after original.
Line after original.
Draft:
RELATED UNI-WIKI REFERENCES
|
It feeds on me and in return, it yields knowledge, gifts, power.
SHIP BONUSES
Caldari Battlecruiser bonuses (per skill level):
Ship Attributes
|
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.
{{Ship}} problem
Does this, testtooltip text stay inline?
Does this, testtooltip text stay inline?
Basic:
Does this,
Redeemer
Redeemer
Black Ops Armageddon Class
8 (0/6) 4 7
17,000 MW 505 tf
117 m/sec
800 m³
|
stay inline?
Inside a div:
Redeemer
Black Ops Armageddon Class
8 (0/6) 4 7
17,000 MW 505 tf
117 m/sec
800 m³
|
Inside a table:
Redeemer
Black Ops Armageddon Class
8 (0/6) 4 7
17,000 MW 505 tf
117 m/sec
800 m³
|
Redeemer
Black Ops Armageddon Class
8 (0/6) 4 7
17,000 MW 505 tf
117 m/sec
800 m³
|
Inside a span:
Does
this, Redeemer
Redeemer
Black Ops Armageddon Class
8 (0/6) 4 7
17,000 MW 505 tf
117 m/sec
800 m³
|
inline?
Inside the Co template:
Redeemer
Black Ops Armageddon Class
8 (0/6) 4 7
17,000 MW 505 tf
117 m/sec
800 m³
|
Inside p:
Does this, Redeemer
Redeemer
Black Ops Armageddon Class
8 (0/6) 4 7
17,000 MW 505 tf
117 m/sec
800 m³
|
stay inline?
When the sentence with the ship template is inside another element there is no problem. Hmm does not do so well inside <p>.
Test
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)
MessageBox inside Note box
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
- UniWiki:Editing commands visual guide#Math
- Wikipedia:MathML
- Wikipedia:Wikipedia:Manual_of_Style/Mathematics
- Wikipedia:Extension:SimpleMathJax
- Wikipedia:Help:Displaying a formula
- MathJax
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]
:<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]