Template:Surgery: Difference between revisions

From Nova Sector 13
Jump to navigation Jump to search
(flipped 2 arguments around because the existing page looks like that.)
m (test cases)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<onlyinclude>
<onlyinclude>{{{surrounder|==}}}{{{1|ERROR: No surgery name.}}}{{{surrounder|==}}}
{{{surrounder|==}}}{{{1|ERROR: No surgery name.}}}{{{surrounder|==}}}
 
{{{2|No description given.}}}
{{{2|No description given.}}}
{{SurgeryTarget|{{{3}}}}}
{{SurgeryTarget|{{{3}}}}}
{{SurgerySteps|{{{4|}}}
 
|{{{5|}}}
{{SurgerySteps|{{{4|}}}|{{{5|}}}
|{{{6|}}}
|{{{6|}}}|{{{7|}}}
|{{{7|}}}
|{{{8|}}}|{{{9|}}}
|{{{8|}}}
|{{{10|}}}|{{{11|}}}
|{{{9|}}}
|{{{12|}}}|{{{13|}}}
|{{{10|}}}
|{{{14|}}}|{{{15|}}}
|{{{11|}}}
|{{{16|}}}|{{{17|}}}
|{{{12|}}}
|{{{18|}}}|{{{19|}}}
|{{{13|}}}
|{{{20|}}}|{{{21|}}}
|{{{14|}}}
|{{{22|}}}|{{{23|}}}
|{{{15|}}}
|{{{24|}}}|{{{25|}}}}}</onlyinclude>
|{{{16|}}}
|{{{17|}}}
|{{{18|}}}
|{{{19|}}}
|{{{20|}}}
|{{{21|}}}
|{{{22|}}}
|{{{23|}}}
|{{{24|}}}}}</onlyinclude>


----
----
Line 52: Line 44:


=Test cases=
=Test cases=
<!-- https://github.com/NovaSector/NovaSector/tree/master/modular_nova/modules/synths/code/surgery -->
{{Surgery|Organ Manipulation|This surgery covers operations to remove/insert organs (brain, heart, appendix), '''lizard/cat tails''', and cyber implants.<br>The body part to target depends on which procedure you want to do.<br>See below for details about each procedure.
|various|mechanic_open||open_hatch||mechanic_unwrench|unwrench bolts step 3. '''(Head/Chest only)'''|prepare_electronics||manipulate_organs/internal/mechanic|remove something.
|hands|insert something.
|mechanic_wrench|wrench bolts. '''(Head/Chest only)'''
|mechanic_close|!!!}}


Below are several tests of various surgery locations.
Below are several tests of various surgery locations.
Line 57: Line 58:
{{Surgery|Chest Deflation|chest|This chest surgery means you have big honking chest and you honk it.|mechanic_wrench|honk it.|pry_off_plating}}
{{Surgery|Chest Deflation|chest|This chest surgery means you have big honking chest and you honk it.|mechanic_wrench|honk it.|pry_off_plating}}


{{Surgery|ii|eyes|eyy|mechanic_wrench}}
{{Surgery|ii|eyy|eyes|mechanic_wrench}}
{{Surgery|Spiderize Me, Cap'n!|leg|This one should look pretty broken, since it just demonstrates the surrounder can be put halfway in arguments without soiling the order|mechanic_wrench|leg them off at the pass.|pry_off_plating||pry_off_plating|cram that leg off|surrounder=!!|pry_off_plating|}}
{{Surgery|Spiderize Me, Cap'n|This one should look pretty broken, since it just demonstrates the surrounder can be put halfway in arguments without soiling the order|leg|mechanic_wrench|leg them off at the pass.|pry_off_plating||pry_off_plating|cram that leg off|surrounder=xXx|pry_off_plating|}}
{{Surgery|Arm Surgery|arm|eyy|mechanic_wrench}}
{{Surgery|Arm Surgery|arm thyself, physician|arm|mechanic_wrench}}

Latest revision as of 10:40, 14 July 2025

ERROR: No surgery name.

No description given.

Invalid Surgery Location: {{{3}}}

ERROR: NO SURGERY STEP 1.
Procedure

Usage

The Surgery template takes these parameters, in order:

  • Name of the surgery
  • Description of the surgery

Then, alternating pairs of:

  • A custom description for that surgery step which replaces the default text. Leave it blank to use the default description (you want to do this most of the time).

See Template:SurgerySteps for more specifics.

Optionally, named parameters: surrounder: By default, the template makes the surgery name be a Level 2 Heading, by surrounding it with ==. If surrounder is defined, that won't happen and instead the surgery name will be surrounded by this variable, on each side. I recommend ''' to bold the text. I can't promise that you can make the name be surrounded by nothing without MediaWiki thinking there's no parameter so it should use the default behavior.

and yes surrounder is a dumb name, it's 3am c'mon.


Test cases

Organ Manipulation

This surgery covers operations to remove/insert organs (brain, heart, appendix), lizard/cat tails, and cyber implants.
The body part to target depends on which procedure you want to do.
See below for details about each procedure.


Multiple locations

Procedure
Step 1: Screwdriver Screwdriver: unscrew the shell. Scalpel(75%) Kitchen Knife (50%) Any other sharp item (10%)
Step 2: Hands Hands: open the hatch.
Step 3: Wrench Wrench: unwrench bolts step 3. (Head/Chest only) Retractor (10%)
Step 4: Multitool Multitool: prepare electronics. Hemostat (10%)
Step 5: Crowbar Crowbar: remove something. Hemostat (100%) Fork (35%)
Step 6: Hands Hands: insert something.


Step 7: Wrench Wrench: wrench bolts. (Head/Chest only) Retractor (10%)
Step 8: Screwdriver Screwdriver: !!! Scalpel(75%) Kitchen Knife (50%) Any other sharp item (10%)


Below are several tests of various surgery locations.

Chest Deflation

chest

Invalid Surgery Location: This chest surgery means you have big honking chest and you honk it.

Procedure
Step 1: Wrench Wrench: honk it. Retractor (10%)
Step 2: Crowbar Crowbar: pry off plating. Hemostat (10%)

ii

eyy

Target: Eyes Target: Eyes

Procedure
Step 1: Wrench Wrench: wrench bolts. Retractor (10%)

xXxSpiderize Me, Cap'nxXx

This one should look pretty broken, since it just demonstrates the surrounder can be put halfway in arguments without soiling the order

Invalid Surgery Location: leg

Procedure
Step 1: Wrench Wrench: leg them off at the pass. Retractor (10%)
Step 2: Crowbar Crowbar: pry off plating. Hemostat (10%)
Step 3: Crowbar Crowbar: cram that leg off Hemostat (10%)
Step 4: Crowbar Crowbar: pry off plating. Hemostat (10%)

Arm Surgery

arm thyself, physician

Invalid Surgery Location: arm

Procedure
Step 1: Wrench Wrench: wrench bolts. Retractor (10%)