Template:SurgerySteps

From Nova Sector 13
Revision as of 06:16, 14 July 2025 by GreytideSkye (talk | contribs) (You might ask yourself: who the fuck would make something so convoluted just to make another page less editable? Me. I would.)
Jump to navigation Jump to search
ERROR: NO SURGERY STEP 1.
Procedure

(Above should show ERROR: No surgery step 1, don't worry!)

The SurgerySteps template takes a carefully curated list of up to surgery_steps, which should each be a subpage of Template:SurgeryStep, e.g. Template:SurgeryStep/mechanic_wrench.

The arguments alternate between a SurgeryStep, and a string replacing the default text for the surgery step. Leave the description argument blank if you want to use the default text.

(Note that a few SurgerySteps do not support custom names, though I don't see a reason why they shouldn't.)

Thus, a simple two-step surgery consisting of a default mechanic_open and a custom-named pry_off_plating called "yank them open." would look like

{{Surgery|mechanic_open||pry_off_plating|yank them open.}}

which would render as:

mechanic_open

Invalid Surgery Location: pry_off_plating

Procedure
Step 1: Template:SurgeryStep/yank them open.

If you're going to stretch this across multiple lines, break the line before the pipe (the | symbol) instead of immediately after.

{{Surgery|mechanic_open|custom open text|

pry_off_plating|yank them open.}} will fail.

{{Surgery|mechanic_open|custom open text

|pry_off_plating|yank them open.}} will succeed.


Test of using all parameters. Step 3 should be the default text:

mechanic_wrench

a

Invalid Surgery Location: pry_off_plating

Procedure
Step 1: Template:SurgeryStep/b
Step 5: Template:SurgeryStep/d
Step 7: Template:SurgeryStep/e
Step 9: Template:SurgeryStep/f
Step 11: Template:SurgeryStep/g
Step 3: Template:SurgeryStep/h
Step 5: Template:SurgeryStep/i
Step 7: Template:SurgeryStep/j
Step 10: Template:SurgeryStep/k